Enum RouterErrorCode

    • Enum Constant Detail

      • AmbryUnavailable

        public static final RouterErrorCode AmbryUnavailable
        Insufficient Ambry DataNodes could be contacted to successfully complete an operation. The caller should retry the operation. An operation that changes the state of an existing blob (delete) may have partially completed and so may eventually complete in the future.
      • OperationTimedOut

        public static final RouterErrorCode OperationTimedOut
        Operation did not complete within specified time out. The caller should retry the operation. An operation that changes the state of an existing blob (delete) may have partially completed and so may eventually complete in the future.
      • RouterClosed

        public static final RouterErrorCode RouterClosed
        Thrown when an operation is attempted after the Router is closed.
      • UnexpectedInternalError

        public static final RouterErrorCode UnexpectedInternalError
        Router experienced an unexpected internal error. The caller should retry the operation. An operation that changes the state of an existing blob (delete) may have partially completed and so may eventually complete in the future.
      • BlobTooLarge

        public static final RouterErrorCode BlobTooLarge
        Blob is too large. Cannot store blob of such size.
      • BadInputChannel

        public static final RouterErrorCode BadInputChannel
        Unexpected error reading from the input channel for puts.
      • InsufficientCapacity

        public static final RouterErrorCode InsufficientCapacity
        Insufficient capacity available in Ambry for object to be stored.
      • BlobDeleted

        public static final RouterErrorCode BlobDeleted
        Blob has been deleted and so cannot be retrieved.
      • BlobDoesNotExist

        public static final RouterErrorCode BlobDoesNotExist
        No Blob could be found for specified blob id.
      • BlobExpired

        public static final RouterErrorCode BlobExpired
        TTL of Blob has expired and so Blob cannot be retrieved.
      • RangeNotSatisfiable

        public static final RouterErrorCode RangeNotSatisfiable
        The range offsets provided for a getBlob operation are invalid for the specified blob.
      • ChannelClosed

        public static final RouterErrorCode ChannelClosed
        The channel returned to the user in a getBlob operation has been closed before operation completion.
      • BlobUpdateNotAllowed

        public static final RouterErrorCode BlobUpdateNotAllowed
        The update has been rejected
      • BlobAuthorizationFailure

        public static final RouterErrorCode BlobAuthorizationFailure
        ContainerId or AccountId from blobId doesn't match these in store server.
      • BlobUndeleted

        public static final RouterErrorCode BlobUndeleted
        Blob already undeleted so it can't not be undeleted again. Should delete this blob before undelete.
      • LifeVersionConflict

        public static final RouterErrorCode LifeVersionConflict
        LifeVersions from two responses are different. eg, undelete responses returns two different lifeVersions.
      • BlobNotDeleted

        public static final RouterErrorCode BlobNotDeleted
        Blob is not yet deleted. For undelete, a blob needs to be deleted first.
    • Method Detail

      • values

        public static RouterErrorCode[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (RouterErrorCode c : RouterErrorCode.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static RouterErrorCode valueOf​(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null