Interface ClusterApplier.ClusterApplyListener
- Enclosing interface:
- ClusterApplier
public static interface ClusterApplier.ClusterApplyListener
Listener for results of cluster state application
-
Method Summary
Modifier and TypeMethodDescriptionvoid
source, e)
Called on failure during cluster state applicationdefault void
source)
Called on successful cluster state application
-
Method Details
-
onSuccess
default void onSuccess( source)Called on successful cluster state application- Parameters:
source
- information where the cluster state came from
-
onFailure
void onFailure( source, e)Called on failure during cluster state application- Parameters:
source
- information where the cluster state came frome
- exception that occurred
-