public class 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) .
|
ReplicatedCache |
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.
|
ReplicatedCache |
averageReadTime(Long value)
Average time (in ms) for cache reads.
|
Long |
averageReplicationTime()
The average time taken to replicate data around the cluster.
|
ReplicatedCache |
averageReplicationTime(Long value)
The average time taken to replicate data around the cluster.
|
Long |
averageWriteTime()
Average time (in ms) for cache writes.
|
ReplicatedCache |
averageWriteTime(Long value)
Average time (in ms) for cache writes.
|
BackupForComponent |
backupForComponent()
A cache for which this cache acts as a backup (for use with cross site replication).
|
ReplicatedCache |
backupForComponent(BackupForComponent value)
A cache for which this cache acts as a backup (for use with cross site replication).
|
BackupsComponent |
backupsComponent()
The remote backups for this cache.
|
ReplicatedCache |
backupsComponent(BackupsComponent value)
The remote backups for this cache.
|
BinaryJdbcStore |
binaryJdbcStore()
The cache JDBC store configuration.
|
ReplicatedCache |
binaryJdbcStore(BinaryJdbcStore value)
The cache JDBC store configuration.
|
String |
cacheStatus()
The status of the cache component.
|
ReplicatedCache |
cacheStatus(String value)
The status of the cache component.
|
CustomStore |
customStore()
The cache store configuration.
|
ReplicatedCache |
customStore(CustomStore value)
The cache store configuration.
|
Long |
elapsedTime()
Time (in secs) since cache started.
|
ReplicatedCache |
elapsedTime(Long value)
Time (in secs) since cache started.
|
EvictionComponent |
evictionComponent()
The cache eviction configuration.
|
ReplicatedCache |
evictionComponent(EvictionComponent value)
The cache eviction configuration.
|
ExpirationComponent |
expirationComponent()
The cache expiration configuration.
|
ReplicatedCache |
expirationComponent(ExpirationComponent value)
The cache expiration configuration.
|
FileStore |
fileStore()
The cache file store configuration.
|
ReplicatedCache |
fileStore(FileStore value)
The cache file store configuration.
|
String |
getKey() |
Double |
hitRatio()
The hit/miss ratio for the cache (hits/hits+misses).
|
ReplicatedCache |
hitRatio(Double value)
The hit/miss ratio for the cache (hits/hits+misses).
|
Long |
hits()
The number of cache attribute hits.
|
ReplicatedCache |
hits(Long value)
The number of cache attribute hits.
|
Long |
invalidations()
The number of cache invalidations.
|
ReplicatedCache |
invalidations(Long value)
The number of cache invalidations.
|
String |
jndiName()
The jndi-name to which to bind this cache instance.
|
ReplicatedCache |
jndiName(String value)
The jndi-name to which to bind this cache instance.
|
LockingComponent |
lockingComponent()
The locking configuration of the cache.
|
ReplicatedCache |
lockingComponent(LockingComponent value)
The locking configuration of the cache.
|
Long |
misses()
The number of cache attribute misses.
|
ReplicatedCache |
misses(Long value)
The number of cache attribute misses.
|
MixedJdbcStore |
mixedJdbcStore()
The cache JDBC store configuration.
|
ReplicatedCache |
mixedJdbcStore(MixedJdbcStore value)
The cache JDBC store configuration.
|
String |
mode()
Sets the clustered cache mode, ASYNC for asynchronous operation, or SYNC for synchronous operation.
|
ReplicatedCache |
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.
|
ReplicatedCache |
module(String value)
The module whose class loader should be used when building this cache's configuration.
|
NoneStore |
noneStore()
A store-less configuration.
|
ReplicatedCache |
noneStore(NoneStore value)
A store-less configuration.
|
Integer |
numberOfEntries()
The current number of entries in the cache.
|
ReplicatedCache |
numberOfEntries(Integer value)
The current number of entries in the cache.
|
PartitionHandlingComponent |
partitionHandlingComponent()
The partition handling configuration for distributed and replicated caches.
|
ReplicatedCache |
partitionHandlingComponent(PartitionHandlingComponent value)
The partition handling configuration for distributed and replicated caches.
|
Long |
passivations()
The number of cache node passivations (passivating a node from memory to a cache store).
|
ReplicatedCache |
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.
|
ReplicatedCache |
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.
|
ReplicatedCache |
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).
|
ReplicatedCache |
readWriteRatio(Double value)
The read/write ratio of the cache ((hits+misses)/stores).
|
RemoteStore |
remoteStore()
The cache remote store configuration.
|
ReplicatedCache |
remoteStore(RemoteStore value)
The cache remote store configuration.
|
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.
|
ReplicatedCache |
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.
|
ReplicatedCache |
removeHits(Long value)
The number of cache attribute remove hits.
|
Long |
removeMisses()
The number of cache attribute remove misses.
|
ReplicatedCache |
removeMisses(Long value)
The number of cache attribute remove misses.
|
Long |
replicationCount()
The number of times data was replicated around the cluster.
|
ReplicatedCache |
replicationCount(Long value)
The number of times data was replicated around the cluster.
|
Long |
replicationFailures()
The number of data replication failures.
|
ReplicatedCache |
replicationFailures(Long value)
The number of data replication failures.
|
StateTransferComponent |
stateTransferComponent()
The state transfer configuration for distributed and replicated caches.
|
ReplicatedCache |
stateTransferComponent(StateTransferComponent value)
The state transfer configuration for distributed and replicated caches.
|
Boolean |
statisticsEnabled()
If enabled, statistics will be collected for this cache
|
ReplicatedCache |
statisticsEnabled(Boolean value)
If enabled, statistics will be collected for this cache
|
Long |
stores()
The number of cache attribute put operations.
|
ReplicatedCache |
stores(Long value)
The number of cache attribute put operations.
|
StringJdbcStore |
stringJdbcStore()
The cache JDBC store configuration.
|
ReplicatedCache |
stringJdbcStore(StringJdbcStore value)
The cache JDBC store configuration.
|
Double |
successRatio()
The data replication success ratio (successes/successes+failures).
|
ReplicatedCache |
successRatio(Double value)
The data replication success ratio (successes/successes+failures).
|
Long |
timeSinceReset()
Time (in secs) since cache statistics were reset.
|
ReplicatedCache |
timeSinceReset(Long value)
Time (in secs) since cache statistics were reset.
|
TransactionComponent |
transactionComponent()
The cache transaction configuration.
|
ReplicatedCache |
transactionComponent(TransactionComponent value)
The cache transaction configuration.
|
public ReplicatedCache(String key)
public String getKey()
public Long activations()
public ReplicatedCache activations(Long value)
public Long averageReadTime()
public ReplicatedCache averageReadTime(Long value)
public Long averageReplicationTime()
public ReplicatedCache averageReplicationTime(Long value)
public Long averageWriteTime()
public ReplicatedCache averageWriteTime(Long value)
public String cacheStatus()
public ReplicatedCache cacheStatus(String value)
public Long elapsedTime()
public ReplicatedCache elapsedTime(Long value)
public Double hitRatio()
public ReplicatedCache hitRatio(Double value)
public Long hits()
public ReplicatedCache hits(Long value)
public Long invalidations()
public ReplicatedCache invalidations(Long value)
public String jndiName()
public ReplicatedCache jndiName(String value)
public Long misses()
public ReplicatedCache misses(Long value)
public String mode()
public ReplicatedCache mode(String value)
public String module()
public ReplicatedCache module(String value)
public Integer numberOfEntries()
public ReplicatedCache numberOfEntries(Integer value)
public Long passivations()
public ReplicatedCache passivations(Long value)
public Long queueFlushInterval()
public ReplicatedCache queueFlushInterval(Long value)
public Integer queueSize()
public ReplicatedCache queueSize(Integer value)
public Double readWriteRatio()
public ReplicatedCache readWriteRatio(Double value)
public Long remoteTimeout()
public ReplicatedCache remoteTimeout(Long value)
public Long removeHits()
public ReplicatedCache removeHits(Long value)
public Long removeMisses()
public ReplicatedCache removeMisses(Long value)
public Long replicationCount()
public ReplicatedCache replicationCount(Long value)
public Long replicationFailures()
public ReplicatedCache replicationFailures(Long value)
public Boolean statisticsEnabled()
public ReplicatedCache statisticsEnabled(Boolean value)
public Long stores()
public ReplicatedCache stores(Long value)
public Double successRatio()
public ReplicatedCache successRatio(Double value)
public Long timeSinceReset()
public ReplicatedCache timeSinceReset(Long value)
public EvictionComponent evictionComponent()
public ReplicatedCache evictionComponent(EvictionComponent value)
public ExpirationComponent expirationComponent()
public ReplicatedCache expirationComponent(ExpirationComponent value)
public CustomStore customStore()
public ReplicatedCache customStore(CustomStore value)
public NoneStore noneStore()
public ReplicatedCache noneStore(NoneStore value)
public BackupForComponent backupForComponent()
public ReplicatedCache backupForComponent(BackupForComponent value)
public TransactionComponent transactionComponent()
public ReplicatedCache transactionComponent(TransactionComponent value)
public BinaryJdbcStore binaryJdbcStore()
public ReplicatedCache binaryJdbcStore(BinaryJdbcStore value)
public StringJdbcStore stringJdbcStore()
public ReplicatedCache stringJdbcStore(StringJdbcStore value)
public FileStore fileStore()
public ReplicatedCache fileStore(FileStore value)
public StateTransferComponent stateTransferComponent()
public ReplicatedCache stateTransferComponent(StateTransferComponent value)
public PartitionHandlingComponent partitionHandlingComponent()
public ReplicatedCache partitionHandlingComponent(PartitionHandlingComponent value)
public LockingComponent lockingComponent()
public ReplicatedCache lockingComponent(LockingComponent value)
public BackupsComponent backupsComponent()
public ReplicatedCache backupsComponent(BackupsComponent value)
public MixedJdbcStore mixedJdbcStore()
public ReplicatedCache mixedJdbcStore(MixedJdbcStore value)
public RemoteStore remoteStore()
public ReplicatedCache remoteStore(RemoteStore value)
Copyright © 2015 JBoss by Red Hat. All rights reserved.