public class ReplicatedCache<T extends ReplicatedCache> extends Object
| Constructor and Description |
|---|
ReplicatedCache(String key) |
| Modifier and Type | Method and Description |
|---|---|
Long |
activations()
The number of cache node activations (bringing a node into memory from a cache store) .
|
T |
activations(Long value)
The number of cache node activations (bringing a node into memory from a cache store) .
|
Long |
averageReadTime()
Average time (in ms) for cache reads.
|
T |
averageReadTime(Long value)
Average time (in ms) for cache reads.
|
Long |
averageReplicationTime()
The average time taken to replicate data around the cluster.
|
T |
averageReplicationTime(Long value)
The average time taken to replicate data around the cluster.
|
Long |
averageWriteTime()
Average time (in ms) for cache writes.
|
T |
averageWriteTime(Long value)
Average time (in ms) for cache writes.
|
String |
cacheStatus()
The status of the cache component.
|
T |
cacheStatus(String value)
The status of the cache component.
|
ComponentBackupFor |
componentBackupFor()
A cache for which this cache acts as a backup (for use with cross site replication).
|
T |
componentBackupFor(ComponentBackupFor value)
A cache for which this cache acts as a backup (for use with cross site replication).
|
ComponentBackups |
componentBackups()
The remote backups for this cache.
|
T |
componentBackups(ComponentBackups value)
The remote backups for this cache.
|
ComponentEviction |
componentEviction()
The cache eviction configuration.
|
T |
componentEviction(ComponentEviction value)
The cache eviction configuration.
|
ComponentExpiration |
componentExpiration()
The cache expiration configuration.
|
T |
componentExpiration(ComponentExpiration value)
The cache expiration configuration.
|
ComponentLocking |
componentLocking()
The locking configuration of the cache.
|
T |
componentLocking(ComponentLocking value)
The locking configuration of the cache.
|
ComponentPartitionHandling |
componentPartitionHandling()
The partition handling configuration for distributed and replicated caches.
|
T |
componentPartitionHandling(ComponentPartitionHandling value)
The partition handling configuration for distributed and replicated caches.
|
ComponentStateTransfer |
componentStateTransfer()
The state transfer configuration for distributed and replicated caches.
|
T |
componentStateTransfer(ComponentStateTransfer value)
The state transfer configuration for distributed and replicated caches.
|
ComponentTransaction |
componentTransaction()
The cache transaction configuration.
|
T |
componentTransaction(ComponentTransaction value)
The cache transaction configuration.
|
Long |
elapsedTime()
Time (in secs) since cache started.
|
T |
elapsedTime(Long value)
Time (in secs) since cache started.
|
String |
getKey() |
Double |
hitRatio()
The hit/miss ratio for the cache (hits/hits+misses).
|
T |
hitRatio(Double value)
The hit/miss ratio for the cache (hits/hits+misses).
|
Long |
hits()
The number of cache attribute hits.
|
T |
hits(Long value)
The number of cache attribute hits.
|
Long |
invalidations()
The number of cache invalidations.
|
T |
invalidations(Long value)
The number of cache invalidations.
|
String |
jndiName()
The jndi-name to which to bind this cache instance.
|
T |
jndiName(String value)
The jndi-name to which to bind this cache instance.
|
Long |
misses()
The number of cache attribute misses.
|
T |
misses(Long value)
The number of cache attribute misses.
|
String |
mode()
Sets the clustered cache mode, ASYNC for asynchronous operation, or SYNC for synchronous operation.
|
T |
mode(String value)
Sets the clustered cache mode, ASYNC for asynchronous operation, or SYNC for synchronous operation.
|
String |
module()
The module whose class loader should be used when building this cache's configuration.
|
T |
module(String value)
The module whose class loader should be used when building this cache's configuration.
|
Integer |
numberOfEntries()
The current number of entries in the cache.
|
T |
numberOfEntries(Integer value)
The current number of entries in the cache.
|
Long |
passivations()
The number of cache node passivations (passivating a node from memory to a cache store).
|
T |
passivations(Long value)
The number of cache node passivations (passivating a node from memory to a cache store).
|
Long |
queueFlushInterval()
In ASYNC mode, this attribute controls how often the asynchronous thread used to flush the replication queue runs.
|
T |
queueFlushInterval(Long value)
In ASYNC mode, this attribute controls how often the asynchronous thread used to flush the replication queue runs.
|
Integer |
queueSize()
In ASYNC mode, this attribute can be used to trigger flushing of the queue when it reaches a specific threshold.
|
T |
queueSize(Integer value)
In ASYNC mode, this attribute can be used to trigger flushing of the queue when it reaches a specific threshold.
|
Double |
readWriteRatio()
The read/write ratio of the cache ((hits+misses)/stores).
|
T |
readWriteRatio(Double value)
The read/write ratio of the cache ((hits+misses)/stores).
|
Long |
remoteTimeout()
In SYNC mode, the timeout (in ms) used to wait for an acknowledgment when making a remote call, after which the call is aborted and an exception is thrown.
|
T |
remoteTimeout(Long value)
In SYNC mode, the timeout (in ms) used to wait for an acknowledgment when making a remote call, after which the call is aborted and an exception is thrown.
|
Long |
removeHits()
The number of cache attribute remove hits.
|
T |
removeHits(Long value)
The number of cache attribute remove hits.
|
Long |
removeMisses()
The number of cache attribute remove misses.
|
T |
removeMisses(Long value)
The number of cache attribute remove misses.
|
Long |
replicationCount()
The number of times data was replicated around the cluster.
|
T |
replicationCount(Long value)
The number of times data was replicated around the cluster.
|
Long |
replicationFailures()
The number of data replication failures.
|
T |
replicationFailures(Long value)
The number of data replication failures.
|
Boolean |
statisticsEnabled()
If enabled, statistics will be collected for this cache
|
T |
statisticsEnabled(Boolean value)
If enabled, statistics will be collected for this cache
|
StoreBinaryJdbc |
storeBinaryJdbc()
The cache JDBC store configuration.
|
T |
storeBinaryJdbc(StoreBinaryJdbc value)
The cache JDBC store configuration.
|
StoreCustom |
storeCustom()
The cache store configuration.
|
T |
storeCustom(StoreCustom value)
The cache store configuration.
|
StoreFile |
storeFile()
The cache file store configuration.
|
T |
storeFile(StoreFile value)
The cache file store configuration.
|
StoreMixedJdbc |
storeMixedJdbc()
The cache JDBC store configuration.
|
T |
storeMixedJdbc(StoreMixedJdbc value)
The cache JDBC store configuration.
|
StoreNone |
storeNone()
A store-less configuration.
|
T |
storeNone(StoreNone value)
A store-less configuration.
|
StoreRemote |
storeRemote()
The cache remote store configuration.
|
T |
storeRemote(StoreRemote value)
The cache remote store configuration.
|
Long |
stores()
The number of cache attribute put operations.
|
T |
stores(Long value)
The number of cache attribute put operations.
|
StoreStringJdbc |
storeStringJdbc()
The cache JDBC store configuration.
|
T |
storeStringJdbc(StoreStringJdbc value)
The cache JDBC store configuration.
|
Double |
successRatio()
The data replication success ratio (successes/successes+failures).
|
T |
successRatio(Double value)
The data replication success ratio (successes/successes+failures).
|
Long |
timeSinceReset()
Time (in secs) since cache statistics were reset.
|
T |
timeSinceReset(Long value)
Time (in secs) since cache statistics were reset.
|
public ReplicatedCache(String key)
public String getKey()
public Long activations()
public T activations(Long value)
public Long averageReadTime()
public T averageReadTime(Long value)
public Long averageReplicationTime()
public T averageReplicationTime(Long value)
public Long averageWriteTime()
public T averageWriteTime(Long value)
public String cacheStatus()
public T cacheStatus(String value)
public Long elapsedTime()
public T elapsedTime(Long value)
public Double hitRatio()
public T hitRatio(Double value)
public Long hits()
public T hits(Long value)
public Long invalidations()
public T invalidations(Long value)
public String jndiName()
public Long misses()
public T misses(Long value)
public String mode()
public T mode(String value)
public String module()
public T module(String value)
public Integer numberOfEntries()
public T numberOfEntries(Integer value)
public Long passivations()
public T passivations(Long value)
public Long queueFlushInterval()
public T queueFlushInterval(Long value)
public Integer queueSize()
public T queueSize(Integer value)
public Double readWriteRatio()
public T readWriteRatio(Double value)
public Long remoteTimeout()
public T remoteTimeout(Long value)
public Long removeHits()
public T removeHits(Long value)
public Long removeMisses()
public T removeMisses(Long value)
public Long replicationCount()
public T replicationCount(Long value)
public Long replicationFailures()
public T replicationFailures(Long value)
public Boolean statisticsEnabled()
public T statisticsEnabled(Boolean value)
public Long stores()
public T stores(Long value)
public Double successRatio()
public T successRatio(Double value)
public Long timeSinceReset()
public T timeSinceReset(Long value)
public ComponentEviction componentEviction()
public T componentEviction(ComponentEviction value)
public ComponentExpiration componentExpiration()
public T componentExpiration(ComponentExpiration value)
public StoreCustom storeCustom()
public T storeCustom(StoreCustom value)
public StoreNone storeNone()
public ComponentBackupFor componentBackupFor()
public T componentBackupFor(ComponentBackupFor value)
public ComponentTransaction componentTransaction()
public T componentTransaction(ComponentTransaction value)
public StoreBinaryJdbc storeBinaryJdbc()
public T storeBinaryJdbc(StoreBinaryJdbc value)
public StoreStringJdbc storeStringJdbc()
public T storeStringJdbc(StoreStringJdbc value)
public StoreFile storeFile()
public ComponentStateTransfer componentStateTransfer()
public T componentStateTransfer(ComponentStateTransfer value)
public ComponentPartitionHandling componentPartitionHandling()
public T componentPartitionHandling(ComponentPartitionHandling value)
public ComponentLocking componentLocking()
public T componentLocking(ComponentLocking value)
public ComponentBackups componentBackups()
public T componentBackups(ComponentBackups value)
public StoreMixedJdbc storeMixedJdbc()
public T storeMixedJdbc(StoreMixedJdbc value)
public StoreRemote storeRemote()
public T storeRemote(StoreRemote value)
Copyright © 2015 JBoss by Red Hat. All rights reserved.