com.caucho.distcache.jdbc
Class JdbcCacheManager

java.lang.Object
  extended by com.caucho.distcache.jdbc.JdbcCacheManager

public final class JdbcCacheManager
extends java.lang.Object

Manages the distributed cache


Constructor Summary
JdbcCacheManager(ClusterCacheEngine clusterManager, javax.sql.DataSource dataSource)
           
 
Method Summary
 void close()
           
 MnodeEntry get(DistCacheEntry entry, CacheConfig config)
           
protected  JdbcDataStore getJdbcDataStore()
           
protected  JdbcMnodeStore getJdbcMnodeStore()
           
protected  boolean loadClusterData(HashKey valueKey, int flags)
          Load the cluster data from the triad.
 MnodeEntry put(HashKey key, MnodeUpdate mnodeUpdate, MnodeEntry mnodeValue)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JdbcCacheManager

public JdbcCacheManager(ClusterCacheEngine clusterManager,
                        javax.sql.DataSource dataSource)
Method Detail

close

public void close()

getJdbcMnodeStore

protected JdbcMnodeStore getJdbcMnodeStore()

getJdbcDataStore

protected JdbcDataStore getJdbcDataStore()

put

public MnodeEntry put(HashKey key,
                      MnodeUpdate mnodeUpdate,
                      MnodeEntry mnodeValue)

get

public MnodeEntry get(DistCacheEntry entry,
                      CacheConfig config)

loadClusterData

protected boolean loadClusterData(HashKey valueKey,
                                  int flags)
Load the cluster data from the triad.