| Package | Description |
|---|---|
| tachyon.worker |
| Modifier and Type | Method and Description |
|---|---|
static DataServerMessage |
DataServerMessage.createBlockRequestMessage()
Creates a default block request message, just allocates the message header, and no attribute is
set.
|
static DataServerMessage |
DataServerMessage.createBlockRequestMessage(long blockId)
Creates a block request message for an entire block by the block id, and the message is ready
to be sent.
|
static DataServerMessage |
DataServerMessage.createBlockRequestMessage(long blockId,
long offset,
long len)
Creates a block request message for a part of the block by the block id, the offset and the
length.
|
static DataServerMessage |
DataServerMessage.createBlockResponseMessage(boolean toSend,
long blockId,
ByteBuffer data)
Creates a block response message specified by the block's id.
|
static DataServerMessage |
DataServerMessage.createBlockResponseMessage(boolean toSend,
long blockId,
long offset,
long len,
ByteBuffer data)
Creates a block response message specified by the block's id, the offset and the length.
|
Copyright © 2015. All Rights Reserved.