Interface ClusterApplier.ClusterApplyListener
-
- Enclosing interface:
- ClusterApplier
public static interface ClusterApplier.ClusterApplyListener
Listener for results of cluster state application
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description void
onFailure(java.lang.String source, java.lang.Exception e)
Called on failure during cluster state applicationdefault void
onSuccess(java.lang.String source)
Called on successful cluster state application
-
-
-
Method Detail
-
onSuccess
default void onSuccess(java.lang.String source)
Called on successful cluster state application- Parameters:
source
- information where the cluster state came from
-
onFailure
void onFailure(java.lang.String source, java.lang.Exception e)
Called on failure during cluster state application- Parameters:
source
- information where the cluster state came frome
- exception that occurred
-
-