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 QueryCacheRuntimeMBean

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

public interface QueryCacheRuntimeMBean
extends RuntimeMBean

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 the following reasons:

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.


Method Summary
abstract  long getCacheAccessCount()
          Provides a count of the number of accesses of the query cache for this EJB.
abstract  long getCacheHitCount()
          Provides a count of the number of cache hits of the query cache for this EJB.
abstract  long getCacheMissByBeanEvictionCount()
          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.
abstract  long getCacheMissByDependentQueryMissCount()
          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.
abstract  long getCacheMissByRelatedQueryMissCount()
          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.
abstract  long getCacheMissByTimeoutCount()
          Provides a count of the number of cache misses of the query cache for this EJB due to query results timing out.
abstract  int getTotalCachedQueriesCount()
          Provides a count of the total number of query results for this EJB currently in the query cache.
abstract  long getTotalCacheMissCount()
          Provides a count of the total number of cache misses of the query cache for this EJB.

 

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

getTotalCachedQueriesCount

int getTotalCachedQueriesCount()

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.

Returns:
The totalCachedQueriesCount value

getCacheAccessCount

long getCacheAccessCount()

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.

Returns:
The cacheAccessCount value

getCacheHitCount

long getCacheHitCount()

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.

Returns:
The cacheHitCount value

getTotalCacheMissCount

long getTotalCacheMissCount()

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.

Returns:
The totalCacheMissCount value

getCacheMissByTimeoutCount

long getCacheMissByTimeoutCount()

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.

Returns:
The cacheMissByTimeoutCount value

getCacheMissByBeanEvictionCount

long getCacheMissByBeanEvictionCount()

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.

Returns:
The cacheMissByBeanEvictionCount value

getCacheMissByRelatedQueryMissCount

long getCacheMissByRelatedQueryMissCount()

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.

Returns:
The cacheMissByRelatedQueryMissCount value

getCacheMissByDependentQueryMissCount

long getCacheMissByDependentQueryMissCount()

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.

Returns:
The cacheMissByDependentQueryMissCount value

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