|
Oracle Fusion Middleware Oracle WebLogic Server MBean Javadoc 11g Release 1 (10.3.3) Part Number E13945-03 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface QueryCacheRuntimeMBean
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.
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 |
getCacheAccessCount()
Provides a count of the number of accesses of the query cache for this EJB. |
long |
getCacheHitCount()
Provides a count of the number of cache hits of the query cache for this EJB. |
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. |
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. |
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. |
long |
getCacheMissByTimeoutCount()
Provides a count of the number of cache misses of the query cache for this EJB due to query results timing out. |
int |
getTotalCachedQueriesCount()
Provides a count of the total number of query results for this EJB currently in the query cache. |
long |
getTotalCacheMissCount()
Provides a count of the total number of cache misses of the query cache for this EJB. |
Method Detail |
---|
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.
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.
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.
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.
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.
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.
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.
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.
|
Copyright 1996, 2010, 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.3) Part Number E13945-03 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |