public class GridTaskSessionRequest extends Object implements Message
DIRECT_TYPE_SIZE
Constructor and Description |
---|
GridTaskSessionRequest()
Empty constructor required by
Externalizable . |
GridTaskSessionRequest(IgniteUuid sesId,
IgniteUuid jobId,
byte[] attrsBytes,
Map<?,?> attrs) |
Modifier and Type | Method and Description |
---|---|
short |
directType()
Gets message type.
|
byte |
fieldsCount()
Gets fields count.
|
Map<?,?> |
getAttributes() |
byte[] |
getAttributesBytes() |
IgniteUuid |
getJobId() |
IgniteUuid |
getSessionId() |
void |
onAckReceived()
Method called when ack message received.
|
boolean |
readFrom(ByteBuffer buf,
MessageReader reader)
Reads this message from provided byte buffer.
|
String |
toString() |
boolean |
writeTo(ByteBuffer buf,
MessageWriter writer)
Writes this message to provided byte buffer.
|
public GridTaskSessionRequest()
Externalizable
.public GridTaskSessionRequest(IgniteUuid sesId, IgniteUuid jobId, byte[] attrsBytes, Map<?,?> attrs)
sesId
- Session ID.jobId
- Job ID.attrsBytes
- Serialized attributes.attrs
- Attributes.public byte[] getAttributesBytes()
public Map<?,?> getAttributes()
public IgniteUuid getSessionId()
public IgniteUuid getJobId()
public void onAckReceived()
onAckReceived
in interface Message
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
Follow @ApacheIgnite
Ignite Fabric : ver. 2.0.0 Release Date : April 30 2017