Package | Description |
---|---|
alluxio | |
alluxio.exception.status | |
alluxio.network.protocol |
Modifier and Type | Method and Description |
---|---|
Status |
RestUtils.ErrorResponse.getStatus() |
Constructor and Description |
---|
ErrorResponse(Status status,
String message)
Creates a new
RestUtils.ErrorResponse . |
Modifier and Type | Method and Description |
---|---|
static Status |
Status.fromProto(Status.PStatus status)
Creates a
Status from a protocol buffer type status. |
static Status |
Status.fromThrift(TStatus status)
Creates a
Status from a Thrift type status. |
Status |
AlluxioStatusException.getStatus() |
static Status |
Status.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Status[] |
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 AlluxioStatusException |
AlluxioStatusException.from(Status status,
String m)
Converts an Alluxio exception from status and message representation to native representation.
|
static Status.PStatus |
Status.toProto(Status status)
Converts an internal exception status to a protocol buffer type status.
|
static TStatus |
Status.toThrift(Status status)
Converts an internal exception status to a Thrift type status.
|
Constructor and Description |
---|
AlluxioStatusException(Status status,
String message) |
AlluxioStatusException(Status status,
String message,
Throwable cause) |
AlluxioStatusException(Status status,
Throwable cause) |
Modifier and Type | Method and Description |
---|---|
static RPCProtoMessage |
RPCProtoMessage.createResponse(Status status,
String message,
DataBuffer data)
Creates a response for a given status, message, and data buffer.
|
Copyright © 2023. All Rights Reserved.