BEA Systems, Inc.

WebLogic Server 6.1 API Reference

weblogic.management.configuration
Interface XMLEntityCacheMBean


public interface XMLEntityCacheMBean
extends ConfigurationMBean

Configure the behavior of JAXP (Java API for XML Parsing) in the server.

Author:
Copyright (c) 2000 by BEA Systems, Inc. All Rights Reserved.
Copyright © 2001 BEA Systems, Inc. All Rights Reserved.

Method Summary
 int getCacheDiskSize()
          Return the disk size in MBytes of the cache.
 java.lang.String getCacheLocation()
          Return the path name of the persistent cache files.
 int getCacheMemorySize()
          Return the memory size in KBytes of the cache.
 int getCacheTimeoutInterval()
          Return the default timeout interval in seconds for the cache.
 EntityCacheCurrentStateRuntimeMBean getEntityCacheCurrentRuntime()
          Return an MBean representing the runtime state of the cache.
 EntityCacheCumulativeRuntimeMBean getEntityCacheHistoricalRuntime()
          Return an MBean representing the runtime state of the cache.
 EntityCacheCumulativeRuntimeMBean getEntityCacheSessionRuntime()
          Return an MBean representing the runtime state of the cache.
 void setCacheDiskSize(int cacheSize)
          Set the disk size in MBytes of the cache.
 void setCacheLocation(java.lang.String path)
          Set ththe path name of the persistent cache files.
 void setCacheMemorySize(int cacheSize)
          Set the memory size in KBytes of the cache.
 void setCacheTimeoutInterval(int interval)
          Set the default timeout interval in seconds for the cache.
 
Methods inherited from interface weblogic.management.configuration.ConfigurationMBean
getNotes, setNotes, setPersistenceEnabled
 
Methods inherited from interface weblogic.management.WebLogicMBean
getMBeanInfo, getName, getObjectName, getParent, getType, isCachingDisabled, isRegistered, setName, 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
 

Method Detail

getCacheLocation

public java.lang.String getCacheLocation()
Return the path name of the persistent cache files.

Default Value: "xmlcache"

setCacheLocation

public void setCacheLocation(java.lang.String path)
                      throws javax.management.InvalidAttributeValueException
Set ththe path name of the persistent cache files.

A dynamic MBean attribute

getCacheMemorySize

public int getCacheMemorySize()
Return the memory size in KBytes of the cache.

Default Value: 500
Legal Minimum Value: 0

setCacheMemorySize

public void setCacheMemorySize(int cacheSize)
                        throws javax.management.InvalidAttributeValueException
Set the memory size in KBytes of the cache.

A dynamic MBean attribute

getCacheDiskSize

public int getCacheDiskSize()
Return the disk size in MBytes of the cache.

Default Value: 5
Legal Minimum Value: 0

setCacheDiskSize

public void setCacheDiskSize(int cacheSize)
                      throws javax.management.InvalidAttributeValueException
Set the disk size in MBytes of the cache.

A dynamic MBean attribute

getCacheTimeoutInterval

public int getCacheTimeoutInterval()
Return the default timeout interval in seconds for the cache.

Default Value: 120
Legal Minimum Value: 0

setCacheTimeoutInterval

public void setCacheTimeoutInterval(int interval)
                             throws javax.management.InvalidAttributeValueException
Set the default timeout interval in seconds for the cache.

A dynamic MBean attribute

getEntityCacheCurrentRuntime

public EntityCacheCurrentStateRuntimeMBean getEntityCacheCurrentRuntime()
Return an MBean representing the runtime state of the cache. Return null if the given server is not running


getEntityCacheSessionRuntime

public EntityCacheCumulativeRuntimeMBean getEntityCacheSessionRuntime()
Return an MBean representing the runtime state of the cache. Return null if the given server is not running


getEntityCacheHistoricalRuntime

public EntityCacheCumulativeRuntimeMBean getEntityCacheHistoricalRuntime()
Return an MBean representing the runtime state of the cache. Return null if the given server is not running


Documentation is available at
http://download.oracle.com/docs/cd/E13222_01/wls/docs61

WebLogic classes and methods that do not appear in this reference are not public and are not supported.