Package org.elasticsearch.cluster
Class ClusterStateTaskConfig.Basic
java.lang.Object
org.elasticsearch.cluster.ClusterStateTaskConfig.Basic
- All Implemented Interfaces:
ClusterStateTaskConfig
- Enclosing interface:
- ClusterStateTaskConfig
public static class ClusterStateTaskConfig.Basic extends java.lang.Object implements ClusterStateTaskConfig
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.elasticsearch.cluster.ClusterStateTaskConfig
ClusterStateTaskConfig.Basic
-
Constructor Summary
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Basic
-
-
Method Details
-
timeout
public org.elasticsearch.common.unit.TimeValue timeout()Description copied from interface:ClusterStateTaskConfig
The timeout for this cluster state update task configuration. If the cluster state update task isn't processed within this timeout, the associatedClusterStateTaskListener.onFailure(String, Exception)
is invoked.- Specified by:
timeout
in interfaceClusterStateTaskConfig
- Returns:
- the timeout, or null if one is not set
-
priority
Description copied from interface:ClusterStateTaskConfig
ThePriority
for this cluster state update task configuration.- Specified by:
priority
in interfaceClusterStateTaskConfig
- Returns:
- the priority
-