public class GridGgfsBlocksMessage extends GridGgfsCommunicationMessage
BIT_SET_NOT_READ, BOOLEAN_ARR_NOT_READ, BYTE_ARR_LIST_NOT_READ, BYTE_ARR_NOT_READ, CACHE_VER_NOT_READ, CHAR_ARR_NOT_READ, CLOCK_DELTA_VER_NOT_READ, commState, DHT_PART_EXCHANGE_ID_NOT_READ, DOUBLE_ARR_NOT_READ, DR_INT_REQ_ENTRY_NOT_READ, ENUM_NOT_READ, FLOAT_ARR_NOT_READ, GRID_UUID_NOT_READ, INT_ARR_NOT_READ, LONG_ARR_NOT_READ, LONG_LIST_NOT_READ, MSG_NOT_READ, NULL, SHORT_ARR_NOT_READ, STR_NOT_READ, UUID_NOT_READ, VAL_BYTES_NOT_READ| Constructor and Description |
|---|
GridGgfsBlocksMessage()
Empty constructor required by
Externalizable |
GridGgfsBlocksMessage(org.gridgain.grid.GridUuid fileId,
long id,
Map<GridGgfsBlockKey,byte[]> blocks)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Map<GridGgfsBlockKey,byte[]> |
blocks() |
org.gridgain.grid.util.direct.GridTcpCommunicationMessageAdapter |
clone() |
protected void |
clone0(org.gridgain.grid.util.direct.GridTcpCommunicationMessageAdapter _msg) |
byte |
directType() |
org.gridgain.grid.GridUuid |
fileId() |
long |
id() |
boolean |
readFrom(ByteBuffer buf) |
boolean |
writeTo(ByteBuffer buf) |
finishUnmarshal, prepareMarshalpublic GridGgfsBlocksMessage()
Externalizablepublic GridGgfsBlocksMessage(org.gridgain.grid.GridUuid fileId,
long id,
Map<GridGgfsBlockKey,byte[]> blocks)
fileId - File ID.id - Message id.blocks - Blocks to put in cache.public org.gridgain.grid.GridUuid fileId()
public long id()
public Map<GridGgfsBlockKey,byte[]> blocks()
public org.gridgain.grid.util.direct.GridTcpCommunicationMessageAdapter clone()
clone in class org.gridgain.grid.util.direct.GridTcpCommunicationMessageAdapterprotected void clone0(org.gridgain.grid.util.direct.GridTcpCommunicationMessageAdapter _msg)
clone0 in class GridGgfsCommunicationMessagepublic boolean writeTo(ByteBuffer buf)
writeTo in class GridGgfsCommunicationMessagepublic boolean readFrom(ByteBuffer buf)
readFrom in class GridGgfsCommunicationMessagepublic byte directType()
directType in class org.gridgain.grid.util.direct.GridTcpCommunicationMessageAdapterCopyright © 2014. All rights reserved.