public interface ClusterStateTaskListener
Modifier and Type | Method and Description |
---|---|
default void |
clusterStateProcessed(java.lang.String source,
ClusterState oldState,
ClusterState newState)
Called when the result of the
ClusterStateTaskExecutor.execute(ClusterState, List) have been processed
properly by all listeners. |
void |
onFailure(java.lang.String source,
java.lang.Exception e)
A callback called when execute fails.
|
default void |
onNoLongerMaster(java.lang.String source)
called when the task was rejected because the local node is no longer master.
|
void onFailure(java.lang.String source, java.lang.Exception e)
default void onNoLongerMaster(java.lang.String source)
MasterService
.default void clusterStateProcessed(java.lang.String source, ClusterState oldState, ClusterState newState)
ClusterStateTaskExecutor.execute(ClusterState, List)
have been processed
properly by all listeners.