|
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 final class XidTransactionIDImpl
| Constructor Summary | |
|---|---|
XidTransactionIDImpl(Xid xid)
Constructor |
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
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 |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public XidTransactionIDImpl(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 Xid getXid()
getXid in interface XidTransactionIDpublic final boolean equals(Object obj)
equals in class Objectpublic final int hashCode()
hashCode in class Objectpublic String toString()
toString in class Object
|
ehcache | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||