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 Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Prioritypriority()ThePriorityfor this cluster state update task configuration.TimeValuetimeout()The timeout for this cluster state update task configuration.
-
-
-
Method Detail
-
timeout
public TimeValue timeout()
Description copied from interface:ClusterStateTaskConfigThe 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:
timeoutin interfaceClusterStateTaskConfig- Returns:
- the timeout, or null if one is not set
-
priority
public Priority priority()
Description copied from interface:ClusterStateTaskConfigThePriorityfor this cluster state update task configuration.- Specified by:
priorityin interfaceClusterStateTaskConfig- Returns:
- the priority
-
-