Package org.apache.ignite.internal
Class GridJobSiblingsResponse
- java.lang.Object
-
- org.apache.ignite.internal.GridJobSiblingsResponse
-
- All Implemented Interfaces:
Serializable,Message
public class GridJobSiblingsResponse extends Object implements Message
Job siblings response.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from interface org.apache.ignite.plugin.extensions.communication.Message
DIRECT_TYPE_SIZE
-
-
Constructor Summary
Constructors Constructor Description GridJobSiblingsResponse()Empty constructor required byExternalizable.GridJobSiblingsResponse(@Nullable Collection<ComputeJobSibling> siblings, @org.jetbrains.annotations.Nullable byte[] siblingsBytes)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description shortdirectType()Gets message type.bytefieldsCount()Gets fields count.Collection<ComputeJobSibling>jobSiblings()voidonAckReceived()Method called when ack message received.booleanreadFrom(ByteBuffer buf, MessageReader reader)Reads this message from provided byte buffer.StringtoString()voidunmarshalSiblings(Marshaller marsh)booleanwriteTo(ByteBuffer buf, MessageWriter writer)Writes this message to provided byte buffer.
-
-
-
Constructor Detail
-
GridJobSiblingsResponse
public GridJobSiblingsResponse()
Empty constructor required byExternalizable.
-
GridJobSiblingsResponse
public GridJobSiblingsResponse(@Nullable @Nullable Collection<ComputeJobSibling> siblings, @Nullable @org.jetbrains.annotations.Nullable byte[] siblingsBytes)- Parameters:
siblings- Siblings.siblingsBytes- Serialized siblings.
-
-
Method Detail
-
jobSiblings
public Collection<ComputeJobSibling> jobSiblings()
- Returns:
- Job siblings.
-
unmarshalSiblings
public void unmarshalSiblings(Marshaller marsh) throws IgniteCheckedException
- Parameters:
marsh- Marshaller.- Throws:
IgniteCheckedException- In case of error.
-
onAckReceived
public void onAckReceived()
Method called when ack message received.- Specified by:
onAckReceivedin interfaceMessage
-
writeTo
public boolean writeTo(ByteBuffer buf, MessageWriter writer)
Writes this message to provided byte buffer.
-
readFrom
public boolean readFrom(ByteBuffer buf, MessageReader reader)
Reads this message from provided byte buffer.
-
directType
public short directType()
Gets message type.- Specified by:
directTypein interfaceMessage- Returns:
- Message type.
-
fieldsCount
public byte fieldsCount()
Gets fields count.- Specified by:
fieldsCountin interfaceMessage- Returns:
- Fields count.
-
-