public class RecordType extends Object
Modifier and Type | Field and Description |
---|---|
static int |
ACTIVATION |
static int |
CADAVER |
static int |
DISPOSE |
static int |
JTA_RECORD |
static int |
JTAX_RECORD |
static int |
LASTRESOURCE
The following is for a one-phase aware resource that we enlist in a
two-phase commit transaction using the last resource commit optimization.
|
static int |
LOCK |
static int |
NAMING |
static int |
NONE_RECORD |
static int |
OTS_ABSTRACTRECORD |
static int |
OTS_RECORD |
static int |
PERSISTENCE |
static int |
RECOVERY
The values are used by the system records.
|
static int |
REPLICATION |
static int |
RPCCADAVER |
static int |
RPCCALL |
static int |
RPCINITIATE |
static int |
RPCTERMINATE
Note that RPCTERMINATE is deliberately late in the list otherwise the
server would be terminated BEFORE the user records were processed.
|
static int |
TXLOG_PERSISTENCE |
static int |
UNTYPED |
static int |
USER_DEF_FIRST0
The following values are provided for user-defined records that should
have operations invoked BEFORE the system records.
|
static int |
USER_DEF_FIRST1 |
static int |
USER_DEF_FIRST2 |
static int |
USER_DEF_FIRST3 |
static int |
USER_DEF_FIRST4 |
static int |
USER_DEF_FIRST5 |
static int |
USER_DEF_FIRST6 |
static int |
USER_DEF_FIRST7 |
static int |
USER_DEF_FIRST8 |
static int |
USER_DEF_FIRST9 |
static int |
USER_DEF_LAST0
The following values are provided for user-defined records that should
have operations invoked AFTER the system records.
|
static int |
USER_DEF_LAST1 |
static int |
USER_DEF_LAST2 |
static int |
USER_DEF_LAST3 |
static int |
USER_DEF_LAST4 |
static int |
USER_DEF_LAST5 |
static int |
USER_DEF_LAST6 |
static int |
USER_DEF_LAST7 |
static int |
USER_DEF_LAST8 |
static int |
USER_DEF_LAST9 |
static int |
XTS_WSAT_RECORD |
static int |
XTS_WSBA_RECORD |
Constructor and Description |
---|
RecordType() |
Modifier and Type | Method and Description |
---|---|
static int |
classToType(Class cn) |
static void |
print(PrintWriter strm,
int rt)
Print a human-readable version of the lock type.
|
static Class |
typeToClass(int rt) |
public static final int USER_DEF_FIRST0
public static final int USER_DEF_FIRST1
public static final int USER_DEF_FIRST2
public static final int USER_DEF_FIRST3
public static final int USER_DEF_FIRST4
public static final int USER_DEF_FIRST5
public static final int USER_DEF_FIRST6
public static final int USER_DEF_FIRST7
public static final int USER_DEF_FIRST8
public static final int USER_DEF_FIRST9
public static final int RECOVERY
public static final int PERSISTENCE
public static final int TXLOG_PERSISTENCE
public static final int LOCK
public static final int ACTIVATION
public static final int OTS_RECORD
public static final int OTS_ABSTRACTRECORD
public static final int XTS_WSAT_RECORD
public static final int XTS_WSBA_RECORD
public static final int JTA_RECORD
public static final int JTAX_RECORD
public static final int REPLICATION
public static final int NAMING
public static final int CADAVER
public static final int DISPOSE
public static final int RPCCALL
public static final int RPCINITIATE
public static final int USER_DEF_LAST0
public static final int USER_DEF_LAST1
public static final int USER_DEF_LAST2
public static final int USER_DEF_LAST3
public static final int USER_DEF_LAST4
public static final int USER_DEF_LAST5
public static final int USER_DEF_LAST6
public static final int USER_DEF_LAST7
public static final int USER_DEF_LAST8
public static final int USER_DEF_LAST9
public static final int RPCTERMINATE
public static final int RPCCADAVER
public static final int UNTYPED
public static final int NONE_RECORD
public static final int LASTRESOURCE
public static Class typeToClass(int rt)
Class
representing this type.public static int classToType(Class cn)
int
value representing this Class.public static void print(PrintWriter strm, int rt)
Copyright © 2012. All Rights Reserved.