Uses of Class
com.caucho.util.HashKey

Packages that use HashKey
com.caucho.cloud.globalcache   
com.caucho.distcache   
com.caucho.distcache.cluster   
com.caucho.distcache.jdbc   
com.caucho.env.distcache   
com.caucho.memcached   
com.caucho.server.distcache   
com.caucho.util Assorted utilities 
 

Uses of HashKey in com.caucho.cloud.globalcache
 

Constructors in com.caucho.cloud.globalcache with parameters of type HashKey
GlobalCachePush(java.lang.String cluster, java.lang.String pod, HashKey key, HashKey value, long version)
           
 

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
 HashKey ExtCacheEntry.getValueHashKey()
          Returns the value key
 

Methods in com.caucho.distcache with parameters of type HashKey
 ExtCacheEntry AbstractCache.getExtCacheEntry(HashKey key)
           
 boolean AbstractCache.isDataAvailable(HashKey valueKey)
           
 boolean AbstractCache.loadData(HashKey valueHash, WriteStream os)
           
 boolean AbstractCache.saveData(HashKey valueHash, StreamSource source, int length)
           
 

Uses of HashKey in com.caucho.distcache.cluster
 

Methods in com.caucho.distcache.cluster that return HashKey
 HashKey ClusterCacheEngine.compareAndPut(DistCacheEntry entry, HashKey testValue, MnodeUpdate mnodeUpdate, java.lang.Object value, CacheConfig config)
           
 HashKey CacheMnodeActor.compareAndPut(TriadCacheCompareAndPut msg)
           
 HashKey ClusterCacheEngine.getAndPut(DistCacheEntry entry, MnodeUpdate mnodeUpdate, java.lang.Object value, long leaseTimeout, int leaseOwner)
          Sets a cache entry
 HashKey CacheMnodeActor.getAndPut(MnodeUpdate mnodeUpdate, java.lang.Object value, long leaseTimeout, int leaseOwner)
           
 

Methods in com.caucho.distcache.cluster with parameters of type HashKey
 HashKey ClusterCacheEngine.compareAndPut(DistCacheEntry entry, HashKey testValue, MnodeUpdate mnodeUpdate, java.lang.Object value, CacheConfig config)
           
protected  StreamSource ClusterCacheEngine.createDataSource(HashKey valueKey)
           
 MnodeEntry ClusterDataBacking.insertLocalValue(HashKey key, MnodeEntry mnodeValue, MnodeEntry oldEntryValue)
          Sets a cache entry
 boolean ClusterDataBacking.isDataAvailable(HashKey valueKey)
           
protected  boolean ClusterCacheEngine.isDataAvailable(HashKey valueKey)
           
 boolean ClusterCacheEngine.isLocalExpired(CacheConfig config, HashKey key, MnodeEntry mnodeEntry, long now)
           
protected  void ClusterCacheEngine.loadClusterDataBackground(HashKey valueKey, int flags)
           
 boolean ClusterCacheEngine.loadData(HashKey valueKey, int flags)
           
 boolean ClusterDataBacking.loadData(HashKey valueHash, WriteStream os)
           
 MnodeEntry ClusterDataBacking.loadLocalEntryValue(HashKey key)
          Returns the local value from the database
protected  void CacheMnodeActor.notifyLeaseChange(HashKey key, TriadOwner keyOwner, int leaseOwner)
          Notify the lease owner of a change in the value.
protected  void CacheMnodeTriadActor.notifyLeaseChange(HashKey key, TriadOwner keyOwner, int leaseOwner)
           
 void ClusterCacheEngine.put(HashKey key, MnodeUpdate mnodeUpdate, MnodeEntry mnodeValue)
           
 void CacheClusterBackingImpl.putCluster(HashKey key, MnodeUpdate mnodeUpdate, MnodeEntry mnodeValue)
           
protected  void ClusterCacheEngine.putData(HashKey valueKey, StreamSource dataSource)
           
 boolean ClusterDataBacking.putLocalValue(MnodeEntry mnodeValue, HashKey key, MnodeEntry oldEntryValue, MnodeUpdate mnodeUpdate)
           
 void ClusterCacheEngine.remove(HashKey key, MnodeUpdate mnodeUpdate, MnodeEntry mnodeEntry)
           
 void CacheClusterBackingImpl.removeCluster(HashKey key, MnodeUpdate mnodeUpdate, MnodeEntry mnodeValue)
           
 boolean ClusterDataBacking.saveData(HashKey valueHash, StreamSource source, int length)
           
 MnodeEntry ClusterDataBacking.saveLocalUpdateTime(HashKey keyHash, MnodeEntry mnodeValue, MnodeEntry oldMnodeValue)
           
 void ClusterCacheEngine.updateTime(HashKey key, MnodeEntry mnodeValue)
           
 

Constructors in com.caucho.distcache.cluster with parameters of type HashKey
CachePut(HashKey key, HashKey oldValueKey, long version)
           
DataStreamSource(HashKey valueHash, DataStore dataBacking)
          Create a new GitStreamSource for the named file
 

Uses of HashKey in com.caucho.distcache.jdbc
 

Methods in com.caucho.distcache.jdbc with parameters of type HashKey
 boolean JdbcMnodeStore.insert(HashKey id, MnodeValue mnodeUpdate)
          Stores the data, returning true on success
 boolean JdbcDataStore.isDataAvailable(HashKey id)
          Checks if we have the data
 MnodeEntry JdbcMnodeStore.load(HashKey id)
          Reads the object from the data store.
 boolean JdbcDataStore.load(HashKey id, CacheDataBacking dataBacking)
           
 boolean JdbcDataStore.load(HashKey id, WriteStream os)
          Reads the object from the data store.
protected  boolean JdbcCacheManager.loadClusterData(HashKey valueKey, int flags)
          Load the cluster data from the triad.
 java.io.InputStream JdbcDataStore.openInputStream(HashKey id)
          Reads the object from the data store.
 MnodeEntry JdbcCacheManager.put(HashKey key, MnodeUpdate mnodeUpdate, MnodeEntry mnodeValue)
           
 void JdbcClusterBacking.putCluster(HashKey key, MnodeUpdate mnodeUpdate, MnodeEntry mnodeValue)
           
 void JdbcClusterBacking.removeCluster(HashKey key, MnodeUpdate mnodeUpdate, MnodeEntry mnodeValue)
           
 void JdbcDataStore.save(HashKey valueHash, CacheDataBacking dataBacking)
           
 boolean JdbcDataStore.save(HashKey id, java.io.InputStream is, int length)
          Saves the data, returning true on success.
 boolean JdbcDataStore.save(HashKey id, StreamSource source, int length)
          Saves the data, returning true on success.
 boolean JdbcDataStore.updateExpires(HashKey id)
          Updates the expires time for the data.
 boolean JdbcMnodeStore.updateUpdateTime(HashKey id, long itemVersion, long idleTimeout, long updateTime)
          Updates the update time, returning true on success
 

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, MnodeEntry mnodeValue, MnodeEntry oldMnodeValue)
           
 boolean CacheDataBacking.isDataAvailable(HashKey valueKey)
           
 java.sql.Blob CacheDataBacking.loadBlob(HashKey valueHash)
           
 boolean CacheDataBacking.loadData(HashKey valueHash, WriteStream os)
           
 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, 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)
           
 boolean CacheDataBacking.saveData(HashKey valueHash, StreamSource source, int length)
           
 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
 boolean MemcachedCacheEngine.isLocalExpired(CacheConfig config, HashKey key, MnodeEntry mnodeEntry, long now)
           
 void MemcachedCacheEngine.put(HashKey hashKey, MnodeUpdate mnodeUpdate, MnodeEntry mnodeValue)
           
 void MemcachedCacheEngine.remove(HashKey hashKey, MnodeUpdate mnodeUpdate, MnodeEntry mnodeEntry)
           
 

Uses of HashKey in com.caucho.server.distcache
 

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

Methods in com.caucho.server.distcache that return HashKey
protected  HashKey CacheStoreManager.compareAndPut(DistCacheEntry entry, HashKey testValue, MnodeUpdate mnodeUpdate, java.lang.Object value, CacheConfig config)
           
 HashKey AbstractCacheEngine.compareAndPut(DistCacheEntry entry, HashKey testValue, MnodeUpdate mnodeUpdate, java.lang.Object value, CacheConfig config)
           
 HashKey CacheEngine.compareAndPut(DistCacheEntry entry, HashKey testValue, MnodeUpdate mnodeUpdate, java.lang.Object value, CacheConfig config)
           
 HashKey CacheStoreManager.compareAndPut(DistCacheEntry entry, HashKey testValue, java.lang.Object value, CacheConfig config)
           
 HashKey DistCacheEntry.compareAndPut(HashKey testValue, java.lang.Object value, CacheConfig config)
          Sets the current value
 HashKey CacheStoreManager.compareAndPutLocal(DistCacheEntry entry, HashKey testValue, MnodeUpdate mnodeUpdate, java.lang.Object value, long leaseTimeout, int leaseOwner)
           
protected  HashKey CacheStoreManager.createHashKey(java.lang.Object key, CacheConfig config)
           
protected  HashKey CacheStoreManager.createHashKeyImpl(java.lang.Object key, CacheConfig config)
          Returns the key hash
 HashKey CacheStoreManager.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 AbstractCacheEngine.getAndPut(DistCacheEntry entry, MnodeUpdate mnodeUpdate, java.lang.Object value, long leaseTimeout, int leaseOwner)
           
 HashKey CacheEngine.getAndPut(DistCacheEntry entry, MnodeUpdate mnodeUpdate, java.lang.Object value, long leaseTimeout, int leaseOwner)
           
protected  HashKey CacheStoreManager.getAndPut(DistCacheEntry entry, MnodeUpdate mnodeUpdate, java.lang.Object value, long leaseTimeout, int leaseOwner, CacheConfig config)
          Sets a cache entry
 HashKey CacheStoreManager.getAndPutLocal(DistCacheEntry entry, MnodeUpdate mnodeUpdate, java.lang.Object value, long leaseTimeout, int leaseOwner)
           
 HashKey DistCacheEntry.getCacheHash()
          Returns the cacheHash
 HashKey MnodeEntry.getCacheHashKey()
           
 HashKey CacheImpl.getCacheKey()
           
 HashKey CacheConfig.getCacheKey()
          Returns the globally-unique id for the cache.
 HashKey CacheData.getKey()
           
 HashKey DistCacheEntry.getKeyHash()
          Returns the keyHash
 HashKey MnodeEntry.getKeyHash()
           
 HashKey CacheImpl.getKeyHash(java.lang.Object key)
          Returns the hash of the given key
 HashKey CacheStoreManager.DataItem.getValue()
           
 HashKey DistCacheEntry.getValueHash(java.lang.Object value, CacheConfig config)
           
 HashKey DistCacheEntry.getValueHashKey()
           
 HashKey MnodeEntry.getValueHashKey()
           
 HashKey CacheImpl.saveData(java.io.InputStream is)
           
 

Methods in com.caucho.server.distcache with parameters of type HashKey
 void CacheStoreManager.addCacheListener(HashKey cacheKey, CacheMnodeListener listener)
           
protected  HashKey CacheStoreManager.compareAndPut(DistCacheEntry entry, HashKey testValue, MnodeUpdate mnodeUpdate, java.lang.Object value, CacheConfig config)
           
 HashKey AbstractCacheEngine.compareAndPut(DistCacheEntry entry, HashKey testValue, MnodeUpdate mnodeUpdate, java.lang.Object value, CacheConfig config)
           
 HashKey CacheEngine.compareAndPut(DistCacheEntry entry, HashKey testValue, MnodeUpdate mnodeUpdate, java.lang.Object value, CacheConfig config)
           
 HashKey CacheStoreManager.compareAndPut(DistCacheEntry entry, HashKey testValue, java.lang.Object value, CacheConfig config)
           
 boolean CacheStoreManager.compareAndPut(DistCacheEntry entry, long version, HashKey valueHash, long valueLength, CacheConfig config)
           
 void CacheImpl.compareAndPut(HashKey key, HashKey value, long valueLength, long version)
           
 HashKey DistCacheEntry.compareAndPut(HashKey testValue, java.lang.Object value, CacheConfig config)
          Sets the current value
 boolean DistCacheEntry.compareAndPut(long version, HashKey value, long valueLength, CacheConfig config)
          Sets the current value
 HashKey CacheStoreManager.compareAndPutLocal(DistCacheEntry entry, HashKey testValue, MnodeUpdate mnodeUpdate, java.lang.Object value, long leaseTimeout, int leaseOwner)
           
 DistCacheEntry CacheStoreManager.createCacheEntry(java.lang.Object key, HashKey hashKey)
          Returns the key entry.
 HashKey HashManager.generateHash(HashKey priorHash, java.lang.String key)
          Generates a hash from a prior hash and a string
 DistCacheEntry CacheStoreManager.getCacheEntry(HashKey hashKey)
          Returns the key entry.
 DistCacheEntry CacheStoreManager.getCacheEntry(HashKey hashKey, CacheConfig config)
          Returns the key entry.
protected  DistCacheEntry CacheImpl.getDistCacheEntry(HashKey key)
          Returns the CacheKeyEntry for the given key.
 ExtCacheEntry CacheImpl.getExtCacheEntry(HashKey key)
           
 DistCacheEntry CacheStoreManager.getLocalEntryAndUpdateIdle(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, MnodeValue mnodeUpdate)
          Stores the data, returning true on success
 MnodeEntry CacheDataBackingImpl.insertLocalValue(HashKey key, MnodeEntry mnodeUpdate, MnodeEntry oldEntryValue)
          Sets a cache entry
 boolean DataStore.isDataAvailable(HashKey id)
          Checks if we have the data
 boolean CacheDataBackingImpl.isDataAvailable(HashKey valueKey)
           
 boolean CacheImpl.isDataAvailable(HashKey valueKey)
           
protected  boolean CacheStoreManager.isLocalExpired(CacheConfig config, HashKey key, MnodeEntry mnodeValue, long now)
           
 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.
 boolean DataStore.load(HashKey id, LoadDataCallback cb)
          Reads the object from the data store.
 boolean DataStore.load(HashKey id, WriteStream os)
          Reads the object from the data store.
 java.sql.Blob DataStore.loadBlob(HashKey id)
          Reads the object from the data store.
 java.sql.Blob CacheDataBackingImpl.loadBlob(HashKey valueHash)
           
protected  boolean CacheStoreManager.loadClusterData(HashKey valueKey, CacheConfig config)
          Load the cluster data from the triad.
 boolean AbstractCacheEngine.loadData(HashKey valueKey, int flags)
           
 boolean CacheEngine.loadData(HashKey valueKey, int flags)
           
 boolean CacheDataBackingImpl.loadData(HashKey valueHash, WriteStream os)
           
 boolean CacheImpl.loadData(HashKey valueHash, WriteStream os)
           
 DistCacheEntry CacheStoreManager.loadLocalEntry(HashKey key)
           
 MnodeEntry CacheDataBackingImpl.loadLocalEntryValue(HashKey key)
          Returns the local value from the database
 void LoadDataCallback.onLoad(HashKey key, java.io.InputStream is)
           
 void MnodeOrphanListener.onOrphanValue(HashKey value)
           
 void CacheMnodeListener.onPut(HashKey key, MnodeEntry value)
           
 java.io.InputStream DataStore.openInputStream(HashKey id)
          Reads the object from the data store.
 ExtCacheEntry CacheStoreManager.put(HashKey hashKey, java.io.InputStream is, CacheConfig config, long idleTimeout)
          Sets a cache entry
 void AbstractCacheEngine.put(HashKey key, MnodeUpdate mnodeUpdate, MnodeEntry mnodeValue)
           
 void CacheEngine.put(HashKey key, MnodeUpdate mnodeUpdate, MnodeEntry mnodeValue)
           
 void CacheStoreManager.put(HashKey hashKey, java.lang.Object value, CacheConfig config)
          Sets a cache entry
 boolean CacheDataBackingImpl.putLocalValue(MnodeEntry mnodeValue, HashKey key, MnodeEntry oldEntryValue, MnodeUpdate mnodeUpdate)
           
protected  java.lang.Object CacheStoreManager.readData(HashKey valueKey, CacheSerializer serializer, CacheConfig config)
           
 boolean CacheStoreManager.remove(HashKey key, CacheConfig config)
          Sets a cache entry
 void AbstractCacheEngine.remove(HashKey key, MnodeUpdate mnodeUpdate, MnodeEntry mnodeEntry)
           
 void CacheEngine.remove(HashKey key, MnodeUpdate mnodeUpdate, MnodeEntry mnodeEntry)
           
 boolean DataStore.save(HashKey id, java.io.InputStream is, int length)
          Saves the data, returning true on success.
 boolean DataStore.save(HashKey id, StreamSource source, int length)
          Saves the data, returning true on success.
 boolean CacheDataBackingImpl.saveData(HashKey valueHash, StreamSource source, int length)
           
 boolean CacheImpl.saveData(HashKey valueHash, StreamSource source, int length)
           
 void CacheStoreManager.saveLocalUpdateTime(HashKey key, long version, long accessTimeout, long updateTime)
          Sets a cache entry
 MnodeEntry CacheDataBackingImpl.saveLocalUpdateTime(HashKey keyHash, MnodeEntry mnodeValue, MnodeEntry oldMnodeValue)
           
 void CacheConfig.setCacheKey(HashKey cacheKey)
          Sets the globally-unique id for the cache
 boolean DataStore.updateExpires(HashKey id)
          Updates the expires time for the data.
 void AbstractCacheEngine.updateTime(HashKey key, MnodeEntry mnodeValue)
           
 void CacheEngine.updateTime(HashKey key, MnodeEntry mnodeValue)
           
 boolean MnodeStore.updateUpdateTime(HashKey id, long itemVersion, long accessTimeout, long updateTime)
          Updates the update time, returning true on success
 CacheStoreManager.DataItem CacheStoreManager.writeData(HashKey oldValueHash, java.io.InputStream is)
           
 

Constructors in com.caucho.server.distcache with parameters of type HashKey
CacheData(HashKey key, HashKey value, long valueLength, long version, HashKey cacheKey, long flags, long accessTime, long accessedTimeout, long modifiedTimeout)
           
DistCacheEntry(CacheStoreManager engine, java.lang.Object key, HashKey keyHash, TriadOwner owner)
           
DistCacheEntry(CacheStoreManager engine, java.lang.Object key, HashKey keyHash, TriadOwner owner, CacheConfig config)
           
MnodeEntry(HashKey valueHash, long valueLength, long version, java.lang.Object value, HashKey cacheHash, long flags, long accessedExpireTimeout, long modifiedExpireTimeout, long leaseTimeout, long lastAccessTime, long lastUpdateTime, boolean isServerVersionValid, boolean isImplicitNull)
           
MnodeUpdate(HashKey keyHash, HashKey valueHash, long valueLength, long version, CacheConfig config)
           
MnodeValue(HashKey valueHash, long valueLength, long version, 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)