|
Home | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--xl2.odb.XL2TransactionMgr
Static access to a thread's XL2Transaction.
Field Summary | |
static int |
READ
Lock type. |
static int |
WRITE
Lock type. |
Constructor Summary | |
XL2TransactionMgr()
|
Method Summary | |
static void |
abort()
Calls the corresponding method on the XL2Transaction of the calling thread. |
static void |
begin()
Calls the corresponding method on the XL2Transaction of the calling thread. |
static void |
commit()
Calls the corresponding method on the XL2Transaction of the calling thread. |
static XL2Transaction |
currentTransaction()
The XL2Transaction of the calling thread. |
static XL2Transaction |
getGlobal()
The default XL2Transaction for any thread not explicitly joined to one. |
static void |
lock(java.lang.Object obj,
int mode)
Calls the corresponding method on the XL2Transaction of the calling thread. |
static void |
readLock(java.lang.Object obj)
Convenience function that calls lock(Object,int). |
static void |
setGlobal(XL2Transaction transaction)
The default XL2Transaction for any thread not explicitly joined to one. |
static void |
writeLock(java.lang.Object obj)
Convenience function that calls lock(Object,int). |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static int READ
public static int WRITE
Constructor Detail |
public XL2TransactionMgr()
Method Detail |
public static void abort()
public static void begin()
public static void commit()
public static XL2Transaction currentTransaction()
AbstractTransaction.join()
public static XL2Transaction getGlobal()
public static void lock(java.lang.Object obj, int mode)
public static void readLock(java.lang.Object obj)
public static void setGlobal(XL2Transaction transaction)
public static void writeLock(java.lang.Object obj)
|
Home | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |