public static class ShardStateAction.ShardFailedClusterStateTaskExecutor extends java.lang.Object implements ClusterStateTaskExecutor<ShardStateAction.ShardEntry>
ClusterStateTaskExecutor.BatchResult<T>, ClusterStateTaskExecutor.TaskResult
Constructor and Description |
---|
ShardFailedClusterStateTaskExecutor(AllocationService allocationService,
RoutingService routingService,
org.apache.logging.log4j.Logger logger) |
Modifier and Type | Method and Description |
---|---|
void |
clusterStatePublished(ClusterChangedEvent clusterChangedEvent)
Callback invoked after new cluster state is published.
|
ClusterStateTaskExecutor.BatchResult<ShardStateAction.ShardEntry> |
execute(ClusterState currentState,
java.util.List<ShardStateAction.ShardEntry> tasks)
Update the cluster state based on the current state and the given tasks.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
describeTasks, runOnlyOnMaster
public ShardFailedClusterStateTaskExecutor(AllocationService allocationService, RoutingService routingService, org.apache.logging.log4j.Logger logger)
public ClusterStateTaskExecutor.BatchResult<ShardStateAction.ShardEntry> execute(ClusterState currentState, java.util.List<ShardStateAction.ShardEntry> tasks) throws java.lang.Exception
ClusterStateTaskExecutor
execute
in interface ClusterStateTaskExecutor<ShardStateAction.ShardEntry>
java.lang.Exception
public void clusterStatePublished(ClusterChangedEvent clusterChangedEvent)
ClusterStateTaskExecutor
clusterStatePublished
in interface ClusterStateTaskExecutor<ShardStateAction.ShardEntry>
clusterChangedEvent
- the change event for this cluster state change, containing
both old and new states