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
IOException
public String getNodeId()
public long getId()
public boolean isSet()
public void writeTo(StreamOutput out) throws IOException
Writeable
writeTo
in interface Writeable<TaskId>
IOException
public TaskId readFrom(StreamInput in) throws IOException
StreamableReader
readFrom
in interface StreamableReader<TaskId>
IOException
Copyright © 2009–2016. All rights reserved.