|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.jdo.impl.fostore.Status
Represents a quick summary of the result of processing a request.
Field Summary | |
(package private) static Status |
ERROR
Request failed. |
(package private) static Status |
FATAL
Request failed fatally in server. |
(package private) static Status |
LOGIN
Could not login to database. |
private static int |
MAX_STATUS
Maximum status value. |
private static int |
MIN_STATUS
Minimum status value. |
private static org.apache.jdo.util.I18NHelper |
msg
I18N support. |
(package private) static Status |
OK
Request was successfully processed. |
(package private) static Status |
OPTIMISTIC
Optimistic failure. |
(package private) static Status |
ROLLBACK
Database rolled back due to user request. |
private int |
status
Status value. |
private static Status |
UNKNOWN
Request is being processed. |
(package private) static Status |
WARN
Request succeeded, but with warnings. |
Constructor Summary | |
(package private) |
Status(java.io.DataInput in)
Used to 'reconstitute' a Status value from a DataInput. |
private |
Status(int status)
Used to create the public static final elements. |
Method Summary | |
boolean |
equals(java.lang.Object other)
Compares this to another Status. |
(package private) int |
getLength()
Returns length of a Status value's representation in bytes. |
(package private) static void |
initialize(Reply reply)
Used to initialize a reply |
java.lang.String |
toString()
|
(package private) void |
write(java.io.DataOutput out)
Used to externalize a Status value. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private static final org.apache.jdo.util.I18NHelper msg
private static final Status UNKNOWN
static final Status OK
static final Status WARN
static final Status ERROR
static final Status FATAL
static final Status ROLLBACK
static final Status LOGIN
static final Status OPTIMISTIC
private static final int MIN_STATUS
private static final int MAX_STATUS
private final int status
Constructor Detail |
private Status(int status)
Status(java.io.DataInput in) throws java.io.IOException
Method Detail |
static void initialize(Reply reply) throws java.io.IOException
java.io.IOException
void write(java.io.DataOutput out) throws java.io.IOException
java.io.IOException
int getLength()
public boolean equals(java.lang.Object other)
public java.lang.String toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |