|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.mq.pm.TxManager.PreparedInfo
public static class TxManager.PreparedInfo
Information about a prepared global transaction
Constructor Summary | |
---|---|
TxManager.PreparedInfo(Xid xid,
boolean inDoubt)
Create a new PreparedInfo. |
Method Summary | |
---|---|
void |
add(Tx txid)
Add a local branch |
Set |
getTxids()
Get the local branches |
Xid |
getXid()
Get the XID |
boolean |
isEmpty()
Whether there are no local branches |
boolean |
isInDoubt()
Whether the transaction is in doubt |
void |
remove(Tx txid)
Remove a local branch |
void |
setInDoubt(boolean inDoubt)
Set the in doubt |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TxManager.PreparedInfo(Xid xid, boolean inDoubt)
xid
- the xidindoubt
- whether the transaction is in doubtMethod Detail |
---|
public boolean isInDoubt()
public void setInDoubt(boolean inDoubt)
inDoubt
- the in doubt valuepublic Xid getXid()
public Set getTxids()
public void add(Tx txid)
txid
- the local branchpublic void remove(Tx txid)
txid
- the local branchpublic boolean isEmpty()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |