public class LocalCache extends Object
| Constructor and Description |
|---|
LocalCache(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) .
|
LocalCache |
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.
|
LocalCache |
averageReadTime(Long value)
Average time (in ms) for cache reads.
|
Long |
averageWriteTime()
Average time (in ms) for cache writes.
|
LocalCache |
averageWriteTime(Long value)
Average time (in ms) for cache writes.
|
BinaryJdbcStore |
binaryJdbcStore()
The cache JDBC store configuration.
|
LocalCache |
binaryJdbcStore(BinaryJdbcStore value)
The cache JDBC store configuration.
|
String |
cacheStatus()
The status of the cache component.
|
LocalCache |
cacheStatus(String value)
The status of the cache component.
|
CustomStore |
customStore()
The cache store configuration.
|
LocalCache |
customStore(CustomStore value)
The cache store configuration.
|
Long |
elapsedTime()
Time (in secs) since cache started.
|
LocalCache |
elapsedTime(Long value)
Time (in secs) since cache started.
|
EvictionComponent |
evictionComponent()
The cache eviction configuration.
|
LocalCache |
evictionComponent(EvictionComponent value)
The cache eviction configuration.
|
ExpirationComponent |
expirationComponent()
The cache expiration configuration.
|
LocalCache |
expirationComponent(ExpirationComponent value)
The cache expiration configuration.
|
FileStore |
fileStore()
The cache file store configuration.
|
LocalCache |
fileStore(FileStore value)
The cache file store configuration.
|
String |
getKey() |
Double |
hitRatio()
The hit/miss ratio for the cache (hits/hits+misses).
|
LocalCache |
hitRatio(Double value)
The hit/miss ratio for the cache (hits/hits+misses).
|
Long |
hits()
The number of cache attribute hits.
|
LocalCache |
hits(Long value)
The number of cache attribute hits.
|
Long |
invalidations()
The number of cache invalidations.
|
LocalCache |
invalidations(Long value)
The number of cache invalidations.
|
String |
jndiName()
The jndi-name to which to bind this cache instance.
|
LocalCache |
jndiName(String value)
The jndi-name to which to bind this cache instance.
|
LockingComponent |
lockingComponent()
The locking configuration of the cache.
|
LocalCache |
lockingComponent(LockingComponent value)
The locking configuration of the cache.
|
Long |
misses()
The number of cache attribute misses.
|
LocalCache |
misses(Long value)
The number of cache attribute misses.
|
MixedJdbcStore |
mixedJdbcStore()
The cache JDBC store configuration.
|
LocalCache |
mixedJdbcStore(MixedJdbcStore value)
The cache JDBC store configuration.
|
String |
module()
The module whose class loader should be used when building this cache's configuration.
|
LocalCache |
module(String value)
The module whose class loader should be used when building this cache's configuration.
|
NoneStore |
noneStore()
A store-less configuration.
|
LocalCache |
noneStore(NoneStore value)
A store-less configuration.
|
Integer |
numberOfEntries()
The current number of entries in the cache.
|
LocalCache |
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).
|
LocalCache |
passivations(Long value)
The number of cache node passivations (passivating a node from memory to a cache store).
|
Double |
readWriteRatio()
The read/write ratio of the cache ((hits+misses)/stores).
|
LocalCache |
readWriteRatio(Double value)
The read/write ratio of the cache ((hits+misses)/stores).
|
RemoteStore |
remoteStore()
The cache remote store configuration.
|
LocalCache |
remoteStore(RemoteStore value)
The cache remote store configuration.
|
Long |
removeHits()
The number of cache attribute remove hits.
|
LocalCache |
removeHits(Long value)
The number of cache attribute remove hits.
|
Long |
removeMisses()
The number of cache attribute remove misses.
|
LocalCache |
removeMisses(Long value)
The number of cache attribute remove misses.
|
Boolean |
statisticsEnabled()
If enabled, statistics will be collected for this cache
|
LocalCache |
statisticsEnabled(Boolean value)
If enabled, statistics will be collected for this cache
|
Long |
stores()
The number of cache attribute put operations.
|
LocalCache |
stores(Long value)
The number of cache attribute put operations.
|
StringJdbcStore |
stringJdbcStore()
The cache JDBC store configuration.
|
LocalCache |
stringJdbcStore(StringJdbcStore value)
The cache JDBC store configuration.
|
Long |
timeSinceReset()
Time (in secs) since cache statistics were reset.
|
LocalCache |
timeSinceReset(Long value)
Time (in secs) since cache statistics were reset.
|
TransactionComponent |
transactionComponent()
The cache transaction configuration.
|
LocalCache |
transactionComponent(TransactionComponent value)
The cache transaction configuration.
|
public LocalCache(String key)
public String getKey()
public Long activations()
public LocalCache activations(Long value)
public Long averageReadTime()
public LocalCache averageReadTime(Long value)
public Long averageWriteTime()
public LocalCache averageWriteTime(Long value)
public String cacheStatus()
public LocalCache cacheStatus(String value)
public Long elapsedTime()
public LocalCache elapsedTime(Long value)
public Double hitRatio()
public LocalCache hitRatio(Double value)
public Long hits()
public LocalCache hits(Long value)
public Long invalidations()
public LocalCache invalidations(Long value)
public String jndiName()
public LocalCache jndiName(String value)
public Long misses()
public LocalCache misses(Long value)
public String module()
public LocalCache module(String value)
public Integer numberOfEntries()
public LocalCache numberOfEntries(Integer value)
public Long passivations()
public LocalCache passivations(Long value)
public Double readWriteRatio()
public LocalCache readWriteRatio(Double value)
public Long removeHits()
public LocalCache removeHits(Long value)
public Long removeMisses()
public LocalCache removeMisses(Long value)
public Boolean statisticsEnabled()
public LocalCache statisticsEnabled(Boolean value)
public Long stores()
public LocalCache stores(Long value)
public Long timeSinceReset()
public LocalCache timeSinceReset(Long value)
public EvictionComponent evictionComponent()
public LocalCache evictionComponent(EvictionComponent value)
public StringJdbcStore stringJdbcStore()
public LocalCache stringJdbcStore(StringJdbcStore value)
public CustomStore customStore()
public LocalCache customStore(CustomStore value)
public ExpirationComponent expirationComponent()
public LocalCache expirationComponent(ExpirationComponent value)
public FileStore fileStore()
public LocalCache fileStore(FileStore value)
public NoneStore noneStore()
public LocalCache noneStore(NoneStore value)
public TransactionComponent transactionComponent()
public LocalCache transactionComponent(TransactionComponent value)
public LockingComponent lockingComponent()
public LocalCache lockingComponent(LockingComponent value)
public BinaryJdbcStore binaryJdbcStore()
public LocalCache binaryJdbcStore(BinaryJdbcStore value)
public MixedJdbcStore mixedJdbcStore()
public LocalCache mixedJdbcStore(MixedJdbcStore value)
public RemoteStore remoteStore()
public LocalCache remoteStore(RemoteStore value)
Copyright © 2015 JBoss by Red Hat. All rights reserved.