Streamablepublic class PendingClusterTask extends java.lang.Object implements Streamable
| Constructor | Description |
|---|---|
PendingClusterTask() |
|
PendingClusterTask(long insertOrder,
Priority priority,
Text source,
long timeInQueue,
boolean executing) |
| Modifier and Type | Method | Description |
|---|---|---|
long |
getInsertOrder() |
|
Priority |
getPriority() |
|
Text |
getSource() |
|
TimeValue |
getTimeInQueue() |
|
long |
getTimeInQueueInMillis() |
|
boolean |
isExecuting() |
|
void |
readFrom(StreamInput in) |
Set this object's fields from a StreamInput.
|
void |
writeTo(StreamOutput out) |
Write this object's fields to a StreamOutput.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitnewWriteableReaderpublic long getInsertOrder()
public Priority getPriority()
public Text getSource()
public long getTimeInQueueInMillis()
public TimeValue getTimeInQueue()
public boolean isExecuting()
public void readFrom(StreamInput in) throws java.io.IOException
StreamablereadFrom in interface Streamablejava.io.IOExceptionpublic void writeTo(StreamOutput out) throws java.io.IOException
StreamablewriteTo in interface Streamablejava.io.IOException