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

Part Number E13945-06

weblogic.management.runtime
Interface EJBCacheRuntimeMBean


public interface EJBCacheRuntimeMBean

This interface contains accessor methods for all cache runtime information collected for an EJB. Note that the sum of the cacheHitCount and cacheMissCount may not add up to the cacheAccessCount in a running server because these metrics are retrieved using multiple calls and the counts could change between the calls.

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 getActivationCount()
          Provides a count of the total number of beans from this EJB Home that have been activated.
 long getCacheAccessCount()
          Provides a count of the total number of attempts to access a bean from the cache.
 int getCachedBeansCurrentCount()
          Provides a count of the total number of beans from this EJB Home currently in the EJB cache.
 long getCacheHitCount()
          Deprecated. 28-Aug-2002. The cache hit count can be calculated by subtracting the cache miss count from the cache access count.
 long getCacheMissCount()
          Provides a count of the total number of times an attempt to access a bean from the cache failed.
 long getPassivationCount()
          Provides a count of the total number of beans from this EJB Home that have been passivated.
 void reInitializeCacheAndPools()
          Instructs the cache to initialize itself all of its associated pools to their configured initial sizes.
 

Method Detail

getCachedBeansCurrentCount

int getCachedBeansCurrentCount()

Provides a count of the total number of beans from this EJB Home currently in the EJB cache.

Returns:
The cachedBeansCurrentCount value

getCacheAccessCount

long getCacheAccessCount()

Provides a count of the total number of attempts to access a bean from the cache.

The sum of the Cache Hit Count and Cache Miss Count may not add up to the cacheAccessCount in a running server because these metrics are retrieved using multiple calls and the counts could change between the calls.

*

Returns:
The cacheAccessCount value

getCacheHitCount

long getCacheHitCount()
Deprecated. 28-Aug-2002. The cache hit count can be calculated by subtracting the cache miss count from the cache access count.

Provides a count of the total number of times an attempt to access a bean from the cache succeeded.

The sum of the Cache Hit Count and Cache Miss Count may not add up to the cacheAccessCount in a running server because these metrics are retrieved using multiple calls and the counts could change between the calls.

Returns:
The cacheHitCount value

getCacheMissCount

long getCacheMissCount()

Provides a count of the total number of times an attempt to access a bean from the cache failed.

The sum of the Cache Hit Count and Cache Miss Count may not add up to the cacheAccessCount in a running server because these metrics are retrieved using multiple calls and the counts could change between the calls.

Returns:
The cacheMissCount value

getActivationCount

long getActivationCount()

Provides a count of the total number of beans from this EJB Home that have been activated.

Returns:
The activationCount value

getPassivationCount

long getPassivationCount()

Provides a count of the total number of beans from this EJB Home that have been passivated.

Returns:
The passivationCount value

reInitializeCacheAndPools

void reInitializeCacheAndPools()

Instructs the cache to initialize itself all of its associated pools to their configured initial sizes.


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