org.terracotta.modules.ehcache.xa
Class EhcacheXAStoreClusteredImpl.VersionTable

java.lang.Object
  extended by org.terracotta.modules.ehcache.xa.EhcacheXAStoreClusteredImpl.VersionTable
Enclosing class:
EhcacheXAStoreClusteredImpl

public static class EhcacheXAStoreClusteredImpl.VersionTable
extends Object


Field Summary
protected  ConcurrentMap<Object,EhcacheXAStoreClusteredImpl.Version> versionStore
           
 
Constructor Summary
EhcacheXAStoreClusteredImpl.VersionTable()
           
 
Method Summary
 void checkin(Object key, XidClustered xid, boolean readOnly)
           
 long checkout(Object key, XidClustered xid)
           
 boolean valid(Object key, long currentVersionNumber)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

versionStore

protected final ConcurrentMap<Object,EhcacheXAStoreClusteredImpl.Version> versionStore
Constructor Detail

EhcacheXAStoreClusteredImpl.VersionTable

public EhcacheXAStoreClusteredImpl.VersionTable()
Method Detail

valid

public boolean valid(Object key,
                     long currentVersionNumber)

checkout

public long checkout(Object key,
                     XidClustered xid)

checkin

public void checkin(Object key,
                    XidClustered xid,
                    boolean readOnly)


Copyright © 2010 Terracotta, Inc.. All Rights Reserved.