public interface ClusterStateTaskListener
Modifier and Type | Method and Description |
---|---|
void |
clusterStateProcessed(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(String source,
Throwable t)
A callback called when execute fails.
|
void |
onNoLongerMaster(String source)
called when the task was rejected because the local node is no longer master
|
void onNoLongerMaster(String source)
void clusterStateProcessed(String source, ClusterState oldState, ClusterState newState)
ClusterStateTaskExecutor.execute(ClusterState, List)
have been processed
properly by all listeners.Copyright © 2009–2016. All rights reserved.