# EJBCacheRuntimeMBean

Overview | Related MBeans | Attributes | Operations

## Overview

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.

Fully Qualified Interface Name | If you use the `getMBeanInfo` operation in MBeanTypeServiceMBean, supply the following value as this MBean's fully qualified interface name: `weblogic.management.runtime.EJBCacheRuntimeMBean`
Factory Methods | No factory methods. Instances of this MBean are created automatically.
Access Points | You can access this MBean from the following MBean attributes:
EntityEJBRuntimeMBean.CacheRuntime StatefulEJBRuntimeMBean.CacheRuntime |

## Attributes

This section describes the following attributes:

ActivationCount CacheAccessCount CachedBeansCurrentCount CacheHitCount CacheMissCount | Name Parent PassivationCount Type

### ActivationCount

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

Privileges | Read only
Type | long

### CacheAccessCount

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.

*

Privileges | Read only
Type | long

### CachedBeansCurrentCount

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

Privileges | Read only
Type | int

### CacheHitCount

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.

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

Privileges | Read only
Type | long

### CacheMissCount

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.

Privileges | Read only
Type | long

### Name

The name of this configuration. WebLogic Server uses an MBean to implement and persist the configuration.

Privileges | Read only
Type | java.lang.String

### Parent

Return the immediate parent for this MBean

Privileges | Read/Write
Type |

### PassivationCount

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

Privileges | Read only
Type | long

### Type

Returns the type of the MBean.

Privileges | Read only
Type | java.lang.String

## Operations

This section describes the following operations:

reInitializeCacheAndPools |

### reInitializeCacheAndPools

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

Operation Name | `"reInitializeCacheAndPools"`
Parameters | `null`
Signature | `null`
Returns | `void`