public final class CommonErlangObjects
extends java.lang.Object
| Modifier and Type | Field | Description |
|---|---|---|
static com.ericsson.otp.erlang.OtpErlangAtom |
abortAtom |
|
static com.ericsson.otp.erlang.OtpErlangAtom |
addDelOnListAtom |
|
static com.ericsson.otp.erlang.OtpErlangAtom |
addOnNrAtom |
|
static com.ericsson.otp.erlang.OtpErlangAtom |
arrayAtom |
|
static com.ericsson.otp.erlang.OtpErlangTuple |
commitTupleAtom |
|
static com.ericsson.otp.erlang.OtpErlangAtom |
emptyListAtom |
|
static com.ericsson.otp.erlang.OtpErlangAtom |
failAtom |
|
static com.ericsson.otp.erlang.OtpErlangAtom |
falseAtom |
|
static com.ericsson.otp.erlang.OtpErlangAtom |
keyChangedAtom |
|
static com.ericsson.otp.erlang.OtpErlangAtom |
notAListAtom |
|
static com.ericsson.otp.erlang.OtpErlangAtom |
notANumberAtom |
|
static com.ericsson.otp.erlang.OtpErlangAtom |
notFoundAtom |
|
static com.ericsson.otp.erlang.OtpErlangAtom |
nullAtom |
|
static com.ericsson.otp.erlang.OtpErlangAtom |
okAtom |
|
static com.ericsson.otp.erlang.OtpErlangTuple |
okTupleAtom |
|
static com.ericsson.otp.erlang.OtpErlangAtom |
randomFromListAtom |
|
static com.ericsson.otp.erlang.OtpErlangAtom |
readAtom |
|
static com.ericsson.otp.erlang.OtpErlangAtom |
structAtom |
|
static com.ericsson.otp.erlang.OtpErlangAtom |
sublistAtom |
|
static com.ericsson.otp.erlang.OtpErlangAtom |
testAndSetAtom |
|
static com.ericsson.otp.erlang.OtpErlangAtom |
timeoutAtom |
|
static com.ericsson.otp.erlang.OtpErlangAtom |
trueAtom |
|
static com.ericsson.otp.erlang.OtpErlangAtom |
writeAtom |
| Constructor | Description |
|---|---|
CommonErlangObjects() |
| Modifier and Type | Method | Description |
|---|---|---|
static void |
checkResult_failAbort(com.ericsson.otp.erlang.OtpErlangObject received_raw,
boolean compressed) |
Processes the received_raw term from erlang and if it is a
{fail, abort, KeyList}, issues an
AbortException. |
static void |
checkResult_failAbort(com.ericsson.otp.erlang.OtpErlangTuple received,
boolean compressed) |
Processes the received_raw term from erlang and if it is a
{fail, abort, KeyList}, issues an
AbortException. |
static com.ericsson.otp.erlang.OtpErlangObject |
decode(com.ericsson.otp.erlang.OtpErlangObject value) |
Decodes the given Erlang object from a binary to the according
OtpErlangObject the same way as rdht_tx:decode_value/1. |
static com.ericsson.otp.erlang.OtpErlangObject |
encode(com.ericsson.otp.erlang.OtpErlangObject value) |
Encoded the given erlang object to a binary the same way as
rdht_tx:encode_value/1.
|
public static final com.ericsson.otp.erlang.OtpErlangAtom readAtom
public static final com.ericsson.otp.erlang.OtpErlangAtom writeAtom
public static final com.ericsson.otp.erlang.OtpErlangAtom addDelOnListAtom
public static final com.ericsson.otp.erlang.OtpErlangAtom testAndSetAtom
public static final com.ericsson.otp.erlang.OtpErlangAtom addOnNrAtom
public static final com.ericsson.otp.erlang.OtpErlangAtom okAtom
public static final com.ericsson.otp.erlang.OtpErlangAtom failAtom
public static final com.ericsson.otp.erlang.OtpErlangAtom abortAtom
public static final com.ericsson.otp.erlang.OtpErlangAtom timeoutAtom
public static final com.ericsson.otp.erlang.OtpErlangAtom notFoundAtom
public static final com.ericsson.otp.erlang.OtpErlangAtom keyChangedAtom
public static final com.ericsson.otp.erlang.OtpErlangAtom notAListAtom
public static final com.ericsson.otp.erlang.OtpErlangAtom notANumberAtom
public static final com.ericsson.otp.erlang.OtpErlangAtom emptyListAtom
public static final com.ericsson.otp.erlang.OtpErlangTuple okTupleAtom
public static final com.ericsson.otp.erlang.OtpErlangTuple commitTupleAtom
public static final com.ericsson.otp.erlang.OtpErlangAtom sublistAtom
public static final com.ericsson.otp.erlang.OtpErlangAtom randomFromListAtom
public static final com.ericsson.otp.erlang.OtpErlangAtom structAtom
public static final com.ericsson.otp.erlang.OtpErlangAtom arrayAtom
public static final com.ericsson.otp.erlang.OtpErlangAtom trueAtom
public static final com.ericsson.otp.erlang.OtpErlangAtom falseAtom
public static final com.ericsson.otp.erlang.OtpErlangAtom nullAtom
public static com.ericsson.otp.erlang.OtpErlangObject encode(com.ericsson.otp.erlang.OtpErlangObject value)
value - the decoded valuepublic static com.ericsson.otp.erlang.OtpErlangObject decode(com.ericsson.otp.erlang.OtpErlangObject value)
throws com.ericsson.otp.erlang.OtpErlangDecodeException
OtpErlangObject the same way as rdht_tx:decode_value/1.value - the encoded valuecom.ericsson.otp.erlang.OtpErlangDecodeException - if decoding failspublic static final void checkResult_failAbort(com.ericsson.otp.erlang.OtpErlangObject received_raw,
boolean compressed)
throws AbortException,
UnknownException
AbortException.
NOTE: this method should not be called manually by an application and may
change without prior notice!received_raw - the object to processcompressed - whether the transfer of values is compressed or notAbortException - if the commit of the write failedUnknownException - if any other error occurspublic static final void checkResult_failAbort(com.ericsson.otp.erlang.OtpErlangTuple received,
boolean compressed)
throws AbortException,
UnknownException
AbortException.
NOTE: this method should not be called manually by an application and may
change without prior notice!received - the object to processcompressed - whether the transfer of values is compressed or notAbortException - if the commit of the write failedUnknownException - if any other error occurs