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

Part Number E41849-02

weblogic.management.configuration
Interface XMLEntityCacheMBean

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

public interface XMLEntityCacheMBean
extends ConfigurationMBean

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


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.
 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, 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
 

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()

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, 2014, 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.3)

Part Number E41849-02