public enum RouterErrorCode extends java.lang.Enum<RouterErrorCode>
RouterException
.Enum Constant and Description |
---|
AmbryUnavailable
Insufficient Ambry DataNodes could be contacted to successfully complete an operation.
|
BadInputChannel
Unexpected error reading from the input channel for puts.
|
BlobAuthorizationFailure
ContainerId or AccountId from blobId doesn't match these in store server.
|
BlobDeleted
Blob has been deleted and so cannot be retrieved.
|
BlobDoesNotExist
No Blob could be found for specified blob id.
|
BlobExpired
TTL of Blob has expired and so Blob cannot be retrieved.
|
BlobNotDeleted
Blob is not yet deleted.
|
BlobTooLarge
Blob is too large.
|
BlobUndeleted
Blob already undeleted so it can't not be undeleted again.
|
BlobUpdateNotAllowed
The update has been rejected
|
ChannelClosed
The channel returned to the user in a getBlob operation has been closed before operation completion.
|
InsufficientCapacity
Insufficient capacity available in Ambry for object to be stored.
|
InvalidBlobId
Caller passed in an invalid blob id and so operation could not be attempted.
|
InvalidPutArgument
Caller passed in an illegal argument for
Router.putBlob(com.github.ambry.messageformat.BlobProperties, byte[], ReadableStreamChannel, PutBlobOptions)
operation (and its variant). |
LifeVersionConflict
LifeVersions from two responses are different.
|
OperationTimedOut
Operation did not complete within specified time out.
|
RangeNotSatisfiable
The range offsets provided for a getBlob operation are invalid for the specified blob.
|
RouterClosed
Thrown when an operation is attempted after the
Router is closed. |
UnexpectedInternalError
Router experienced an unexpected internal error.
|
Modifier and Type | Method and Description |
---|---|
static RouterErrorCode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RouterErrorCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RouterErrorCode AmbryUnavailable
public static final RouterErrorCode InvalidBlobId
Router.getBlob(String, GetBlobOptions)
, Router.deleteBlob(String, String)
(and their variants) operations.public static final RouterErrorCode InvalidPutArgument
Router.putBlob(com.github.ambry.messageformat.BlobProperties, byte[], ReadableStreamChannel, PutBlobOptions)
operation (and its variant).public static final RouterErrorCode OperationTimedOut
public static final RouterErrorCode RouterClosed
Router
is closed.public static final RouterErrorCode UnexpectedInternalError
public static final RouterErrorCode BlobTooLarge
public static final RouterErrorCode BadInputChannel
public static final RouterErrorCode InsufficientCapacity
public static final RouterErrorCode BlobDeleted
public static final RouterErrorCode BlobDoesNotExist
public static final RouterErrorCode BlobExpired
public static final RouterErrorCode RangeNotSatisfiable
public static final RouterErrorCode ChannelClosed
public static final RouterErrorCode BlobUpdateNotAllowed
public static final RouterErrorCode BlobAuthorizationFailure
public static final RouterErrorCode BlobUndeleted
public static final RouterErrorCode LifeVersionConflict
public static final RouterErrorCode BlobNotDeleted
public static RouterErrorCode[] values()
for (RouterErrorCode c : RouterErrorCode.values()) System.out.println(c);
public static RouterErrorCode valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null