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 Messagepublic byte fieldsCount()
fieldsCount in interface Messagepublic void onAckReceived()
onAckReceived in interface Messagepublic void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizableIOExceptionpublic void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal in interface ExternalizableIOExceptionClassNotFoundException
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.8.0 Release Date : February 27 2020