| Modifier and Type | Field and Description |
|---|---|
static TaskId |
EMPTY_TASK_ID |
| Constructor and Description |
|---|
TaskId(StreamInput in) |
TaskId(String taskId) |
TaskId(String nodeId,
long id) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
long |
getId() |
String |
getNodeId() |
int |
hashCode() |
boolean |
isSet() |
TaskId |
readFrom(StreamInput in)
Reads a copy of an object with the same type form the stream input
The caller object remains unchanged.
|
String |
toString() |
void |
writeTo(StreamOutput out)
Writes the current object into the output stream out
|
public static final TaskId EMPTY_TASK_ID
public TaskId(String nodeId, long id)
public TaskId(String taskId)
public TaskId(StreamInput in) throws IOException
IOExceptionpublic String getNodeId()
public long getId()
public boolean isSet()
public void writeTo(StreamOutput out) throws IOException
WriteablewriteTo in interface Writeable<TaskId>IOExceptionpublic TaskId readFrom(StreamInput in) throws IOException
StreamableReaderreadFrom in interface StreamableReader<TaskId>IOExceptionCopyright © 2009–2017. All rights reserved.