Package | Description |
---|---|
messif.buckets |
Storage classes capable of holding
objects . |
messif.netbucket |
Networked objects and buckets.
|
Modifier and Type | Field and Description |
---|---|
static BucketErrorCode |
BucketErrorCode.HARDCAPACITY_EXCEEDED
Object was not inserted because the hard-capacity has been exceeded.
|
static BucketErrorCode |
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 |
BucketErrorCode.OBJECT_DELETED
Object has been deleted successfully.
|
static BucketErrorCode |
BucketErrorCode.OBJECT_DUPLICATE
Object was not inserted because its copy is already present.
|
static BucketErrorCode |
BucketErrorCode.OBJECT_INSERTED
Object has been successfully inserted causing no capacity overflow.
|
static BucketErrorCode |
BucketErrorCode.OBJECT_NOT_FOUND
Object cannot be deleted because it is not present.
|
static BucketErrorCode |
BucketErrorCode.OBJECT_REFUSED
Object cannot be inserted due to some limits of structure.
|
static BucketErrorCode |
BucketErrorCode.SOFTCAPACITY_EXCEEDED
Object has been inserted but the soft-capacity has been reached.
|
static BucketErrorCode |
BucketErrorCode.SOME_OBJECT_NOT_FOUND
Some of the objects cannot be deleted because it is not present.
|
static BucketErrorCode |
BucketErrorCode.SOME_OBJECTS_INSERTED
Some object have been successfully inserted, but some failed.
|
static BucketErrorCode |
BucketErrorCode.STORAGE_FAILURE
Object has not been stored, removed or read due to lower layer storage exception.
|
Modifier and Type | Method and Description |
---|---|
BucketErrorCode |
Bucket.addObjectErrCode(LocalAbstractObject object)
Insert a new object into this bucket and returns error code instead of exception.
|
BucketErrorCode |
LocalBucket.addObjectErrCode(LocalAbstractObject object) |
BucketErrorCode |
BucketStorageException.getErrorCode()
Returns the bucket error code associated with this exception.
|
Constructor and Description |
---|
BucketStorageException(BucketErrorCode errorCode)
Constructs a new exception with
null as its detail message. |
BucketStorageException(BucketErrorCode errorCode,
java.lang.String message)
Constructs a new exception with the specified detail message.
|
BucketStorageException(BucketErrorCode errorCode,
java.lang.String message,
java.lang.Throwable cause)
Constructs a new exception with the specified detail message and
cause.
|
BucketStorageException(BucketErrorCode errorCode,
java.lang.Throwable cause)
Constructs a new exception with the specified cause and a detail
message of (cause==null ?
|
Modifier and Type | Field and Description |
---|---|
protected BucketErrorCode |
BucketManipulationReplyMessage.errorCode |
Modifier and Type | Method and Description |
---|---|
BucketErrorCode |
BucketManipulationReplyMessage.getErrorCode() |
Constructor and Description |
---|
BucketManipulationReplyMessage(BucketManipulationRequestMessage message,
BucketErrorCode errorCode)
Creates a new instance of BucketManipulationReplyMessage for adding object
|