|
ehcache | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.ehcache.transaction.xa.XidTransactionIDImpl
public class XidTransactionIDImpl
| Constructor Summary | |
|---|---|
XidTransactionIDImpl(javax.transaction.xa.Xid xid)
Constructor |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
|
javax.transaction.xa.Xid |
getXid()
Get the XID of this transaction ID |
int |
hashCode()
|
boolean |
isDecisionCommit()
Check if this transaction should be committed or not |
boolean |
isDecisionRollback()
Check if this transaction ID has been marked for rollback |
void |
markForCommit()
Mark that this transaction's decision is commit |
void |
markForRollback()
Mark this transaction ID for rollback |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public XidTransactionIDImpl(javax.transaction.xa.Xid xid)
xid - a XID| Method Detail |
|---|
public boolean isDecisionCommit()
isDecisionCommit in interface TransactionIDpublic void markForCommit()
markForCommit in interface TransactionIDpublic boolean isDecisionRollback()
isDecisionRollback in interface XidTransactionIDpublic void markForRollback()
markForRollback in interface XidTransactionIDpublic javax.transaction.xa.Xid getXid()
getXid in interface XidTransactionIDpublic final boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic final int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object
|
ehcache | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||