Uses of Class
com.caucho.util.HashKey

Packages that use HashKey
com.caucho.distcache   
com.caucho.env.distcache   
com.caucho.memcached   
com.caucho.server.distcache   
com.caucho.util Assorted utilities 
 

Uses of HashKey in com.caucho.distcache
 

Methods in com.caucho.distcache that return HashKey
 HashKey AbstractCache.getCacheKey()
           
 HashKey ExtCacheEntry.getKeyHash()
          Returns the key hash for the current entry.
 HashKey AbstractCache.getKeyHash(java.lang.Object key)
          Returns the hash of the given key
 

Methods in com.caucho.distcache with parameters of type HashKey
 ExtCacheEntry AbstractCache.getExtCacheEntry(HashKey key)
           
 

Uses of HashKey in com.caucho.env.distcache
 

Methods in com.caucho.env.distcache with parameters of type HashKey
 long CacheDataBacking.getStartupLastUpdateTime(HashKey cacheKey)
          Returns the last update time on server startup.
 java.util.ArrayList<CacheData> CacheDataBacking.getUpdates(HashKey cacheKey, long accessTime, int offset)
          Returns a set of entries since an access time.
 MnodeEntry CacheDataBacking.insertLocalValue(HashKey key, HashKey cacheKey, MnodeEntry mnodeValue, MnodeEntry oldMnodeValue)
           
 MnodeEntry CacheDataBacking.loadLocalEntryValue(HashKey key)
           
 void AbstractCacheClusterBacking.putCluster(HashKey key, MnodeUpdate mnodeUpdate, MnodeEntry mnodeValue)
           
 void CacheClusterBacking.putCluster(HashKey key, MnodeUpdate mnodeUpdate, MnodeEntry mnodeValue)
           
 boolean CacheDataBacking.putLocalValue(MnodeEntry mnodeValue, HashKey key, HashKey cacheKey, MnodeEntry oldEntryValue, MnodeUpdate mnodeUpdate)
          Sets a cache entry
 void AbstractCacheClusterBacking.removeCluster(HashKey key, MnodeUpdate mnodeUpdate, MnodeEntry mnodeValue)
           
 void CacheClusterBacking.removeCluster(HashKey key, MnodeUpdate mnodeUpdate, MnodeEntry mnodeValue)
           
 MnodeEntry CacheDataBacking.saveLocalUpdateTime(HashKey keyHash, MnodeEntry mnodeValue, MnodeEntry oldMnodeValue)
           
 

Uses of HashKey in com.caucho.memcached
 

Methods in com.caucho.memcached with parameters of type HashKey
 void MemcachedCacheEngine.put(HashKey hashKey, HashKey cacheKey, MnodeUpdate mnodeUpdate, long valueDataId)
           
 void MemcachedCacheEngine.remove(HashKey hashKey, HashKey cacheKey, MnodeUpdate mnodeUpdate)
           
 

Uses of HashKey in com.caucho.server.distcache
 

Fields in com.caucho.server.distcache declared as HashKey
static HashKey HashManager.NULL
           
 

Methods in com.caucho.server.distcache that return HashKey
protected  HashKey CacheKeyManager.createHashKey(java.lang.Object key, CacheConfig config)
           
protected  HashKey CacheKeyManager.createHashKeyImpl(java.lang.Object key, CacheConfig config)
          Returns the key hash
 HashKey CacheKeyManager.createSelfHashKey(java.lang.Object key, CacheSerializer keySerializer)
          Returns the key hash
 HashKey HashManager.generateHash(HashKey priorHash, java.lang.String key)
          Generates a hash from a prior hash and a string
 HashKey HashManager.generateHash(java.lang.String key)
          Generates a hash from a string
 HashKey CacheConfig.getCacheKey()
          Returns the globally-unique id for the cache.
 HashKey CacheData.getCacheKey()
           
 HashKey CacheHandle.getCacheKey()
           
 HashKey CacheImpl.getCacheKey()
           
 HashKey DistCacheEntry.getCacheKey()
           
 HashKey CacheData.getKey()
           
 HashKey DistCacheEntry.getKeyHash()
          Returns the keyHash
 HashKey ExtCacheEntryFacade.getKeyHash()
          Returns the keyHash
 HashKey CacheImpl.getKeyHash(java.lang.Object key)
          Returns the hash of the given key
 

Methods in com.caucho.server.distcache with parameters of type HashKey
 void CacheStoreManager.addCacheListener(HashKey cacheKey, CacheMnodeListener listener)
           
 void CacheStoreManager.closeCache(java.lang.String guid, HashKey cacheKey)
           
 DistCacheEntry CacheEntryFactory.createCacheEntry(HashKey key, CacheHandle cache)
           
 DistCacheEntry CacheEntryManager.createCacheEntry(HashKey key, CacheHandle cache)
          Returns the key entry, creating on if necessary.
 DistCacheEntry CacheStoreManager.createCacheEntry(HashKey hashKey, CacheHandle cache)
          Returns the key entry.
 HashKey HashManager.generateHash(HashKey priorHash, java.lang.String key)
          Generates a hash from a prior hash and a string
 CacheHandle CacheStoreManager.getCache(HashKey cacheHash)
           
 DistCacheEntry CacheEntryManager.getCacheEntry(HashKey key)
          Returns the cache entry.
 DistCacheEntry CacheStoreManager.getCacheEntry(HashKey key)
          Returns the key entry.
 DistCacheEntry CacheKeyManager.getCacheEntry(HashKey hashKey, CacheHandle cache)
          Returns the key entry.
 DistCacheEntry CacheStoreManager.getCacheEntry(HashKey key, CacheHandle cache)
          Returns the key entry.
 DistCacheEntry CacheStoreManager.getCacheEntry(HashKey key, HashKey cacheKey)
          Returns the key entry.
 DistCacheEntry CacheStoreManager.getCacheEntry(HashKey hashKey, HashKey cacheKey, java.lang.Object oKey)
          Returns the key entry.
protected  DistCacheEntry CacheImpl.getDistCacheEntry(HashKey key)
          Returns the CacheKeyEntry for the given key.
 ExtCacheEntry CacheImpl.getExtCacheEntry(HashKey key)
           
 long CacheDataBackingImpl.getStartupLastUpdateTime(HashKey cacheKey)
          Returns the last update time on server startup.
 long MnodeStore.getStartupLastUpdateTime(HashKey cacheKey)
          Returns the max update time detected on startup.
 java.util.ArrayList<CacheData> CacheDataBackingImpl.getUpdates(HashKey cacheKey, long accessTime, int offset)
          Returns a set of entries since an access time.
 java.util.ArrayList<CacheData> MnodeStore.getUpdates(HashKey cacheKey, long updateTime, int offset)
          Returns the maximum update time on startup
 boolean MnodeStore.insert(HashKey id, HashKey cacheKey, MnodeValue mnodeUpdate, long valueDataId, long lastAccessTime, long lastModifiedTime)
          Stores the data, returning true on success
 MnodeEntry CacheDataBackingImpl.insertLocalValue(HashKey key, HashKey cacheKey, MnodeEntry mnodeUpdate, MnodeEntry oldEntryValue)
          Sets a cache entry
 boolean AbstractCacheEngine.isLocalExpired(CacheConfig config, HashKey key, MnodeEntry mnodeEntry, long now)
           
 boolean CacheEngine.isLocalExpired(CacheConfig config, HashKey key, MnodeEntry mnodeEntry, long now)
           
 MnodeEntry MnodeStore.load(HashKey id)
          Reads the object from the data store.
 DistCacheEntry CacheStoreManager.loadLocalEntry(HashKey key, CacheConfig config)
           
 DistCacheEntry CacheStoreManager.loadLocalEntry(HashKey key, HashKey cacheKey)
           
 MnodeEntry CacheDataBackingImpl.loadLocalEntryValue(HashKey key)
          Returns the local value from the database
 void AbstractCacheEngine.notifyLease(HashKey key, HashKey cacheKey, int leaseOwner)
           
 void CacheEngine.notifyLease(HashKey key, HashKey cacheKey, int leaseOwner)
           
 void LoadDataCallback.onLoad(HashKey key, java.io.InputStream is)
           
 void MnodeOrphanListener.onOrphanValue(HashKey value)
           
 void CacheMnodeListener.onPut(HashKey key, HashKey cacheKey, MnodeValue value)
           
 void AbstractCacheEngine.put(HashKey key, HashKey cacheKey, MnodeUpdate mnodeUpdate, long valueDataId)
           
 void CacheEngine.put(HashKey key, HashKey cacheKey, MnodeUpdate mnodeUpdate, long valueDataId)
           
 boolean CacheDataBackingImpl.putLocalValue(MnodeEntry mnodeEntry, HashKey key, HashKey cacheKey, MnodeEntry oldEntryEntry, MnodeUpdate mnodeUpdate)
           
protected  java.lang.Object LocalDataManager.readData(HashKey key, long valueHash, long valueDataId, CacheSerializer serializer, CacheConfig config)
           
protected  boolean LocalDataManager.readData(HashKey key, MnodeEntry mnodeValue, java.io.OutputStream os, CacheConfig config)
           
 void AbstractCacheEngine.remove(HashKey key, HashKey cacheKey, MnodeUpdate mnodeUpdate)
           
 void CacheEngine.remove(HashKey key, HashKey cacheKey, MnodeUpdate mnodeUpdate)
           
 void CacheStoreManager.saveLocalUpdateTime(HashKey key, long version, long accessTimeout, long lastAccessTime)
          Sets a cache entry
 MnodeEntry CacheDataBackingImpl.saveLocalUpdateTime(HashKey keyHash, MnodeEntry mnodeValue, MnodeEntry oldMnodeValue)
           
 boolean MnodeStore.updateAccessTime(HashKey id, long itemVersion, long accessTimeout, long accessTime)
          Updates the update time, returning true on success
 void AbstractCacheEngine.updateTime(HashKey key, HashKey cacheKey, MnodeEntry mnodeValue)
           
 void CacheEngine.updateTime(HashKey key, HashKey cacheKey, MnodeEntry mnodeValue)
           
 

Constructors in com.caucho.server.distcache with parameters of type HashKey
CacheData(HashKey key, HashKey cacheKey, long valueHash, long valueDataId, long valueLength, long version, long flags, long accessedTimeout, long modifiedTimeout, long leaseTimeout, long accessTime, long modifiedTime)
           
CacheHandle(HashKey cacheKey, CacheConfig config)
           
 

Uses of HashKey in com.caucho.util
 

Fields in com.caucho.util declared as HashKey
static HashKey HashKeyManager.NULL
           
 

Methods in com.caucho.util that return HashKey
static HashKey HashKey.create(byte[] hash)
           
static HashKey HashKeyManager.generateHash(HashKey priorHash, java.lang.String key)
          Generates a hash from a prior hash and a string
static HashKey HashKeyManager.generateHash(java.lang.String key)
          Generates a hash from a string
 

Methods in com.caucho.util with parameters of type HashKey
 int HashKey.compareTo(HashKey key)
           
static HashKey HashKeyManager.generateHash(HashKey priorHash, java.lang.String key)
          Generates a hash from a prior hash and a string
static byte[] HashKey.getHash(HashKey testValue)