|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectmessif.utility.ErrorCode
messif.buckets.BucketErrorCode
public class BucketErrorCode
Represents an error code that can be returned by bucket operations. Standard error codes are instantiated as static constants. Other error codes can be using constructor, but there is no guarantee they will have the same code when used in distributed environment.
Field Summary | |
---|---|
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 |
STORAGE_FAILURE
Object has not been stored, removed or read due to lower layer storage exception. |
Fields inherited from class messif.utility.ErrorCode |
---|
NOT_SET, UNKNOWN_ERROR |
Constructor Summary | |
---|---|
BucketErrorCode(java.lang.String text)
Creates a new instance of BucketErrorCode, i.e. a new error code. |
Method Summary |
---|
Methods inherited from class messif.utility.ErrorCode |
---|
equals, hashCode, isSet, isUnknownError, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static BucketErrorCode OBJECT_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 LOWOCCUPATION_EXCEEDED
public static BucketErrorCode STORAGE_FAILURE
Constructor Detail |
---|
public BucketErrorCode(java.lang.String text)
text
- error message for this error code
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |