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
-
-
-
-
Method Detail
-
timeout
public 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
public Priority priority()
Description copied from interface:ClusterStateTaskConfig
ThePriority
for this cluster state update task configuration.- Specified by:
priority
in interfaceClusterStateTaskConfig
- Returns:
- the priority
-
-