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 long
getInsertOrder()
Priority
getPriority()
Text
getSource()
TimeValue
getTimeInQueue()
long
getTimeInQueueInMillis()
boolean
isExecuting()
void
writeTo(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:Writeable
Write this into the StreamOutput.
-