@FunctionalInterface public interface InstanceCbServiceService<S> extends SerializableLambda
The type of the service passed in argument to the callback is defined by the "S" generic parameter.
Modifier and Type | Method and Description |
---|---|
void |
accept(S old,
S replace)
Handles the given argument
|
default InstanceCbServiceService<S> |
andThen(InstanceCbServiceService<S> after) |
void accept(S old, S replace)
old
- a Servicereplace
- a Servicedefault InstanceCbServiceService<S> andThen(InstanceCbServiceService<S> after)