|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use HashKey | |
|---|---|
| com.caucho.server.cluster | |
| Uses of HashKey in com.caucho.server.cluster |
|---|
| Fields in com.caucho.server.cluster with type parameters of type HashKey | |
|---|---|
protected LruCache<HashKey,ClusterObject> |
StoreManager._clusterObjects
|
protected java.util.HashMap<HashKey,Store> |
StoreManager._storeMap
|
| Methods in com.caucho.server.cluster that return HashKey | |
|---|---|
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 |
Store.getId()
Gets the store identifier. |
HashKey |
ClusterObject.getObjectId()
Returns the object id. |
HashKey |
ClusterObject.getStoreId()
Returns the objectStore id. |
| Methods in com.caucho.server.cluster with parameters of type HashKey | |
|---|---|
void |
StoreManager.access(HashKey objectId)
Updates the object's objectAccess time. |
void |
ClusterStoreManager.accessImpl(HashKey objectId)
Updates the object's objectAccess time. |
void |
JdbcStoreManager.accessImpl(HashKey objectId)
Updates the object's objectAccess time. |
abstract void |
StoreManager.accessImpl(HashKey objectId)
Updates the object's objectAccess time in the persistent objectStore. |
void |
FileStoreManager.accessImpl(HashKey objectId)
Updates the object's objectAccess time in the persistent objectStore. |
protected ClusterObject |
StoreManager.create(Store store,
HashKey key,
int primary,
int secondary,
int tertiary)
Creates the cluster object. |
HashKey |
HashManager.generateHash(HashKey priorHash,
java.lang.String key)
Generates a hash from a prior hash and a string |
Store |
StoreManager.getStore(HashKey storeKey)
Creates a ClusterObjectManager. |
void |
StoreManager.invalidate(HashKey objectId)
Notify the object that the data has changed. |
byte[] |
ClusterStoreManager.read(HashKey key,
WriteStream os)
Reads from the objectStore. |
byte[] |
FileBacking.read(HashKey id,
WriteStream os)
Reads from the objectStore. |
void |
ClusterStoreManager.remove(HashKey objectId)
When the object is no longer valid, objectRemove it from the backing objectStore. |
void |
FileBacking.remove(HashKey id)
Removes the named object from the objectStore. |
Store |
StoreManager.removeStore(HashKey storeKey)
Removes a Store. |
void |
ClusterStoreManager.save(HashKey objectId,
HashKey storeId,
long expireInterval,
java.io.InputStream is,
byte[] digest,
byte[] oldDigest,
int primary,
int secondary,
int tertiary)
Updates the objectStore. |
void |
StoreManager.setExpireInterval(HashKey uniqueId,
long expires)
Sets the timef for the expires interval. |
void |
FileStoreManager.setExpireInterval(HashKey objectId,
long expires)
Sets the timef for the expires interval. |
void |
FileBacking.setExpireInterval(HashKey id,
long expireInterval)
Sets the object's expire_interval. |
void |
FileBacking.store(HashKey id,
HashKey storeId,
java.io.InputStream is,
int length,
byte[] dataHash,
byte[] oldDataHash,
long expireInterval,
int primary,
int secondary,
int tertiary)
Stores the cluster object on the local objectStore. |
boolean |
FileBacking.storeData(HashKey id,
byte[] dataHash,
java.io.InputStream is,
int length)
Stores the cluster object on the local objectStore using an updateImpl query. |
void |
ClusterStoreManager.updateAccess(HashKey objectId)
Updates the object's objectAccess time. |
void |
FileBacking.updateAccess(HashKey id)
Updates the object's objectAccess time. |
void |
ClusterStoreManager.updateMetadata(HashKey objectId,
HashKey storeId,
byte[] dataHash,
long expireInterval,
int primary,
int secondary,
int tertiary,
boolean isDead)
Updates the store from the cluster based on a dump. |
boolean |
FileBacking.updateMetadata(HashKey id,
HashKey storeId,
byte[] dataHash,
long expireInterval,
int primary,
int secondary,
int tertiary,
boolean isDead)
Updates the metadata from a cluster peer. |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||