Class PendingClusterTask
java.lang.Object
org.elasticsearch.cluster.service.PendingClusterTask
- All Implemented Interfaces:
Writeable
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V>
-
Constructor Summary
ConstructorDescriptionPendingClusterTask(long insertOrder, Priority priority, Text source, long timeInQueue, boolean executing)
-
Method Summary
Modifier and TypeMethodDescriptionlong
org.elasticsearch.core.TimeValue
long
boolean
void
writeTo(StreamOutput out)
Write this into the StreamOutput.
-
Constructor Details
-
PendingClusterTask
- Throws:
IOException
-
PendingClusterTask
-
-
Method Details
-
getInsertOrder
public long getInsertOrder() -
getPriority
-
getSource
-
getTimeInQueueInMillis
public long getTimeInQueueInMillis() -
getTimeInQueue
public org.elasticsearch.core.TimeValue getTimeInQueue() -
isExecuting
public boolean isExecuting() -
writeTo
Description copied from interface:Writeable
Write this into the StreamOutput.- Specified by:
writeTo
in interfaceWriteable
- Throws:
IOException
-