public class GridTaskSessionRequest extends Object implements Message
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()
public IgniteUuid getJobId()
public boolean writeTo(ByteBuffer buf, MessageWriter writer)
public boolean readFrom(ByteBuffer buf, MessageReader reader)
public byte directType()
directType
in interface Message
public byte fieldsCount()
fieldsCount
in interface Message
Follow @ApacheIgnite
Ignite Fabric : ver. 1.5.0.final Release Date : December 29 2015