|
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(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 XIDMethod Detail |
---|
public boolean isDecisionCommit()
isDecisionCommit
in interface TransactionID
public void markForCommit()
markForCommit
in interface TransactionID
public boolean isDecisionRollback()
isDecisionRollback
in interface XidTransactionID
public void markForRollback()
markForRollback
in interface XidTransactionID
public Xid getXid()
getXid
in interface XidTransactionID
public final boolean equals(Object obj)
equals
in class Object
public final int hashCode()
hashCode
in class Object
public String toString()
toString
in class Object
|
ehcache | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |