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

Part Number E13945-06

weblogic.management.runtime
Interface EntityCacheCurrentStateRuntimeMBean

All Superinterfaces:
EntityCacheRuntimeMBean

public interface EntityCacheCurrentStateRuntimeMBean
extends EntityCacheRuntimeMBean

This class is used for monitoring the size and usage of an XML Cache.

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" on http://www.oracle.com/technology/products/weblogic/index.html.


Method Summary
 long getDiskUsage()
          Provides the current size of the entity disk cache.
 long getMemoryUsage()
          Provides the current size of the entity memory cache.
 
Methods inherited from interface weblogic.management.runtime.EntityCacheRuntimeMBean
getAvgPercentPersistent, getAvgPercentTransient, getAvgPerEntryDiskSize, getAvgPerEntryMemorySize, getAvgTimeout, getMaxEntryMemorySize, getMaxEntryTimeout, getMinEntryMemorySize, getMinEntryTimeout, getTotalCurrentEntries, getTotalPersistentCurrentEntries, getTotalTransientCurrentEntries
 

Method Detail

getMemoryUsage

long getMemoryUsage()

Provides the current size of the entity memory cache.

Returns current size of the entity memory cache.

Returns:
The memoryUsage value

getDiskUsage

long getDiskUsage()

Provides the current size of the entity disk cache.

Returns the current size of the entity disk cache.

Returns:
The diskUsage value

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