public class BucketErrorCode extends ErrorCode
Modifier and Type | Field and Description |
---|---|
static BucketErrorCode |
HARDCAPACITY_EXCEEDED
Object was not inserted because the hard-capacity has been exceeded.
|
static BucketErrorCode |
LOWOCCUPATION_EXCEEDED
Object has been deleted but the current capacity is less than the minimal required one (low-occupation has been reached).
|
static BucketErrorCode |
OBJECT_DELETED
Object has been deleted successfully.
|
static BucketErrorCode |
OBJECT_DUPLICATE
Object was not inserted because its copy is already present.
|
static BucketErrorCode |
OBJECT_INSERTED
Object has been successfully inserted causing no capacity overflow.
|
static BucketErrorCode |
OBJECT_NOT_FOUND
Object cannot be deleted because it is not present.
|
static BucketErrorCode |
OBJECT_REFUSED
Object cannot be inserted due to some limits of structure.
|
static BucketErrorCode |
SOFTCAPACITY_EXCEEDED
Object has been inserted but the soft-capacity has been reached.
|
static BucketErrorCode |
SOME_OBJECT_NOT_FOUND
Some of the objects cannot be deleted because it is not present.
|
static BucketErrorCode |
SOME_OBJECTS_INSERTED
Some object have been successfully inserted, but some failed.
|
static BucketErrorCode |
STORAGE_FAILURE
Object has not been stored, removed or read due to lower layer storage exception.
|
NOT_SET, UNKNOWN_ERROR
Constructor and Description |
---|
BucketErrorCode(java.lang.String text)
Creates a new instance of BucketErrorCode, i.e. a new error code.
|
public static BucketErrorCode OBJECT_INSERTED
public static BucketErrorCode SOME_OBJECTS_INSERTED
public static BucketErrorCode OBJECT_REFUSED
public static BucketErrorCode OBJECT_DUPLICATE
public static BucketErrorCode SOFTCAPACITY_EXCEEDED
public static BucketErrorCode HARDCAPACITY_EXCEEDED
public static BucketErrorCode OBJECT_DELETED
public static BucketErrorCode OBJECT_NOT_FOUND
public static BucketErrorCode SOME_OBJECT_NOT_FOUND
public static BucketErrorCode LOWOCCUPATION_EXCEEDED
public static BucketErrorCode STORAGE_FAILURE