Class PendingClusterTask
- java.lang.Object
-
- org.elasticsearch.cluster.service.PendingClusterTask
-
- All Implemented Interfaces:
Streamable
public class PendingClusterTask extends java.lang.Object implements Streamable
-
-
Constructor Summary
Constructors Constructor Description PendingClusterTask()PendingClusterTask(long insertOrder, Priority priority, Text source, long timeInQueue, boolean executing)
-
Method Summary
Modifier and Type Method Description longgetInsertOrder()PrioritygetPriority()TextgetSource()TimeValuegetTimeInQueue()longgetTimeInQueueInMillis()booleanisExecuting()voidreadFrom(StreamInput in)Set this object's fields from a StreamInput.voidwriteTo(StreamOutput out)Write this object's fields to a StreamOutput.
-
-
-
Method Detail
-
getInsertOrder
public long getInsertOrder()
-
getPriority
public Priority getPriority()
-
getSource
public Text getSource()
-
getTimeInQueueInMillis
public long getTimeInQueueInMillis()
-
getTimeInQueue
public TimeValue getTimeInQueue()
-
isExecuting
public boolean isExecuting()
-
readFrom
public void readFrom(StreamInput in) throws java.io.IOException
Description copied from interface:StreamableSet this object's fields from a StreamInput.- Specified by:
readFromin interfaceStreamable- Throws:
java.io.IOException
-
writeTo
public void writeTo(StreamOutput out) throws java.io.IOException
Description copied from interface:StreamableWrite this object's fields to a StreamOutput.- Specified by:
writeToin interfaceStreamable- Throws:
java.io.IOException
-
-