| Package | Description |
|---|---|
| tachyon.network.protocol | |
| tachyon.worker |
| Modifier and Type | Method and Description |
|---|---|
static RPCResponse.Status |
RPCResponse.Status.fromShort(short id)
Returns the
RPCResponse.Status represented by the short. |
RPCResponse.Status |
RPCErrorResponse.getStatus() |
RPCResponse.Status |
RPCBlockWriteResponse.getStatus() |
RPCResponse.Status |
RPCBlockReadResponse.getStatus() |
static RPCResponse.Status |
RPCResponse.Status.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RPCResponse.Status[] |
RPCResponse.Status.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
static RPCBlockReadResponse |
RPCBlockReadResponse.createErrorResponse(RPCBlockReadRequest request,
RPCResponse.Status status)
Creates a
RPCBlockReadResponse object that indicates an error for the given
RPCBlockReadRequest. |
static RPCBlockWriteResponse |
RPCBlockWriteResponse.createErrorResponse(RPCBlockWriteRequest request,
RPCResponse.Status status)
Creates a
RPCBlockWriteResponse object that indicates an error for the given
RPCBlockWriteRequest. |
| Constructor and Description |
|---|
RPCBlockReadResponse(long blockId,
long offset,
long length,
DataBuffer data,
RPCResponse.Status status) |
RPCBlockWriteResponse(long sessionId,
long blockId,
long offset,
long length,
RPCResponse.Status status) |
RPCErrorResponse(RPCResponse.Status status) |
| Modifier and Type | Method and Description |
|---|---|
RPCResponse.Status |
DataServerMessage.getStatus()
Gets the status of the response.
|
Copyright © 2015. All Rights Reserved.