Oracle Fusion Middleware
Java API Reference for Oracle WebLogic Server
12c (12.1.2)

Part Number E27170-01

weblogic.management.configuration
Interface CacheMBean

All Superinterfaces:
ConfigurationMBean, DeploymentMBean, DescriptorBean, DynamicMBean, MBeanRegistration, NotificationBroadcaster, SettableBean, WebLogicMBean

public interface CacheMBean
extends DeploymentMBean


Field Summary
static String EVICTION_FIFO
           
static String EVICTION_LFU
           
static String EVICTION_LRU
           
static String EVICTION_NRU
           
 
Fields inherited from interface weblogic.management.configuration.DeploymentMBean
DEFAULT_ORDER, MAX_ORDER, MIN_ORDER
 
Fields inherited from interface weblogic.management.configuration.ConfigurationMBean
DEFAULT_EMPTY_BYTE_ARRAY
 
Method Summary
 CacheAsyncListenersMBean getAsyncListeners()
           
 String getEvictionPolicy()
          The eviction policy to choose when the number of entries in cache hits the maximum
 CacheExpirationMBean getExpiration()
           
 String getJNDIName()
          The JNDI name that the cache should to be bound to
 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)
           
 
Methods inherited from interface weblogic.management.configuration.DeploymentMBean
addTarget, getDeploymentOrder, getTargets, removeTarget, setDeploymentOrder, setTargets
 
Methods inherited from interface weblogic.management.configuration.ConfigurationMBean
freezeCurrentValue, getId, getInheritedProperties, getName, getNotes, isDynamicallyCreated, isInherited, isSet, restoreDefaultValue, setComments, setDefaultedMBean, setName, setNotes, setPersistenceEnabled, unSet
 
Methods inherited from interface weblogic.management.WebLogicMBean
getMBeanInfo, getObjectName, getParent, getType, isCachingDisabled, isRegistered, setParent
 
Methods inherited from interface javax.management.DynamicMBean
getAttribute, getAttributes, invoke, setAttribute, setAttributes
 
Methods inherited from interface javax.management.MBeanRegistration
postDeregister, postRegister, preDeregister, preRegister
 
Methods inherited from interface javax.management.NotificationBroadcaster
addNotificationListener, getNotificationInfo, removeNotificationListener
 
Methods inherited from interface weblogic.descriptor.DescriptorBean
addPropertyChangeListener, createChildCopyIncludingObsolete, getParentBean, isEditable, removePropertyChangeListener
 

Field Detail

EVICTION_LRU

static final String EVICTION_LRU
See Also:
Constant Field Values

EVICTION_NRU

static final String EVICTION_NRU
See Also:
Constant Field Values

EVICTION_FIFO

static final String EVICTION_FIFO
See Also:
Constant Field Values

EVICTION_LFU

static final String EVICTION_LFU
See Also:
Constant Field Values
Method Detail

getJNDIName

String getJNDIName()
The JNDI name that the cache should to be bound to

This method can NOT set a null value.

setJNDIName

void setJNDIName(String jndiName)

getMaxCacheUnits

int getMaxCacheUnits()
Maximum number of cache elements in memory after which eviction/paging occurs. This value is defined as an Integer.

Default Value:
64
Minimum Value:
1

setMaxCacheUnits

void setMaxCacheUnits(int maxEntries)

isMaxCacheUnitsSet

boolean isMaxCacheUnitsSet()

getExpiration

CacheExpirationMBean getExpiration()

getEvictionPolicy

String getEvictionPolicy()
The eviction policy to choose when the number of entries in cache hits the maximum

Default Value:
CacheMBean.EVICTION_LFU
Valid Values:
CacheMBean.EVICTION_LRU, CacheMBean.EVICTION_NRU, CacheMBean.EVICTION_FIFO, CacheMBean.EVICTION_LFU

setEvictionPolicy

void setEvictionPolicy(String policy)

isEvictionPolicySet

boolean isEvictionPolicySet()

getWorkManager

String getWorkManager()
Set the default work manager to use for all asynchronous caching tasks. If none of the specific work managers are specified, this work manager is used. This work manager may be overriden by other work managers configured for specific tasks like store backup, listeners etc


setWorkManager

void setWorkManager(String workManagerName)

isWorkManagerSet

boolean isWorkManagerSet()

getLoader

CacheLoaderMBean getLoader()
The configuration parameters for self-loading caches


getStore

CacheStoreMBean getStore()
The configuraiton parameters for self-backing caches


getTransactional

CacheTransactionMBean getTransactional()

getAsyncListeners

CacheAsyncListenersMBean getAsyncListeners()

Copyright 1996, 2013, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.

Oracle Fusion Middleware
Java API Reference for Oracle WebLogic Server
12c (12.1.2)

Part Number E27170-01