public class PendingClusterTask extends java.lang.Object implements Streamable
| Constructor and Description |
|---|
PendingClusterTask() |
PendingClusterTask(long insertOrder,
Priority priority,
Text source,
long timeInQueue,
boolean executing) |
| Modifier and Type | Method and 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.
|
public 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