|
ehcache | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.ehcache.transaction.xa.EhcacheXAStoreImpl.Version
public static class EhcacheXAStoreImpl.Version
Represents an Element's version for a Store
Constructor Summary | |
---|---|
EhcacheXAStoreImpl.Version()
|
Method Summary | |
---|---|
boolean |
checkinRead(javax.transaction.xa.Xid xid)
Read check in: the transaction is done with the element, but did not mutate it |
boolean |
checkinWrite(javax.transaction.xa.Xid xid)
Write check in: the transaction is done with the element and did mutate it |
long |
checkout(javax.transaction.xa.Xid xid)
Checks out a version for a Transaction |
long |
getVersion()
For testing, get current version |
long |
getVersion(javax.transaction.xa.Xid xid)
Gets the version known to a Transaction |
boolean |
hasTransaction(javax.transaction.xa.Xid xid)
Checks whether a Transaction already accessed the key |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EhcacheXAStoreImpl.Version()
Method Detail |
---|
public long getVersion()
public boolean hasTransaction(javax.transaction.xa.Xid xid)
xid
- the Xid for the Transaction
public long getVersion(javax.transaction.xa.Xid xid)
xid
- the Xis for the Transaction
public long checkout(javax.transaction.xa.Xid xid)
xid
- the Xid for the Transaction
public boolean checkinRead(javax.transaction.xa.Xid xid)
xid
- the Xid for the Transaction
public boolean checkinWrite(javax.transaction.xa.Xid xid)
xid
- the Xid for the Transaction
|
ehcache | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |