public class HadoopJobId extends Object implements Message, GridCacheInternal, Externalizable
DIRECT_TYPE_SIZE
Constructor and Description |
---|
HadoopJobId()
For
Externalizable . |
HadoopJobId(UUID nodeId,
int jobId) |
Modifier and Type | Method and Description |
---|---|
short |
directType()
Gets message type.
|
boolean |
equals(Object o) |
byte |
fieldsCount()
Gets fields count.
|
UUID |
globalId() |
int |
hashCode() |
int |
localId() |
void |
onAckReceived()
Method called when ack message received.
|
void |
readExternal(ObjectInput in) |
boolean |
readFrom(ByteBuffer buf,
MessageReader reader)
Reads this message from provided byte buffer.
|
String |
toString() |
void |
writeExternal(ObjectOutput out) |
boolean |
writeTo(ByteBuffer buf,
MessageWriter writer)
Writes this message to provided byte buffer.
|
public HadoopJobId()
Externalizable
.public HadoopJobId(UUID nodeId, int jobId)
nodeId
- Node ID.jobId
- Job ID.public UUID globalId()
public int localId()
public boolean writeTo(ByteBuffer buf, MessageWriter writer)
public boolean readFrom(ByteBuffer buf, MessageReader reader)
public short directType()
directType
in interface Message
public byte fieldsCount()
fieldsCount
in interface Message
public void onAckReceived()
onAckReceived
in interface Message
public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
IOException
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
IOException
ClassNotFoundException
Follow @ApacheIgnite
Ignite Fabric : ver. 2.0.0 Release Date : April 30 2017