|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sleepycat.je.Environment
com.sleepycat.je.XAEnvironment
public class XAEnvironment
Javadoc for this public class is generated via the doc templates in the doc_src directory.
Field Summary |
---|
Fields inherited from class com.sleepycat.je.Environment |
---|
environmentImpl |
Fields inherited from interface javax.transaction.xa.XAResource |
---|
TMENDRSCAN, TMFAIL, TMJOIN, TMNOFLAGS, TMONEPHASE, TMRESUME, TMSTARTRSCAN, TMSUCCESS, TMSUSPEND, XA_OK, XA_RDONLY |
Constructor Summary | |
---|---|
XAEnvironment(File envHome,
EnvironmentConfig configuration)
Javadoc for this public method is generated via the doc templates in the doc_src directory. |
Method Summary | |
---|---|
void |
commit(Xid xid,
boolean ignore)
Javadoc for this public method is generated via the doc templates in the doc_src directory. |
void |
end(Xid xid,
int flags)
Javadoc for this public method is generated via the doc templates in the doc_src directory. |
void |
forget(Xid xid)
Javadoc for this public method is generated via the doc templates in the doc_src directory. |
int |
getTransactionTimeout()
Javadoc for this public method is generated via the doc templates in the doc_src directory. |
Transaction |
getXATransaction(Xid xid)
Used to get the Transaction object given an XA Xid. |
boolean |
isSameRM(XAResource rm)
Javadoc for this public method is generated via the doc templates in the doc_src directory. |
int |
prepare(Xid xid)
Javadoc for this public method is generated via the doc templates in the doc_src directory. |
Xid[] |
recover(int flags)
Javadoc for this public method is generated via the doc templates in the doc_src directory. |
void |
rollback(Xid xid)
Javadoc for this public method is generated via the doc templates in the doc_src directory. |
boolean |
setTransactionTimeout(int timeout)
Javadoc for this public method is generated via the doc templates in the doc_src directory. |
void |
setXATransaction(Xid xid,
Transaction txn)
Used to set the Transaction object for an XA Xid. |
void |
start(Xid xid,
int flags)
Javadoc for this public method is generated via the doc templates in the doc_src directory. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XAEnvironment(File envHome, EnvironmentConfig configuration) throws DatabaseException
DatabaseException
Method Detail |
---|
public Transaction getXATransaction(Xid xid) throws DatabaseException
DatabaseException
public void setXATransaction(Xid xid, Transaction txn) throws DatabaseException
DatabaseException
public void commit(Xid xid, boolean ignore) throws XAException
commit
in interface XAResource
XAException
public void end(Xid xid, int flags) throws XAException
end
in interface XAResource
XAException
public void forget(Xid xid) throws XAException
forget
in interface XAResource
XAException
public boolean isSameRM(XAResource rm) throws XAException
isSameRM
in interface XAResource
XAException
public int prepare(Xid xid) throws XAException
prepare
in interface XAResource
XAException
public Xid[] recover(int flags) throws XAException
recover
in interface XAResource
XAException
public void rollback(Xid xid) throws XAException
rollback
in interface XAResource
XAException
public int getTransactionTimeout() throws XAException
getTransactionTimeout
in interface XAResource
XAException
public boolean setTransactionTimeout(int timeout) throws XAException
setTransactionTimeout
in interface XAResource
XAException
public void start(Xid xid, int flags) throws XAException
start
in interface XAResource
XAException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |