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()
org.elasticsearch.common.unit.TimeValue
getTimeInQueue()
long
getTimeInQueueInMillis()
boolean
isExecuting()
void
writeTo(StreamOutput out)
Write this into the StreamOutput.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
PendingClusterTask
- Throws:
java.io.IOException
-
PendingClusterTask
-
-
Method Details
-
getInsertOrder
public long getInsertOrder() -
getPriority
-
getSource
-
getTimeInQueueInMillis
public long getTimeInQueueInMillis() -
getTimeInQueue
public org.elasticsearch.common.unit.TimeValue getTimeInQueue() -
isExecuting
public boolean isExecuting() -
writeTo
Description copied from interface:Writeable
Write this into the StreamOutput.
-