public class GridJobSiblingsResponse extends Object implements Message
Constructor and Description |
---|
GridJobSiblingsResponse()
Empty constructor required by
Externalizable . |
GridJobSiblingsResponse(Collection<ComputeJobSibling> siblings,
byte[] siblingsBytes) |
Modifier and Type | Method and Description |
---|---|
byte |
directType()
Gets message type.
|
byte |
fieldsCount()
Gets fields count.
|
Collection<ComputeJobSibling> |
jobSiblings() |
boolean |
readFrom(ByteBuffer buf,
MessageReader reader)
Reads this message from provided byte buffer.
|
String |
toString() |
void |
unmarshalSiblings(Marshaller marsh) |
boolean |
writeTo(ByteBuffer buf,
MessageWriter writer)
Writes this message to provided byte buffer.
|
public GridJobSiblingsResponse()
Externalizable
.public GridJobSiblingsResponse(@Nullable Collection<ComputeJobSibling> siblings, @Nullable byte[] siblingsBytes)
siblings
- Siblings.siblingsBytes
- Serialized siblings.public Collection<ComputeJobSibling> jobSiblings()
public void unmarshalSiblings(Marshaller marsh) throws IgniteCheckedException
marsh
- Marshaller.IgniteCheckedException
- In case of error.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