@MXBean public interface CacheMXBean
javax.cache:type=Cache
Required Attributes:
| Modifier and Type | Method and Description |
|---|---|
IsolationLevel |
getTransactionIsolationLevel()
Gets the transaction isolation level.
|
Mode |
getTransactionMode()
Gets the transaction mode.
|
boolean |
isManagementEnabled()
Checks whether management is enabled on this cache.
|
boolean |
isReadThrough()
Determines if a
Cache should operate in read-through mode. |
boolean |
isStatisticsEnabled()
Checks whether statistics collection is enabled in this cache.
|
boolean |
isStoreByValue()
Whether storeByValue (true) or storeByReference (false).
|
boolean |
isTransactionsEnabled()
Checks whether transactions are enabled for this cache.
|
boolean |
isWriteThrough()
Determines if a
Cache should operate in "write-through"
mode. |
boolean isReadThrough()
Cache should operate in read-through mode.
When in read-through mode, cache misses that occur due to cache entries
not existing as a result of performing a "get" call via one of
Cache.get(K),
Cache.getAll(java.util.Set<? extends K>),
Cache.getAndRemove(K) and/or
Cache.getAndReplace(K, V) will appropriately
cause the configured CacheLoader to be
invoked.
The default value is false.true when a Cache is in
"read-through" mode.CacheLoaderboolean isWriteThrough()
Cache should operate in "write-through"
mode.
When in "write-through" mode, cache updates that occur as a result of
performing "put" operations called via one of
Cache.put(K, V),
Cache.getAndRemove(K),
Cache.removeAll(java.util.Set<? extends K>),
Cache.getAndPut(K, V)
Cache.getAndRemove(K),
Cache.getAndReplace(K, V),
Cache.invoke(K, javax.cache.processor.EntryProcessor<K, V, T>, java.lang.Object...)
Cache.invokeAll(java.util.Set<? extends K>, javax.cache.processor.EntryProcessor<K, V, T>, java.lang.Object...)
will appropriately cause the configured
CacheWriter to be invoked.
The default value is false.true when a Cache is in
"write-through" mode.CacheWriterboolean isStoreByValue()
true.boolean isStatisticsEnabled()
false.boolean isManagementEnabled()
false.boolean isTransactionsEnabled()
false.IsolationLevel getTransactionIsolationLevel()
IsolationLevel.NONE.Copyright © 2013. All Rights Reserved.