public class XAResourceImpl extends Object implements XAResource
| Modifier and Type | Field and Description |
|---|---|
TimerSetter |
_responseTimerSetter |
TMENDRSCAN, TMFAIL, TMJOIN, TMNOFLAGS, TMONEPHASE, TMRESUME, TMSTARTRSCAN, TMSUCCESS, TMSUSPEND, XA_OK, XA_RDONLY| Constructor and Description |
|---|
XAResourceImpl(XASessionImpl xaSession) |
| Modifier and Type | Method and Description |
|---|---|
void |
checkClosedXASession() |
void |
close(Exception e) |
void |
commit(Xid xid,
boolean onePhase) |
void |
doStartActiveXidIfNeeded() |
void |
end(Xid xid,
int flags) |
void |
forget(Xid xid) |
int |
getTransactionTimeout() |
void |
handleAsyncAssuredCtrlMessage(WireMessage wmsg)
Handled in the reactor thread.
|
void |
handleTimeout(long corrId) |
boolean |
hasAssociatedXid() |
boolean |
isActiveXidRollbackPending() |
boolean |
isSameRM(XAResource xares) |
boolean |
noOutStandingRequest() |
void |
notifyUnknownSessionName() |
int |
prepare(Xid xid) |
Xid[] |
recover(int flag) |
void |
rollback(Xid xid) |
void |
setRebuildRequestMsgRequired(boolean required) |
boolean |
setTransactionTimeout(int seconds) |
void |
start(Xid xid,
int flags) |
void |
triggerRequestRetransmit() |
public TimerSetter _responseTimerSetter
public XAResourceImpl(XASessionImpl xaSession)
public void close(Exception e)
public boolean hasAssociatedXid()
public boolean isActiveXidRollbackPending()
public void notifyUnknownSessionName()
public void setRebuildRequestMsgRequired(boolean required)
public boolean noOutStandingRequest()
public void commit(Xid xid, boolean onePhase) throws XAException
commit in interface XAResourceXAExceptionpublic void end(Xid xid, int flags) throws XAException
end in interface XAResourceXAExceptionpublic void forget(Xid xid) throws XAException
forget in interface XAResourceXAExceptionpublic int getTransactionTimeout()
throws XAException
getTransactionTimeout in interface XAResourceXAExceptionpublic boolean isSameRM(XAResource xares) throws XAException
isSameRM in interface XAResourceXAExceptionpublic int prepare(Xid xid) throws XAException
prepare in interface XAResourceXAExceptionpublic void checkClosedXASession()
throws XAException
XAExceptionpublic Xid[] recover(int flag) throws XAException
recover in interface XAResourceXAExceptionpublic void rollback(Xid xid) throws XAException
rollback in interface XAResourceXAExceptionpublic boolean setTransactionTimeout(int seconds)
throws XAException
setTransactionTimeout in interface XAResourceXAExceptionpublic void start(Xid xid, int flags) throws XAException
start in interface XAResourceXAExceptionpublic void doStartActiveXidIfNeeded()
throws JCSMPException
JCSMPExceptionpublic void triggerRequestRetransmit()
public void handleTimeout(long corrId)
public void handleAsyncAssuredCtrlMessage(WireMessage wmsg)
Copyright 2004-2021 Solace Corporation. All rights reserved.