Oracle Fusion Middleware
Oracle WebLogic Server MBean Javadoc
11g Release 1 (10.3.6)

Part Number E13945-06

weblogic.management.configuration
Interface XMLEntityCacheMBean

All Superinterfaces:
ConfigurationMBean

public interface XMLEntityCacheMBean
extends ConfigurationMBean

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

Deprecation of MBeanHome and Type-Safe Interfaces

This is a type-safe interface for a WebLogic Server MBean, which you can import into your client classes and access through weblogic.management.MBeanHome. As of 9.0, the MBeanHome interface and all type-safe interfaces for WebLogic Server MBeans are deprecated. Instead, client classes that interact with WebLogic Server MBeans should use standard JMX design patterns in which clients use the javax.management.MBeanServerConnection interface to discover MBeans, attributes, and attribute types at runtime. For more information, see "Developing Manageable Applications with JMX."


Field Summary
 
Fields inherited from interface weblogic.management.configuration.ConfigurationMBean
DEFAULT_EMPTY_BYTE_ARRAY
 
Method Summary
 int getCacheDiskSize()
          The disk size, in MB, of the persistent disk cache.
 String getCacheLocation()
          Provides the path name for the persistent cache files.
 int getCacheMemorySize()
          The memory size, in KB, of the cache.
 int getCacheTimeoutInterval()
          The default timeout interval, in seconds, for the cache.
 EntityCacheCurrentStateRuntimeMBean getEntityCacheCurrentRuntime()
          Deprecated. 9.0.0.0
 EntityCacheCumulativeRuntimeMBean getEntityCacheHistoricalRuntime()
          Deprecated. 9.0.0.0
 EntityCacheCumulativeRuntimeMBean getEntityCacheSessionRuntime()
          Deprecated. 9.0.0.0
 int getMaxSize()
          Provides the maximum number of entries that can be stored in the cache at any given time.
 void setCacheDiskSize(int cacheSize)
          Sets the value of the cacheDiskSize attribute.
 void setCacheLocation(String path)
          Sets the value of the cacheLocation attribute.
 void setCacheMemorySize(int cacheSize)
          Sets the value of the cacheMemorySize attribute.
 void setCacheTimeoutInterval(int interval)
          Sets the value of the cacheTimeoutInterval attribute.
 void setMaxSize(int size)
          Sets the value of the maxSize attribute.
 
Methods inherited from interface weblogic.management.configuration.ConfigurationMBean
freezeCurrentValue, getName, getNotes, isSet, restoreDefaultValue, setComments, setDefaultedMBean, setName, setNotes, setPersistenceEnabled, unSet
 

Method Detail

getCacheLocation

String getCacheLocation()

Provides the path name for the persistent cache files.

Returns:
The cacheLocation value
Default Value:
"xmlcache"

setCacheLocation

void setCacheLocation(String path)
                      throws InvalidAttributeValueException

Sets the value of the cacheLocation attribute.

Parameters:
path - The new cacheLocation value
Throws:
InvalidAttributeValueException
See Also:
XMLEntityCacheMBean.getCacheLocation()

getCacheMemorySize

int getCacheMemorySize()

The memory size, in KB, of the cache. The default value is 500 KB.

Return the memory size in KBytes of the cache.

Returns:
The cacheMemorySize value
Default Value:
500
Minimum Value:
0

setCacheMemorySize

void setCacheMemorySize(int cacheSize)
                        throws InvalidAttributeValueException

Sets the value of the cacheMemorySize attribute.

Parameters:
cacheSize - The new cacheMemorySize value
Throws:
InvalidAttributeValueException
See Also:
XMLEntityCacheMBean.getCacheMemorySize()

getCacheDiskSize

int getCacheDiskSize()

The disk size, in MB, of the persistent disk cache. The default value is 5 MB.

Return the disk size in MBytes of the cache.

Returns:
The cacheDiskSize value
Default Value:
5
Minimum Value:
0

setCacheDiskSize

void setCacheDiskSize(int cacheSize)
                      throws InvalidAttributeValueException

Sets the value of the cacheDiskSize attribute.

Parameters:
cacheSize - The new cacheDiskSize value
Throws:
InvalidAttributeValueException
See Also:
XMLEntityCacheMBean.getCacheDiskSize()

getCacheTimeoutInterval

int getCacheTimeoutInterval()

The default timeout interval, in seconds, for the cache. The default value is 120 seconds.

Return the default timeout interval in seconds for the cache.

Returns:
The cacheTimeoutInterval value
Default Value:
120
Minimum Value:
0

setCacheTimeoutInterval

void setCacheTimeoutInterval(int interval)
                             throws InvalidAttributeValueException

Sets the value of the cacheTimeoutInterval attribute.

Parameters:
interval - The new cacheTimeoutInterval value
Throws:
InvalidAttributeValueException
See Also:
XMLEntityCacheMBean.getCacheTimeoutInterval()

getEntityCacheCurrentRuntime

EntityCacheCurrentStateRuntimeMBean getEntityCacheCurrentRuntime()
Deprecated. 9.0.0.0

Provides the name of an MBean representing the runtime state of the cache. Returns null if the given server is not running

Returns:
The entityCacheCurrentRuntime value

getEntityCacheSessionRuntime

EntityCacheCumulativeRuntimeMBean getEntityCacheSessionRuntime()
Deprecated. 9.0.0.0

Provides the name of an MBean representing the runtime state of the cache. Returns null if the given server is not running

Returns:
The entityCacheSessionRuntime value

getEntityCacheHistoricalRuntime

EntityCacheCumulativeRuntimeMBean getEntityCacheHistoricalRuntime()
Deprecated. 9.0.0.0

Provides the name of an MBean representing the runtime state of the cache. Returns null if the given server is not running

Returns:
The entityCacheHistoricalRuntime value

getMaxSize

int getMaxSize()

Provides the maximum number of entries that can be stored in the cache at any given time.

Returns:
The maximum number of entries that can be stored in the cache

setMaxSize

void setMaxSize(int size)

Sets the value of the maxSize attribute.

Parameters:
size - The new maxSize value
See Also:
XMLEntityCacheMBean.getMaxSize()

Copyright 1996, 2011, 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
Oracle WebLogic Server MBean Javadoc
11g Release 1 (10.3.6)

Part Number E13945-06