Skip navigation links

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

Part Number E55141-01
P4 Change 1723563 on 2015/10/09


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
abstract  int getCacheDiskSize()
          The disk size, in MB, of the persistent disk cache.
abstract  String getCacheLocation()
          Provides the path name for the persistent cache files.
abstract  int getCacheMemorySize()
          The memory size, in KB, of the cache.
abstract  int getCacheTimeoutInterval()
          The default timeout interval, in seconds, for the cache.
abstract  int getMaxSize()
          Provides the maximum number of entries that can be stored in the cache at any given time.
abstract  void setCacheDiskSize(int cacheSize)
          Sets the value of the cacheDiskSize attribute.
abstract  void setCacheLocation(String path)
          Sets the value of the cacheLocation attribute.
abstract  void setCacheMemorySize(int cacheSize)
          Sets the value of the cacheMemorySize attribute.
abstract  void setCacheTimeoutInterval(int interval)
          Sets the value of the cacheTimeoutInterval attribute.
abstract  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

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

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

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

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

Skip navigation links

Copyright 1996, 2015, 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.2.1)

Part Number E55141-01
P4 Change 1723563 on 2015/10/09