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.runtime
Interface EJBCacheRuntimeMBean

All Superinterfaces:
DynamicMBean, MBeanRegistration, NotificationBroadcaster, RuntimeMBean, WebLogicMBean

public interface EJBCacheRuntimeMBean
extends RuntimeMBean

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.


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

 

Methods inherited from interface weblogic.management.runtime.RuntimeMBean
addPropertyChangeListener, removePropertyChangeListener

 

Methods inherited from interface weblogic.management.WebLogicMBean
getMBeanInfo, getName, getObjectName, getParent, getType, isCachingDisabled, isRegistered, setName, 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

 

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.


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