Class PendingClusterTask
java.lang.Object
org.elasticsearch.cluster.service.PendingClusterTask
- All Implemented Interfaces:
Writeable
public class PendingClusterTask extends java.lang.Object implements Writeable
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V> -
Constructor Summary
Constructors Constructor Description PendingClusterTask(long insertOrder, Priority priority, Text source, long timeInQueue, boolean executing)PendingClusterTask(StreamInput in) -
Method Summary
Modifier and Type Method Description longgetInsertOrder()PrioritygetPriority()TextgetSource()TimeValuegetTimeInQueue()longgetTimeInQueueInMillis()booleanisExecuting()voidwriteTo(StreamOutput out)Write this into the StreamOutput.
-
Constructor Details
-
PendingClusterTask
- Throws:
java.io.IOException
-
PendingClusterTask
-
-
Method Details
-
getInsertOrder
public long getInsertOrder() -
getPriority
-
getSource
-
getTimeInQueueInMillis
public long getTimeInQueueInMillis() -
getTimeInQueue
-
isExecuting
public boolean isExecuting() -
writeTo
Description copied from interface:WriteableWrite this into the StreamOutput.
-