public interface CacheMBean extends DeploymentMBean
| Modifier and Type | Field and Description |
|---|---|
static String |
EVICTION_FIFO |
static String |
EVICTION_LFU |
static String |
EVICTION_LRU |
static String |
EVICTION_NRU |
DEFAULT_ORDER, MAX_ORDER, MIN_ORDERDEFAULT_EMPTY_BYTE_ARRAY| Modifier and Type | Method and Description |
|---|---|
CacheAsyncListenersMBean |
getAsyncListeners() |
String |
getEvictionPolicy()
The eviction policy to choose when the number of entries in cache
hits the maximum
|
CacheExpirationMBean |
getExpiration() |
String |
getJNDIName() |
CacheLoaderMBean |
getLoader()
The configuration parameters for self-loading caches
|
int |
getMaxCacheUnits()
Maximum number of cache elements in memory after which eviction/paging
occurs.
|
CacheStoreMBean |
getStore()
The configuraiton parameters for self-backing caches
|
CacheTransactionMBean |
getTransactional() |
String |
getWorkManager()
Set the default work manager to use for all asynchronous caching tasks.
|
boolean |
isEvictionPolicySet() |
boolean |
isMaxCacheUnitsSet() |
boolean |
isWorkManagerSet() |
void |
setEvictionPolicy(String policy) |
void |
setJNDIName(String jndiName) |
void |
setMaxCacheUnits(int maxEntries) |
void |
setWorkManager(String workManagerName) |
addTarget, getDeploymentOrder, getTargets, removeTarget, setDeploymentOrder, setTargetsfreezeCurrentValue, getId, getInheritedProperties, getName, getNotes, isDynamicallyCreated, isInherited, isSet, restoreDefaultValue, setComments, setDefaultedMBean, setName, setNotes, setPersistenceEnabled, unSetgetMBeanInfo, getObjectName, getParent, getType, isCachingDisabled, isRegistered, setParentgetAttribute, getAttributes, invoke, setAttribute, setAttributespostDeregister, postRegister, preDeregister, preRegisteraddNotificationListener, getNotificationInfo, removeNotificationListeneraddPropertyChangeListener, createChildCopyIncludingObsolete, getParentBean, isEditable, removePropertyChangeListenerstatic final String EVICTION_LRU
static final String EVICTION_NRU
static final String EVICTION_FIFO
static final String EVICTION_LFU
String getJNDIName()
void setJNDIName(String jndiName)
int getMaxCacheUnits()
void setMaxCacheUnits(int maxEntries)
boolean isMaxCacheUnitsSet()
CacheExpirationMBean getExpiration()
String getEvictionPolicy()
void setEvictionPolicy(String policy)
boolean isEvictionPolicySet()
String getWorkManager()
void setWorkManager(String workManagerName)
boolean isWorkManagerSet()
CacheLoaderMBean getLoader()
CacheStoreMBean getStore()
CacheTransactionMBean getTransactional()
CacheAsyncListenersMBean getAsyncListeners()