Package | Description |
---|---|
tachyon.worker |
Modifier and Type | Method and Description |
---|---|
static DataServerMessage |
DataServerMessage.createBlockRequestMessage()
Create a default block request message, just allocate the message header, and no attribute is
set.
|
static DataServerMessage |
DataServerMessage.createBlockRequestMessage(long blockId)
Create a block request message specified by the block's id, and the message is ready to be
sent.
|
static DataServerMessage |
DataServerMessage.createBlockRequestMessage(long blockId,
long offset,
long len)
Create a block request message specified by the block's id, the offset and the length.
|
static DataServerMessage |
DataServerMessage.createBlockResponseMessage(boolean toSend,
long blockId)
Create a block response message specified by the block's id.
|
static DataServerMessage |
DataServerMessage.createBlockResponseMessage(boolean toSend,
long blockId,
long offset,
long len)
Create a block response message specified by the block's id, the offset and the length.
|
Copyright © 2014. All rights reserved.