public class GridTaskSessionRequest extends Object implements Message, GridTaskMessage
| Constructor and Description |
|---|
GridTaskSessionRequest()
Empty constructor required by
Externalizable. |
GridTaskSessionRequest(IgniteUuid sesId,
IgniteUuid jobId,
byte[] attrsBytes,
Map<?,?> attrs) |
| Modifier and Type | Method and Description |
|---|---|
byte |
directType()
Gets message type.
|
byte |
fieldsCount()
Gets fields count.
|
Map<?,?> |
getAttributes() |
byte[] |
getAttributesBytes() |
IgniteUuid |
getJobId() |
IgniteUuid |
getSessionId() |
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()
getSessionId in interface GridTaskMessagepublic IgniteUuid getJobId()
public boolean writeTo(ByteBuffer buf, MessageWriter writer)
public boolean readFrom(ByteBuffer buf, MessageReader reader)
public byte directType()
directType in interface Messagepublic byte fieldsCount()
fieldsCount in interface Message
Follow @ApacheIgnite
Ignite Fabric : ver. 1.0.0-RC3 Release Date : March 24 2015