com.caucho.server.distcache
Class CacheKeyManager

java.lang.Object
  extended by com.caucho.server.distcache.CacheKeyManager

@Module
public final class CacheKeyManager
extends java.lang.Object

Manages the distributed cache


Method Summary
 void closeCache(java.lang.String guid)
           
protected  HashKey createHashKey(java.lang.Object key, CacheConfig config)
           
protected  HashKey createHashKeyImpl(java.lang.Object key, CacheConfig config)
          Returns the key hash
 HashKey createSelfHashKey(java.lang.Object key, CacheSerializer keySerializer)
          Returns the key hash
 DistCacheEntry getCacheEntry(HashKey hashKey, CacheHandle cache)
          Returns the key entry.
 DistCacheEntry getCacheEntry(java.lang.Object key, CacheHandle cache)
          Returns the key entry.
 CacheEntryManager getCacheEntryManager()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getCacheEntryManager

public final CacheEntryManager getCacheEntryManager()

getCacheEntry

public final DistCacheEntry getCacheEntry(java.lang.Object key,
                                          CacheHandle cache)
Returns the key entry.


getCacheEntry

public final DistCacheEntry getCacheEntry(HashKey hashKey,
                                          CacheHandle cache)
Returns the key entry.


closeCache

public void closeCache(java.lang.String guid)

createHashKey

protected HashKey createHashKey(java.lang.Object key,
                                CacheConfig config)

createHashKeyImpl

protected HashKey createHashKeyImpl(java.lang.Object key,
                                    CacheConfig config)
Returns the key hash


createSelfHashKey

public HashKey createSelfHashKey(java.lang.Object key,
                                 CacheSerializer keySerializer)
Returns the key hash


toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object