QueryCacheRuntimeMBean


Overview  |   Related MBeans  |   Attributes  |   Operations

Overview

This interface contains accessor methods for all query cache runtime information collected for an EJB. The cache miss counts need some explaining. A query-cache miss can occur due to one of five reasons: 1. The query result was not found in the query-cache 2. The query result has timed out 3. A bean which satisfies the query wasnot found in the entity cache 4. A query with relationship-caching turned on did not find the related-beans query result 5. A query which loads multiple EJBs could not load one or more of them To better aid tuning, there are separate counters provided for each of the last four of the above causes. The fifth counter is a total cache miss counter. This counter takes into account all five causes of a cache miss.

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


    Attributes

    This section describes the following attributes:


    CacheAccessCount

    Provides a count of the number of accesses of the query cache for this EJB.

    Returns the number of accesses of the query cache for this EJB.

           
    Privileges Read only
    Typelong

    CacheHitCount

    Provides a count of the number of cache hits of the query cache for this EJB.

    Returns the number of cache hits of the query cache for this EJB.

           
    Privileges Read only
    Typelong

    CacheMissByBeanEvictionCount

    Provides a count of the number of cache misses of the query cache for this EJB because corresponding beans were not found in the entity cache.

    Returns the number of times a cache miss occurred for this EJB because corresponding beans were not found in the entity cache.

           
    Privileges Read only
    Typelong

    CacheMissByDependentQueryMissCount

    Provides a count of the number of cache misses of the query cache for this EJB because a dependent query was not found in another EJB's query cache.

    Returns the number of times a cache miss occurred for this EJB because a dependent query was not found in another EJB's query cache.

           
    Privileges Read only
    Typelong

    CacheMissByRelatedQueryMissCount

    Provides a count of the number of cache misses of the query cache for this EJB because a related query was not found in another EJB's query cache.

    Returns the number of times a cache miss occurred for this EJB because a related query was not found in another EJB's query cache.

           
    Privileges Read only
    Typelong

    CacheMissByTimeoutCount

    Provides a count of the number of cache misses of the query cache for this EJB due to query results timing out.

    Returns the number of cache misses due to query result timeout for this EJB.

           
    Privileges Read only
    Typelong

    Name

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

           
    Privileges Read only
    Typejava.lang.String

    Parent

    Return the immediate parent for this MBean

           
    Privileges Read/Write
    Type

    TotalCachedQueriesCount

    Provides a count of the total number of query results for this EJB currently in the query cache.

    Returns the total number of query results for this EJB currently in the EJB cache.

           
    Privileges Read only
    Typeint

    TotalCacheMissCount

    Provides a count of the total number of cache misses of the query cache for this EJB.

    Returns the total number of cache misses of the query cache for this EJB.

           
    Privileges Read only
    Typelong

    Type

    Returns the type of the MBean.

           
    Privileges Read only
    Typejava.lang.String