public class IgfsFragmentizerRequest extends IgfsCommunicationMessage
| Constructor and Description |
|---|
IgfsFragmentizerRequest()
Empty constructor required by
Externalizable. |
IgfsFragmentizerRequest(IgniteUuid fileId,
Collection<IgfsFileAffinityRange> fragmentRanges) |
| Modifier and Type | Method and Description |
|---|---|
byte |
directType()
Gets message type.
|
byte |
fieldsCount()
Gets fields count.
|
IgniteUuid |
fileId() |
Collection<IgfsFileAffinityRange> |
fragmentRanges() |
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.
|
finishUnmarshal, prepareMarshalpublic IgfsFragmentizerRequest()
Externalizable.public IgfsFragmentizerRequest(IgniteUuid fileId, Collection<IgfsFileAffinityRange> fragmentRanges)
fileId - File id to fragment.fragmentRanges - Ranges to fragment.public IgniteUuid fileId()
public Collection<IgfsFileAffinityRange> fragmentRanges()
public boolean writeTo(ByteBuffer buf, MessageWriter writer)
writeTo in interface MessagewriteTo in class IgfsCommunicationMessagebuf - Byte buffer.writer - Writer.public boolean readFrom(ByteBuffer buf, MessageReader reader)
readFrom in interface MessagereadFrom in class IgfsCommunicationMessagebuf - Byte buffer.reader - Reader.public byte directType()
public byte fieldsCount()
fieldsCount in interface MessagefieldsCount in class IgfsCommunicationMessage
Follow @ApacheIgnite
Ignite Fabric : ver. 1.0.0 Release Date : March 31 2015