public interface XAResource
Modifier and Type | Field and Description |
---|---|
static int |
TMENDRSCAN |
static int |
TMFAIL |
static int |
TMJOIN |
static int |
TMNOFLAGS |
static int |
TMONEPHASE |
static int |
TMRESUME |
static int |
TMSTARTRSCAN |
static int |
TMSUCCESS |
static int |
TMSUSPEND |
static int |
XA_OK |
static int |
XA_RDONLY |
Modifier and Type | Method and Description |
---|---|
void |
commit(Xid xid,
boolean onePhase) |
void |
end(Xid xid,
int flags) |
void |
forget(Xid xid) |
int |
getTransactionTimeout() |
boolean |
isSameRM(XAResource xaResource) |
int |
prepare(Xid xid) |
Xid[] |
recover(int flag) |
void |
rollback(Xid xid) |
boolean |
setTransactionTimeout(int seconds) |
void |
start(Xid xid,
int flags) |
static final int TMENDRSCAN
static final int TMFAIL
static final int TMJOIN
static final int TMNOFLAGS
static final int TMONEPHASE
static final int TMRESUME
static final int TMSTARTRSCAN
static final int TMSUCCESS
static final int TMSUSPEND
static final int XA_RDONLY
static final int XA_OK
void commit(Xid xid, boolean onePhase) throws XAException
XAException
void end(Xid xid, int flags) throws XAException
XAException
void forget(Xid xid) throws XAException
XAException
int getTransactionTimeout() throws XAException
XAException
boolean isSameRM(XAResource xaResource) throws XAException
XAException
int prepare(Xid xid) throws XAException
XAException
Xid[] recover(int flag) throws XAException
XAException
void rollback(Xid xid) throws XAException
XAException
boolean setTransactionTimeout(int seconds) throws XAException
XAException
void start(Xid xid, int flags) throws XAException
XAException
Copyright © 2015. All Rights Reserved.