public class LocalCache<T extends 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) .
|
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 |
averageWriteTime()
Average time (in ms) for cache writes.
|
T |
averageWriteTime(Long value)
Average time (in ms) for cache writes.
|
BinaryJDBCStore |
binaryJdbcStore()
The cache JDBC store configuration.
|
T |
binaryJdbcStore(BinaryJDBCStore value)
The cache JDBC store configuration.
|
String |
cacheStatus()
The status of the cache component.
|
T |
cacheStatus(String value)
The status of the cache component.
|
CustomStore |
customStore()
The cache store configuration.
|
T |
customStore(CustomStore value)
The cache store configuration.
|
Long |
elapsedTime()
Time (in secs) since cache started.
|
T |
elapsedTime(Long value)
Time (in secs) since cache started.
|
EvictionComponent |
evictionComponent()
The cache eviction configuration.
|
T |
evictionComponent(EvictionComponent value)
The cache eviction configuration.
|
ExpirationComponent |
expirationComponent()
The cache expiration configuration.
|
T |
expirationComponent(ExpirationComponent value)
The cache expiration configuration.
|
FileStore |
fileStore()
The cache file store configuration.
|
T |
fileStore(FileStore value)
The cache file store configuration.
|
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.
|
LockingComponent |
lockingComponent()
The locking configuration of the cache.
|
T |
lockingComponent(LockingComponent value)
The locking configuration of the cache.
|
Long |
misses()
The number of cache attribute misses.
|
T |
misses(Long value)
The number of cache attribute misses.
|
MixedJDBCStore |
mixedJdbcStore()
The cache JDBC store configuration.
|
T |
mixedJdbcStore(MixedJDBCStore value)
The cache JDBC store configuration.
|
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.
|
NoneStore |
noneStore()
A store-less configuration.
|
T |
noneStore(NoneStore value)
A store-less 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).
|
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).
|
RemoteStore |
remoteStore()
The cache remote store configuration.
|
T |
remoteStore(RemoteStore value)
The cache remote store configuration.
|
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.
|
Boolean |
statisticsEnabled()
If enabled, statistics will be collected for this cache
|
T |
statisticsEnabled(Boolean value)
If enabled, statistics will be collected for this cache
|
Long |
stores()
The number of cache attribute put operations.
|
T |
stores(Long value)
The number of cache attribute put operations.
|
StringJDBCStore |
stringJdbcStore()
The cache JDBC store configuration.
|
T |
stringJdbcStore(StringJDBCStore value)
The cache JDBC store configuration.
|
Long |
timeSinceReset()
Time (in secs) since cache statistics were reset.
|
T |
timeSinceReset(Long value)
Time (in secs) since cache statistics were reset.
|
TransactionComponent |
transactionComponent()
The cache transaction configuration.
|
T |
transactionComponent(TransactionComponent value)
The cache transaction configuration.
|
public LocalCache(String key)
public String getKey()
public Long activations()
public T activations(Long value)
public Long averageReadTime()
public T averageReadTime(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 module()
public T module(String value)
public Integer numberOfEntries()
public T numberOfEntries(Integer value)
public Long passivations()
public T passivations(Long value)
public Double readWriteRatio()
public T readWriteRatio(Double value)
public Long removeHits()
public T removeHits(Long value)
public Long removeMisses()
public T removeMisses(Long value)
public Boolean statisticsEnabled()
public T statisticsEnabled(Boolean value)
public Long stores()
public T stores(Long value)
public Long timeSinceReset()
public T timeSinceReset(Long value)
public EvictionComponent evictionComponent()
public T evictionComponent(EvictionComponent value)
public StringJDBCStore stringJdbcStore()
public T stringJdbcStore(StringJDBCStore value)
public CustomStore customStore()
public T customStore(CustomStore value)
public ExpirationComponent expirationComponent()
public T expirationComponent(ExpirationComponent value)
public FileStore fileStore()
public NoneStore noneStore()
public TransactionComponent transactionComponent()
public T transactionComponent(TransactionComponent value)
public LockingComponent lockingComponent()
public T lockingComponent(LockingComponent value)
public BinaryJDBCStore binaryJdbcStore()
public T binaryJdbcStore(BinaryJDBCStore value)
public MixedJDBCStore mixedJdbcStore()
public T mixedJdbcStore(MixedJDBCStore value)
public RemoteStore remoteStore()
public T remoteStore(RemoteStore value)
Copyright © 2015 JBoss by Red Hat. All rights reserved.