Package com.swiftmq.impl.xa.standard
Class XARecoveryContextImpl
java.lang.Object
com.swiftmq.impl.xa.standard.XAContextImpl
com.swiftmq.impl.xa.standard.XARecoveryContextImpl
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addTransaction
(int id, String queueName, QueueTransaction queueTransaction) void
close()
long
commit
(boolean onePhase) boolean
void
prepare()
int
void
rollback()
void
setPrepared
(boolean b) toString()
void
unregister
(int id, boolean rollbackOnly) Methods inherited from class com.swiftmq.impl.xa.standard.XAContextImpl
getXid, incCount, isRecovered, removeUsageEntity, setRecovered
-
Constructor Details
-
XARecoveryContextImpl
-
-
Method Details
-
setPrepared
public void setPrepared(boolean b) -
isPrepared
public boolean isPrepared() -
register
- Throws:
XAContextException
-
unregister
public void unregister(int id, boolean rollbackOnly) throws XAContextException - Throws:
XAContextException
-
addTransaction
public void addTransaction(int id, String queueName, QueueTransaction queueTransaction) throws XAContextException - Throws:
XAContextException
-
prepare
public void prepare() throws XAContextException- Throws:
XAContextException
-
commit
public long commit(boolean onePhase) throws XAContextException - Throws:
XAContextException
-
rollback
public void rollback() throws XAContextException- Throws:
XAContextException
-
close
public void close() -
toString
-