public abstract class ProcessedClusterStateNonMasterUpdateTask extends ProcessedClusterStateUpdateTask
ProcessedClusterStateUpdateTask and
ClusterStateNonMasterUpdateTask to allow easy creation of anonymous classes| Constructor and Description |
|---|
ProcessedClusterStateNonMasterUpdateTask() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
runOnlyOnMaster()
indicates whether this task should only run if current node is master
|
clusterStateProcessedexecute, onFailure, onNoLongerMasterpublic ProcessedClusterStateNonMasterUpdateTask()
public boolean runOnlyOnMaster()
ClusterStateUpdateTaskrunOnlyOnMaster in class ClusterStateUpdateTaskCopyright © 2009–2016. All rights reserved.