|  | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> | 
|  | <!--NewPage--> | 
|  | <HTML> | 
|  | <HEAD> | 
|  | <!-- Generated by javadoc (build 1.6.0_30) on Thu Feb 16 09:34:29 CST 2012 --> | 
|  | <META http-equiv="Content-Type" content="text/html; charset=UTF-8"> | 
|  | <TITLE> | 
|  | AbstractQueryCacheInstrument (OpenJPA Parent POM 2.2.0 API) | 
|  | </TITLE> | 
|  |  | 
|  | <META NAME="date" CONTENT="2012-02-16"> | 
|  |  | 
|  | <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style"> | 
|  |  | 
|  | <SCRIPT type="text/javascript"> | 
|  | function windowTitle() | 
|  | { | 
|  | if (location.href.indexOf('is-external=true') == -1) { | 
|  | parent.document.title="AbstractQueryCacheInstrument (OpenJPA Parent POM 2.2.0 API)"; | 
|  | } | 
|  | } | 
|  | </SCRIPT> | 
|  | <NOSCRIPT> | 
|  | </NOSCRIPT> | 
|  |  | 
|  | </HEAD> | 
|  |  | 
|  | <BODY BGCOLOR="white" onload="windowTitle();"> | 
|  | <HR> | 
|  |  | 
|  |  | 
|  | <!-- ========= START OF TOP NAVBAR ======= --> | 
|  | <A NAME="navbar_top"><!-- --></A> | 
|  | <A HREF="#skip-navbar_top" title="Skip navigation links"></A> | 
|  | <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> | 
|  | <TR> | 
|  | <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> | 
|  | <A NAME="navbar_top_firstrow"><!-- --></A> | 
|  | <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> | 
|  | <TR ALIGN="center" VALIGN="top"> | 
|  | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> | 
|  | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> | 
|  | <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev">  <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> | 
|  | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/AbstractQueryCacheInstrument.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> | 
|  | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> | 
|  | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> | 
|  | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> | 
|  | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> | 
|  | </TR> | 
|  | </TABLE> | 
|  | </TD> | 
|  | <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> | 
|  | </EM> | 
|  | </TD> | 
|  | </TR> | 
|  |  | 
|  | <TR> | 
|  | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> | 
|  |  <A HREF="../../../../org/apache/openjpa/instrumentation/AbstractPreparedQueryCacheInstrument.html" title="class in org.apache.openjpa.instrumentation"><B>PREV CLASS</B></A>  | 
|  |  <A HREF="../../../../org/apache/openjpa/instrumentation/DataCacheInstrument.html" title="interface in org.apache.openjpa.instrumentation"><B>NEXT CLASS</B></A></FONT></TD> | 
|  | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> | 
|  | <A HREF="../../../../index.html?org/apache/openjpa/instrumentation/AbstractQueryCacheInstrument.html" target="_top"><B>FRAMES</B></A>    | 
|  |  <A HREF="AbstractQueryCacheInstrument.html" target="_top"><B>NO FRAMES</B></A>    | 
|  |  <SCRIPT type="text/javascript"> | 
|  | <!-- | 
|  | if(window==top) { | 
|  | document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); | 
|  | } | 
|  | //--> | 
|  | </SCRIPT> | 
|  | <NOSCRIPT> | 
|  | <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A> | 
|  | </NOSCRIPT> | 
|  |  | 
|  |  | 
|  | </FONT></TD> | 
|  | </TR> | 
|  | <TR> | 
|  | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> | 
|  | SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> | 
|  | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> | 
|  | DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> | 
|  | </TR> | 
|  | </TABLE> | 
|  | <A NAME="skip-navbar_top"></A> | 
|  | <!-- ========= END OF TOP NAVBAR ========= --> | 
|  |  | 
|  | <HR> | 
|  | <!-- ======== START OF CLASS DATA ======== --> | 
|  | <H2> | 
|  | <FONT SIZE="-1"> | 
|  | org.apache.openjpa.instrumentation</FONT> | 
|  | <BR> | 
|  | Class AbstractQueryCacheInstrument</H2> | 
|  | <PRE> | 
|  | <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</A> | 
|  | <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../org/apache/openjpa/lib/instrumentation/AbstractInstrument.html" title="class in org.apache.openjpa.lib.instrumentation">org.apache.openjpa.lib.instrumentation.AbstractInstrument</A> | 
|  | <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>org.apache.openjpa.instrumentation.AbstractQueryCacheInstrument</B> | 
|  | </PRE> | 
|  | <DL> | 
|  | <DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../../org/apache/openjpa/instrumentation/QueryCacheInstrument.html" title="interface in org.apache.openjpa.instrumentation">QueryCacheInstrument</A>, <A HREF="../../../../org/apache/openjpa/lib/instrumentation/Instrument.html" title="interface in org.apache.openjpa.lib.instrumentation">Instrument</A></DD> | 
|  | </DL> | 
|  | <DL> | 
|  | <DT><B>Direct Known Subclasses:</B> <DD><A HREF="../../../../org/apache/openjpa/instrumentation/jmx/QueryCacheJMXInstrument.html" title="class in org.apache.openjpa.instrumentation.jmx">QueryCacheJMXInstrument</A></DD> | 
|  | </DL> | 
|  | <HR> | 
|  | <DL> | 
|  | <DT><PRE>public abstract class <B>AbstractQueryCacheInstrument</B><DT>extends <A HREF="../../../../org/apache/openjpa/lib/instrumentation/AbstractInstrument.html" title="class in org.apache.openjpa.lib.instrumentation">AbstractInstrument</A><DT>implements <A HREF="../../../../org/apache/openjpa/instrumentation/QueryCacheInstrument.html" title="interface in org.apache.openjpa.instrumentation">QueryCacheInstrument</A></DL> | 
|  | </PRE> | 
|  |  | 
|  | <P> | 
|  | Provides a basic instrument implementation wrapper for the query cache.  This | 
|  | class can be extended to create a provider specific instrument for the | 
|  | query cache. | 
|  | <P> | 
|  |  | 
|  | <P> | 
|  | <HR> | 
|  |  | 
|  | <P> | 
|  | <!-- =========== FIELD SUMMARY =========== --> | 
|  |  | 
|  | <A NAME="field_summary"><!-- --></A> | 
|  | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> | 
|  | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> | 
|  | <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> | 
|  | <B>Field Summary</B></FONT></TH> | 
|  | </TR> | 
|  | <TR BGCOLOR="white" CLASS="TableRowColor"> | 
|  | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | 
|  | <CODE>static long</CODE></FONT></TD> | 
|  | <TD><CODE><B><A HREF="../../../../org/apache/openjpa/instrumentation/AbstractQueryCacheInstrument.html#NO_STATS">NO_STATS</A></B></CODE> | 
|  |  | 
|  | <BR> | 
|  |           Value indicating that cache statistics are not available.</TD> | 
|  | </TR> | 
|  | </TABLE> | 
|  |   | 
|  | <!-- ======== CONSTRUCTOR SUMMARY ======== --> | 
|  |  | 
|  | <A NAME="constructor_summary"><!-- --></A> | 
|  | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> | 
|  | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> | 
|  | <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> | 
|  | <B>Constructor Summary</B></FONT></TH> | 
|  | </TR> | 
|  | <TR BGCOLOR="white" CLASS="TableRowColor"> | 
|  | <TD><CODE><B><A HREF="../../../../org/apache/openjpa/instrumentation/AbstractQueryCacheInstrument.html#AbstractQueryCacheInstrument()">AbstractQueryCacheInstrument</A></B>()</CODE> | 
|  |  | 
|  | <BR> | 
|  |            </TD> | 
|  | </TR> | 
|  | </TABLE> | 
|  |   | 
|  | <!-- ========== METHOD SUMMARY =========== --> | 
|  |  | 
|  | <A NAME="method_summary"><!-- --></A> | 
|  | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> | 
|  | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> | 
|  | <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> | 
|  | <B>Method Summary</B></FONT></TH> | 
|  | </TR> | 
|  | <TR BGCOLOR="white" CLASS="TableRowColor"> | 
|  | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | 
|  | <CODE> long</CODE></FONT></TD> | 
|  | <TD><CODE><B><A HREF="../../../../org/apache/openjpa/instrumentation/AbstractQueryCacheInstrument.html#count()">count</A></B>()</CODE> | 
|  |  | 
|  | <BR> | 
|  |           Returns the number of total entries in the cache.</TD> | 
|  | </TR> | 
|  | <TR BGCOLOR="white" CLASS="TableRowColor"> | 
|  | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | 
|  | <CODE> <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD> | 
|  | <TD><CODE><B><A HREF="../../../../org/apache/openjpa/instrumentation/AbstractQueryCacheInstrument.html#getConfigId()">getConfigId</A></B>()</CODE> | 
|  |  | 
|  | <BR> | 
|  |            </TD> | 
|  | </TR> | 
|  | <TR BGCOLOR="white" CLASS="TableRowColor"> | 
|  | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | 
|  | <CODE> <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD> | 
|  | <TD><CODE><B><A HREF="../../../../org/apache/openjpa/instrumentation/AbstractQueryCacheInstrument.html#getContextRef()">getContextRef</A></B>()</CODE> | 
|  |  | 
|  | <BR> | 
|  |            </TD> | 
|  | </TR> | 
|  | <TR BGCOLOR="white" CLASS="TableRowColor"> | 
|  | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | 
|  | <CODE> long</CODE></FONT></TD> | 
|  | <TD><CODE><B><A HREF="../../../../org/apache/openjpa/instrumentation/AbstractQueryCacheInstrument.html#getEvictionCount()">getEvictionCount</A></B>()</CODE> | 
|  |  | 
|  | <BR> | 
|  |           Returns number of total evictions since last reset</TD> | 
|  | </TR> | 
|  | <TR BGCOLOR="white" CLASS="TableRowColor"> | 
|  | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | 
|  | <CODE> long</CODE></FONT></TD> | 
|  | <TD><CODE><B><A HREF="../../../../org/apache/openjpa/instrumentation/AbstractQueryCacheInstrument.html#getExecutionCount()">getExecutionCount</A></B>()</CODE> | 
|  |  | 
|  | <BR> | 
|  |           Returns number of total execution requests since last reset</TD> | 
|  | </TR> | 
|  | <TR BGCOLOR="white" CLASS="TableRowColor"> | 
|  | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | 
|  | <CODE> long</CODE></FONT></TD> | 
|  | <TD><CODE><B><A HREF="../../../../org/apache/openjpa/instrumentation/AbstractQueryCacheInstrument.html#getExecutionCount(java.lang.String)">getExecutionCount</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> queryKey)</CODE> | 
|  |  | 
|  | <BR> | 
|  |           Returns number of total execution requests since last reset for | 
|  | the specified string-ified query key.</TD> | 
|  | </TR> | 
|  | <TR BGCOLOR="white" CLASS="TableRowColor"> | 
|  | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | 
|  | <CODE> long</CODE></FONT></TD> | 
|  | <TD><CODE><B><A HREF="../../../../org/apache/openjpa/instrumentation/AbstractQueryCacheInstrument.html#getHitCount()">getHitCount</A></B>()</CODE> | 
|  |  | 
|  | <BR> | 
|  |           Returns number of total read requests that have been found in cache since | 
|  | last reset.</TD> | 
|  | </TR> | 
|  | <TR BGCOLOR="white" CLASS="TableRowColor"> | 
|  | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | 
|  | <CODE> long</CODE></FONT></TD> | 
|  | <TD><CODE><B><A HREF="../../../../org/apache/openjpa/instrumentation/AbstractQueryCacheInstrument.html#getHitCount(java.lang.String)">getHitCount</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> queryKey)</CODE> | 
|  |  | 
|  | <BR> | 
|  |           Returns number of total read requests that have been found in cache since | 
|  | last reset for the specified string-ified query key.</TD> | 
|  | </TR> | 
|  | <TR BGCOLOR="white" CLASS="TableRowColor"> | 
|  | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | 
|  | <CODE> <A HREF="../../../../org/apache/openjpa/lib/instrumentation/InstrumentationLevel.html" title="enum in org.apache.openjpa.lib.instrumentation">InstrumentationLevel</A></CODE></FONT></TD> | 
|  | <TD><CODE><B><A HREF="../../../../org/apache/openjpa/instrumentation/AbstractQueryCacheInstrument.html#getLevel()">getLevel</A></B>()</CODE> | 
|  |  | 
|  | <BR> | 
|  |           Gets the instrumentation level of this instrument.</TD> | 
|  | </TR> | 
|  | <TR BGCOLOR="white" CLASS="TableRowColor"> | 
|  | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | 
|  | <CODE> long</CODE></FONT></TD> | 
|  | <TD><CODE><B><A HREF="../../../../org/apache/openjpa/instrumentation/AbstractQueryCacheInstrument.html#getTotalEvictionCount()">getTotalEvictionCount</A></B>()</CODE> | 
|  |  | 
|  | <BR> | 
|  |           Returns number of total eviction requests since start.</TD> | 
|  | </TR> | 
|  | <TR BGCOLOR="white" CLASS="TableRowColor"> | 
|  | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | 
|  | <CODE> long</CODE></FONT></TD> | 
|  | <TD><CODE><B><A HREF="../../../../org/apache/openjpa/instrumentation/AbstractQueryCacheInstrument.html#getTotalExecutionCount()">getTotalExecutionCount</A></B>()</CODE> | 
|  |  | 
|  | <BR> | 
|  |           Returns number of total exec requests since start.</TD> | 
|  | </TR> | 
|  | <TR BGCOLOR="white" CLASS="TableRowColor"> | 
|  | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | 
|  | <CODE> long</CODE></FONT></TD> | 
|  | <TD><CODE><B><A HREF="../../../../org/apache/openjpa/instrumentation/AbstractQueryCacheInstrument.html#getTotalExecutionCount(java.lang.String)">getTotalExecutionCount</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> queryKey)</CODE> | 
|  |  | 
|  | <BR> | 
|  |           Returns number of total exec requests since start for | 
|  | the specified string-ified query key.</TD> | 
|  | </TR> | 
|  | <TR BGCOLOR="white" CLASS="TableRowColor"> | 
|  | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | 
|  | <CODE> long</CODE></FONT></TD> | 
|  | <TD><CODE><B><A HREF="../../../../org/apache/openjpa/instrumentation/AbstractQueryCacheInstrument.html#getTotalHitCount()">getTotalHitCount</A></B>()</CODE> | 
|  |  | 
|  | <BR> | 
|  |           Returns number of total read requests that has been found since start.</TD> | 
|  | </TR> | 
|  | <TR BGCOLOR="white" CLASS="TableRowColor"> | 
|  | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | 
|  | <CODE> long</CODE></FONT></TD> | 
|  | <TD><CODE><B><A HREF="../../../../org/apache/openjpa/instrumentation/AbstractQueryCacheInstrument.html#getTotalHitCount(java.lang.String)">getTotalHitCount</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> queryKey)</CODE> | 
|  |  | 
|  | <BR> | 
|  |           Returns number of total read requests that has been found since start for | 
|  | the specified string-ified query key.</TD> | 
|  | </TR> | 
|  | <TR BGCOLOR="white" CLASS="TableRowColor"> | 
|  | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | 
|  | <CODE> <A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</A><<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>></CODE></FONT></TD> | 
|  | <TD><CODE><B><A HREF="../../../../org/apache/openjpa/instrumentation/AbstractQueryCacheInstrument.html#queryKeys()">queryKeys</A></B>()</CODE> | 
|  |  | 
|  | <BR> | 
|  |           Returns all query keys currently tracked in the cache.</TD> | 
|  | </TR> | 
|  | <TR BGCOLOR="white" CLASS="TableRowColor"> | 
|  | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | 
|  | <CODE> void</CODE></FONT></TD> | 
|  | <TD><CODE><B><A HREF="../../../../org/apache/openjpa/instrumentation/AbstractQueryCacheInstrument.html#reset()">reset</A></B>()</CODE> | 
|  |  | 
|  | <BR> | 
|  |           Resets cache statistics</TD> | 
|  | </TR> | 
|  | <TR BGCOLOR="white" CLASS="TableRowColor"> | 
|  | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | 
|  | <CODE> void</CODE></FONT></TD> | 
|  | <TD><CODE><B><A HREF="../../../../org/apache/openjpa/instrumentation/AbstractQueryCacheInstrument.html#setConfigId(java.lang.String)">setConfigId</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> cid)</CODE> | 
|  |  | 
|  | <BR> | 
|  |            </TD> | 
|  | </TR> | 
|  | <TR BGCOLOR="white" CLASS="TableRowColor"> | 
|  | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | 
|  | <CODE> void</CODE></FONT></TD> | 
|  | <TD><CODE><B><A HREF="../../../../org/apache/openjpa/instrumentation/AbstractQueryCacheInstrument.html#setContextRef(java.lang.String)">setContextRef</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> cref)</CODE> | 
|  |  | 
|  | <BR> | 
|  |            </TD> | 
|  | </TR> | 
|  | <TR BGCOLOR="white" CLASS="TableRowColor"> | 
|  | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | 
|  | <CODE> void</CODE></FONT></TD> | 
|  | <TD><CODE><B><A HREF="../../../../org/apache/openjpa/instrumentation/AbstractQueryCacheInstrument.html#setPreparedQueryCache(org.apache.openjpa.datacache.QueryCache)">setPreparedQueryCache</A></B>(<A HREF="../../../../org/apache/openjpa/datacache/QueryCache.html" title="interface in org.apache.openjpa.datacache">QueryCache</A> qc)</CODE> | 
|  |  | 
|  | <BR> | 
|  |            </TD> | 
|  | </TR> | 
|  | <TR BGCOLOR="white" CLASS="TableRowColor"> | 
|  | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | 
|  | <CODE> void</CODE></FONT></TD> | 
|  | <TD><CODE><B><A HREF="../../../../org/apache/openjpa/instrumentation/AbstractQueryCacheInstrument.html#setQueryCache(org.apache.openjpa.datacache.QueryCache)">setQueryCache</A></B>(<A HREF="../../../../org/apache/openjpa/datacache/QueryCache.html" title="interface in org.apache.openjpa.datacache">QueryCache</A> qc)</CODE> | 
|  |  | 
|  | <BR> | 
|  |            </TD> | 
|  | </TR> | 
|  | <TR BGCOLOR="white" CLASS="TableRowColor"> | 
|  | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | 
|  | <CODE> <A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Date.html?is-external=true" title="class or interface in java.util">Date</A></CODE></FONT></TD> | 
|  | <TD><CODE><B><A HREF="../../../../org/apache/openjpa/instrumentation/AbstractQueryCacheInstrument.html#sinceDate()">sinceDate</A></B>()</CODE> | 
|  |  | 
|  | <BR> | 
|  |           Returns date since cache statistics collection were last reset.</TD> | 
|  | </TR> | 
|  | <TR BGCOLOR="white" CLASS="TableRowColor"> | 
|  | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | 
|  | <CODE> <A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Date.html?is-external=true" title="class or interface in java.util">Date</A></CODE></FONT></TD> | 
|  | <TD><CODE><B><A HREF="../../../../org/apache/openjpa/instrumentation/AbstractQueryCacheInstrument.html#startDate()">startDate</A></B>()</CODE> | 
|  |  | 
|  | <BR> | 
|  |           Returns date cache statistics collection started.</TD> | 
|  | </TR> | 
|  | </TABLE> | 
|  |  <A NAME="methods_inherited_from_class_org.apache.openjpa.lib.instrumentation.AbstractInstrument"><!-- --></A> | 
|  | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> | 
|  | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> | 
|  | <TH ALIGN="left"><B>Methods inherited from class org.apache.openjpa.lib.instrumentation.<A HREF="../../../../org/apache/openjpa/lib/instrumentation/AbstractInstrument.html" title="class in org.apache.openjpa.lib.instrumentation">AbstractInstrument</A></B></TH> | 
|  | </TR> | 
|  | <TR BGCOLOR="white" CLASS="TableRowColor"> | 
|  | <TD><CODE><A HREF="../../../../org/apache/openjpa/lib/instrumentation/AbstractInstrument.html#getContext()">getContext</A>, <A HREF="../../../../org/apache/openjpa/lib/instrumentation/AbstractInstrument.html#getName()">getName</A>, <A HREF="../../../../org/apache/openjpa/lib/instrumentation/AbstractInstrument.html#getOptions()">getOptions</A>, <A HREF="../../../../org/apache/openjpa/lib/instrumentation/AbstractInstrument.html#getProvider()">getProvider</A>, <A HREF="../../../../org/apache/openjpa/lib/instrumentation/AbstractInstrument.html#initialize()">initialize</A>, <A HREF="../../../../org/apache/openjpa/lib/instrumentation/AbstractInstrument.html#isStarted()">isStarted</A>, <A HREF="../../../../org/apache/openjpa/lib/instrumentation/AbstractInstrument.html#restart()">restart</A>, <A HREF="../../../../org/apache/openjpa/lib/instrumentation/AbstractInstrument.html#setContext(java.lang.Object)">setContext</A>, <A HREF="../../../../org/apache/openjpa/lib/instrumentation/AbstractInstrument.html#setOptions(java.lang.String)">setOptions</A>, <A HREF="../../../../org/apache/openjpa/lib/instrumentation/AbstractInstrument.html#setProvider(org.apache.openjpa.lib.instrumentation.InstrumentationProvider)">setProvider</A>, <A HREF="../../../../org/apache/openjpa/lib/instrumentation/AbstractInstrument.html#setStarted(boolean)">setStarted</A></CODE></TD> | 
|  | </TR> | 
|  | </TABLE> | 
|  |  <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> | 
|  | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> | 
|  | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> | 
|  | <TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></B></TH> | 
|  | </TR> | 
|  | <TR BGCOLOR="white" CLASS="TableRowColor"> | 
|  | <TD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD> | 
|  | </TR> | 
|  | </TABLE> | 
|  |  <A NAME="methods_inherited_from_class_org.apache.openjpa.lib.instrumentation.Instrument"><!-- --></A> | 
|  | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> | 
|  | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> | 
|  | <TH ALIGN="left"><B>Methods inherited from interface org.apache.openjpa.lib.instrumentation.<A HREF="../../../../org/apache/openjpa/lib/instrumentation/Instrument.html" title="interface in org.apache.openjpa.lib.instrumentation">Instrument</A></B></TH> | 
|  | </TR> | 
|  | <TR BGCOLOR="white" CLASS="TableRowColor"> | 
|  | <TD><CODE><A HREF="../../../../org/apache/openjpa/lib/instrumentation/Instrument.html#start()">start</A>, <A HREF="../../../../org/apache/openjpa/lib/instrumentation/Instrument.html#stop()">stop</A></CODE></TD> | 
|  | </TR> | 
|  | </TABLE> | 
|  |   | 
|  | <P> | 
|  |  | 
|  | <!-- ============ FIELD DETAIL =========== --> | 
|  |  | 
|  | <A NAME="field_detail"><!-- --></A> | 
|  | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> | 
|  | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> | 
|  | <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> | 
|  | <B>Field Detail</B></FONT></TH> | 
|  | </TR> | 
|  | </TABLE> | 
|  |  | 
|  | <A NAME="NO_STATS"><!-- --></A><H3> | 
|  | NO_STATS</H3> | 
|  | <PRE> | 
|  | public static final long <B>NO_STATS</B></PRE> | 
|  | <DL> | 
|  | <DD>Value indicating that cache statistics are not available. | 
|  | <P> | 
|  | <DL> | 
|  | <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.apache.openjpa.instrumentation.AbstractQueryCacheInstrument.NO_STATS">Constant Field Values</A></DL> | 
|  | </DL> | 
|  |  | 
|  | <!-- ========= CONSTRUCTOR DETAIL ======== --> | 
|  |  | 
|  | <A NAME="constructor_detail"><!-- --></A> | 
|  | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> | 
|  | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> | 
|  | <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> | 
|  | <B>Constructor Detail</B></FONT></TH> | 
|  | </TR> | 
|  | </TABLE> | 
|  |  | 
|  | <A NAME="AbstractQueryCacheInstrument()"><!-- --></A><H3> | 
|  | AbstractQueryCacheInstrument</H3> | 
|  | <PRE> | 
|  | public <B>AbstractQueryCacheInstrument</B>()</PRE> | 
|  | <DL> | 
|  | </DL> | 
|  |  | 
|  | <!-- ============ METHOD DETAIL ========== --> | 
|  |  | 
|  | <A NAME="method_detail"><!-- --></A> | 
|  | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> | 
|  | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> | 
|  | <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> | 
|  | <B>Method Detail</B></FONT></TH> | 
|  | </TR> | 
|  | </TABLE> | 
|  |  | 
|  | <A NAME="setQueryCache(org.apache.openjpa.datacache.QueryCache)"><!-- --></A><H3> | 
|  | setQueryCache</H3> | 
|  | <PRE> | 
|  | public void <B>setQueryCache</B>(<A HREF="../../../../org/apache/openjpa/datacache/QueryCache.html" title="interface in org.apache.openjpa.datacache">QueryCache</A> qc)</PRE> | 
|  | <DL> | 
|  | <DD><DL> | 
|  | </DL> | 
|  | </DD> | 
|  | <DD><DL> | 
|  | </DL> | 
|  | </DD> | 
|  | </DL> | 
|  | <HR> | 
|  |  | 
|  | <A NAME="setConfigId(java.lang.String)"><!-- --></A><H3> | 
|  | setConfigId</H3> | 
|  | <PRE> | 
|  | public void <B>setConfigId</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> cid)</PRE> | 
|  | <DL> | 
|  | <DD><DL> | 
|  | </DL> | 
|  | </DD> | 
|  | <DD><DL> | 
|  | </DL> | 
|  | </DD> | 
|  | </DL> | 
|  | <HR> | 
|  |  | 
|  | <A NAME="setContextRef(java.lang.String)"><!-- --></A><H3> | 
|  | setContextRef</H3> | 
|  | <PRE> | 
|  | public void <B>setContextRef</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> cref)</PRE> | 
|  | <DL> | 
|  | <DD><DL> | 
|  | </DL> | 
|  | </DD> | 
|  | <DD><DL> | 
|  | </DL> | 
|  | </DD> | 
|  | </DL> | 
|  | <HR> | 
|  |  | 
|  | <A NAME="getConfigId()"><!-- --></A><H3> | 
|  | getConfigId</H3> | 
|  | <PRE> | 
|  | public <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>getConfigId</B>()</PRE> | 
|  | <DL> | 
|  | <DD><DL> | 
|  | </DL> | 
|  | </DD> | 
|  | <DD><DL> | 
|  | </DL> | 
|  | </DD> | 
|  | </DL> | 
|  | <HR> | 
|  |  | 
|  | <A NAME="getContextRef()"><!-- --></A><H3> | 
|  | getContextRef</H3> | 
|  | <PRE> | 
|  | public <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>getContextRef</B>()</PRE> | 
|  | <DL> | 
|  | <DD><DL> | 
|  | </DL> | 
|  | </DD> | 
|  | <DD><DL> | 
|  | </DL> | 
|  | </DD> | 
|  | </DL> | 
|  | <HR> | 
|  |  | 
|  | <A NAME="setPreparedQueryCache(org.apache.openjpa.datacache.QueryCache)"><!-- --></A><H3> | 
|  | setPreparedQueryCache</H3> | 
|  | <PRE> | 
|  | public void <B>setPreparedQueryCache</B>(<A HREF="../../../../org/apache/openjpa/datacache/QueryCache.html" title="interface in org.apache.openjpa.datacache">QueryCache</A> qc)</PRE> | 
|  | <DL> | 
|  | <DD><DL> | 
|  | </DL> | 
|  | </DD> | 
|  | <DD><DL> | 
|  | </DL> | 
|  | </DD> | 
|  | </DL> | 
|  | <HR> | 
|  |  | 
|  | <A NAME="getExecutionCount()"><!-- --></A><H3> | 
|  | getExecutionCount</H3> | 
|  | <PRE> | 
|  | public long <B>getExecutionCount</B>()</PRE> | 
|  | <DL> | 
|  | <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/instrumentation/QueryCacheInstrument.html#getExecutionCount()">QueryCacheInstrument</A></CODE></B></DD> | 
|  | <DD>Returns number of total execution requests since last reset | 
|  | <P> | 
|  | <DD><DL> | 
|  | <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/instrumentation/QueryCacheInstrument.html#getExecutionCount()">getExecutionCount</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/instrumentation/QueryCacheInstrument.html" title="interface in org.apache.openjpa.instrumentation">QueryCacheInstrument</A></CODE></DL> | 
|  | </DD> | 
|  | <DD><DL> | 
|  | </DL> | 
|  | </DD> | 
|  | </DL> | 
|  | <HR> | 
|  |  | 
|  | <A NAME="getExecutionCount(java.lang.String)"><!-- --></A><H3> | 
|  | getExecutionCount</H3> | 
|  | <PRE> | 
|  | public long <B>getExecutionCount</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> queryKey)</PRE> | 
|  | <DL> | 
|  | <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/instrumentation/QueryCacheInstrument.html#getExecutionCount(java.lang.String)">QueryCacheInstrument</A></CODE></B></DD> | 
|  | <DD>Returns number of total execution requests since last reset for | 
|  | the specified string-ified query key. | 
|  | <P> | 
|  | <DD><DL> | 
|  | <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/instrumentation/QueryCacheInstrument.html#getExecutionCount(java.lang.String)">getExecutionCount</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/instrumentation/QueryCacheInstrument.html" title="interface in org.apache.openjpa.instrumentation">QueryCacheInstrument</A></CODE></DL> | 
|  | </DD> | 
|  | <DD><DL> | 
|  | </DL> | 
|  | </DD> | 
|  | </DL> | 
|  | <HR> | 
|  |  | 
|  | <A NAME="getTotalExecutionCount()"><!-- --></A><H3> | 
|  | getTotalExecutionCount</H3> | 
|  | <PRE> | 
|  | public long <B>getTotalExecutionCount</B>()</PRE> | 
|  | <DL> | 
|  | <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/instrumentation/QueryCacheInstrument.html#getTotalExecutionCount()">QueryCacheInstrument</A></CODE></B></DD> | 
|  | <DD>Returns number of total exec requests since start. | 
|  | <P> | 
|  | <DD><DL> | 
|  | <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/instrumentation/QueryCacheInstrument.html#getTotalExecutionCount()">getTotalExecutionCount</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/instrumentation/QueryCacheInstrument.html" title="interface in org.apache.openjpa.instrumentation">QueryCacheInstrument</A></CODE></DL> | 
|  | </DD> | 
|  | <DD><DL> | 
|  | </DL> | 
|  | </DD> | 
|  | </DL> | 
|  | <HR> | 
|  |  | 
|  | <A NAME="getTotalExecutionCount(java.lang.String)"><!-- --></A><H3> | 
|  | getTotalExecutionCount</H3> | 
|  | <PRE> | 
|  | public long <B>getTotalExecutionCount</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> queryKey)</PRE> | 
|  | <DL> | 
|  | <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/instrumentation/QueryCacheInstrument.html#getTotalExecutionCount(java.lang.String)">QueryCacheInstrument</A></CODE></B></DD> | 
|  | <DD>Returns number of total exec requests since start for | 
|  | the specified string-ified query key. | 
|  | <P> | 
|  | <DD><DL> | 
|  | <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/instrumentation/QueryCacheInstrument.html#getTotalExecutionCount(java.lang.String)">getTotalExecutionCount</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/instrumentation/QueryCacheInstrument.html" title="interface in org.apache.openjpa.instrumentation">QueryCacheInstrument</A></CODE></DL> | 
|  | </DD> | 
|  | <DD><DL> | 
|  | </DL> | 
|  | </DD> | 
|  | </DL> | 
|  | <HR> | 
|  |  | 
|  | <A NAME="getHitCount()"><!-- --></A><H3> | 
|  | getHitCount</H3> | 
|  | <PRE> | 
|  | public long <B>getHitCount</B>()</PRE> | 
|  | <DL> | 
|  | <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/instrumentation/QueryCacheInstrument.html#getHitCount()">QueryCacheInstrument</A></CODE></B></DD> | 
|  | <DD>Returns number of total read requests that have been found in cache since | 
|  | last reset. | 
|  | <P> | 
|  | <DD><DL> | 
|  | <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/instrumentation/QueryCacheInstrument.html#getHitCount()">getHitCount</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/instrumentation/QueryCacheInstrument.html" title="interface in org.apache.openjpa.instrumentation">QueryCacheInstrument</A></CODE></DL> | 
|  | </DD> | 
|  | <DD><DL> | 
|  | </DL> | 
|  | </DD> | 
|  | </DL> | 
|  | <HR> | 
|  |  | 
|  | <A NAME="getHitCount(java.lang.String)"><!-- --></A><H3> | 
|  | getHitCount</H3> | 
|  | <PRE> | 
|  | public long <B>getHitCount</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> queryKey)</PRE> | 
|  | <DL> | 
|  | <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/instrumentation/QueryCacheInstrument.html#getHitCount(java.lang.String)">QueryCacheInstrument</A></CODE></B></DD> | 
|  | <DD>Returns number of total read requests that have been found in cache since | 
|  | last reset for the specified string-ified query key. | 
|  | <P> | 
|  | <DD><DL> | 
|  | <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/instrumentation/QueryCacheInstrument.html#getHitCount(java.lang.String)">getHitCount</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/instrumentation/QueryCacheInstrument.html" title="interface in org.apache.openjpa.instrumentation">QueryCacheInstrument</A></CODE></DL> | 
|  | </DD> | 
|  | <DD><DL> | 
|  | </DL> | 
|  | </DD> | 
|  | </DL> | 
|  | <HR> | 
|  |  | 
|  | <A NAME="getTotalHitCount()"><!-- --></A><H3> | 
|  | getTotalHitCount</H3> | 
|  | <PRE> | 
|  | public long <B>getTotalHitCount</B>()</PRE> | 
|  | <DL> | 
|  | <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/instrumentation/QueryCacheInstrument.html#getTotalHitCount()">QueryCacheInstrument</A></CODE></B></DD> | 
|  | <DD>Returns number of total read requests that has been found since start. | 
|  | <P> | 
|  | <DD><DL> | 
|  | <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/instrumentation/QueryCacheInstrument.html#getTotalHitCount()">getTotalHitCount</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/instrumentation/QueryCacheInstrument.html" title="interface in org.apache.openjpa.instrumentation">QueryCacheInstrument</A></CODE></DL> | 
|  | </DD> | 
|  | <DD><DL> | 
|  | </DL> | 
|  | </DD> | 
|  | </DL> | 
|  | <HR> | 
|  |  | 
|  | <A NAME="getTotalHitCount(java.lang.String)"><!-- --></A><H3> | 
|  | getTotalHitCount</H3> | 
|  | <PRE> | 
|  | public long <B>getTotalHitCount</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> queryKey)</PRE> | 
|  | <DL> | 
|  | <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/instrumentation/QueryCacheInstrument.html#getTotalHitCount(java.lang.String)">QueryCacheInstrument</A></CODE></B></DD> | 
|  | <DD>Returns number of total read requests that has been found since start for | 
|  | the specified string-ified query key. | 
|  | <P> | 
|  | <DD><DL> | 
|  | <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/instrumentation/QueryCacheInstrument.html#getTotalHitCount(java.lang.String)">getTotalHitCount</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/instrumentation/QueryCacheInstrument.html" title="interface in org.apache.openjpa.instrumentation">QueryCacheInstrument</A></CODE></DL> | 
|  | </DD> | 
|  | <DD><DL> | 
|  | </DL> | 
|  | </DD> | 
|  | </DL> | 
|  | <HR> | 
|  |  | 
|  | <A NAME="reset()"><!-- --></A><H3> | 
|  | reset</H3> | 
|  | <PRE> | 
|  | public void <B>reset</B>()</PRE> | 
|  | <DL> | 
|  | <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/instrumentation/QueryCacheInstrument.html#reset()">QueryCacheInstrument</A></CODE></B></DD> | 
|  | <DD>Resets cache statistics | 
|  | <P> | 
|  | <DD><DL> | 
|  | <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/instrumentation/QueryCacheInstrument.html#reset()">reset</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/instrumentation/QueryCacheInstrument.html" title="interface in org.apache.openjpa.instrumentation">QueryCacheInstrument</A></CODE></DL> | 
|  | </DD> | 
|  | <DD><DL> | 
|  | </DL> | 
|  | </DD> | 
|  | </DL> | 
|  | <HR> | 
|  |  | 
|  | <A NAME="sinceDate()"><!-- --></A><H3> | 
|  | sinceDate</H3> | 
|  | <PRE> | 
|  | public <A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Date.html?is-external=true" title="class or interface in java.util">Date</A> <B>sinceDate</B>()</PRE> | 
|  | <DL> | 
|  | <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/instrumentation/QueryCacheInstrument.html#sinceDate()">QueryCacheInstrument</A></CODE></B></DD> | 
|  | <DD>Returns date since cache statistics collection were last reset. | 
|  | <P> | 
|  | <DD><DL> | 
|  | <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/instrumentation/QueryCacheInstrument.html#sinceDate()">sinceDate</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/instrumentation/QueryCacheInstrument.html" title="interface in org.apache.openjpa.instrumentation">QueryCacheInstrument</A></CODE></DL> | 
|  | </DD> | 
|  | <DD><DL> | 
|  | </DL> | 
|  | </DD> | 
|  | </DL> | 
|  | <HR> | 
|  |  | 
|  | <A NAME="startDate()"><!-- --></A><H3> | 
|  | startDate</H3> | 
|  | <PRE> | 
|  | public <A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Date.html?is-external=true" title="class or interface in java.util">Date</A> <B>startDate</B>()</PRE> | 
|  | <DL> | 
|  | <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/instrumentation/QueryCacheInstrument.html#startDate()">QueryCacheInstrument</A></CODE></B></DD> | 
|  | <DD>Returns date cache statistics collection started. | 
|  | <P> | 
|  | <DD><DL> | 
|  | <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/instrumentation/QueryCacheInstrument.html#startDate()">startDate</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/instrumentation/QueryCacheInstrument.html" title="interface in org.apache.openjpa.instrumentation">QueryCacheInstrument</A></CODE></DL> | 
|  | </DD> | 
|  | <DD><DL> | 
|  | </DL> | 
|  | </DD> | 
|  | </DL> | 
|  | <HR> | 
|  |  | 
|  | <A NAME="getEvictionCount()"><!-- --></A><H3> | 
|  | getEvictionCount</H3> | 
|  | <PRE> | 
|  | public long <B>getEvictionCount</B>()</PRE> | 
|  | <DL> | 
|  | <DD>Returns number of total evictions since last reset | 
|  | <P> | 
|  | <DD><DL> | 
|  | <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/instrumentation/QueryCacheInstrument.html#getEvictionCount()">getEvictionCount</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/instrumentation/QueryCacheInstrument.html" title="interface in org.apache.openjpa.instrumentation">QueryCacheInstrument</A></CODE></DL> | 
|  | </DD> | 
|  | <DD><DL> | 
|  | </DL> | 
|  | </DD> | 
|  | </DL> | 
|  | <HR> | 
|  |  | 
|  | <A NAME="getTotalEvictionCount()"><!-- --></A><H3> | 
|  | getTotalEvictionCount</H3> | 
|  | <PRE> | 
|  | public long <B>getTotalEvictionCount</B>()</PRE> | 
|  | <DL> | 
|  | <DD>Returns number of total eviction requests since start. | 
|  | <P> | 
|  | <DD><DL> | 
|  | <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/instrumentation/QueryCacheInstrument.html#getTotalEvictionCount()">getTotalEvictionCount</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/instrumentation/QueryCacheInstrument.html" title="interface in org.apache.openjpa.instrumentation">QueryCacheInstrument</A></CODE></DL> | 
|  | </DD> | 
|  | <DD><DL> | 
|  | </DL> | 
|  | </DD> | 
|  | </DL> | 
|  | <HR> | 
|  |  | 
|  | <A NAME="queryKeys()"><!-- --></A><H3> | 
|  | queryKeys</H3> | 
|  | <PRE> | 
|  | public <A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</A><<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>> <B>queryKeys</B>()</PRE> | 
|  | <DL> | 
|  | <DD>Returns all query keys currently tracked in the cache. | 
|  | <P> | 
|  | <DD><DL> | 
|  | <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/instrumentation/QueryCacheInstrument.html#queryKeys()">queryKeys</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/instrumentation/QueryCacheInstrument.html" title="interface in org.apache.openjpa.instrumentation">QueryCacheInstrument</A></CODE></DL> | 
|  | </DD> | 
|  | <DD><DL> | 
|  |  | 
|  | <DT><B>Returns:</B><DD></DL> | 
|  | </DD> | 
|  | </DL> | 
|  | <HR> | 
|  |  | 
|  | <A NAME="count()"><!-- --></A><H3> | 
|  | count</H3> | 
|  | <PRE> | 
|  | public long <B>count</B>()</PRE> | 
|  | <DL> | 
|  | <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/instrumentation/QueryCacheInstrument.html#count()">QueryCacheInstrument</A></CODE></B></DD> | 
|  | <DD>Returns the number of total entries in the cache. | 
|  | <P> | 
|  | <DD><DL> | 
|  | <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/instrumentation/QueryCacheInstrument.html#count()">count</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/instrumentation/QueryCacheInstrument.html" title="interface in org.apache.openjpa.instrumentation">QueryCacheInstrument</A></CODE></DL> | 
|  | </DD> | 
|  | <DD><DL> | 
|  |  | 
|  | <DT><B>Returns:</B><DD>entries</DL> | 
|  | </DD> | 
|  | </DL> | 
|  | <HR> | 
|  |  | 
|  | <A NAME="getLevel()"><!-- --></A><H3> | 
|  | getLevel</H3> | 
|  | <PRE> | 
|  | public <A HREF="../../../../org/apache/openjpa/lib/instrumentation/InstrumentationLevel.html" title="enum in org.apache.openjpa.lib.instrumentation">InstrumentationLevel</A> <B>getLevel</B>()</PRE> | 
|  | <DL> | 
|  | <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/openjpa/lib/instrumentation/Instrument.html#getLevel()">Instrument</A></CODE></B></DD> | 
|  | <DD>Gets the instrumentation level of this instrument.  The instrumentation level | 
|  | determines if and when the instrument will automatically start and stop. | 
|  | <P> | 
|  | <DD><DL> | 
|  | <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/lib/instrumentation/Instrument.html#getLevel()">getLevel</A></CODE> in interface <CODE><A HREF="../../../../org/apache/openjpa/lib/instrumentation/Instrument.html" title="interface in org.apache.openjpa.lib.instrumentation">Instrument</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../org/apache/openjpa/lib/instrumentation/AbstractInstrument.html#getLevel()">getLevel</A></CODE> in class <CODE><A HREF="../../../../org/apache/openjpa/lib/instrumentation/AbstractInstrument.html" title="class in org.apache.openjpa.lib.instrumentation">AbstractInstrument</A></CODE></DL> | 
|  | </DD> | 
|  | <DD><DL> | 
|  |  | 
|  | <DT><B>Returns:</B><DD>the instrumentation level of the instrument</DL> | 
|  | </DD> | 
|  | </DL> | 
|  | <!-- ========= END OF CLASS DATA ========= --> | 
|  | <HR> | 
|  |  | 
|  |  | 
|  | <!-- ======= START OF BOTTOM NAVBAR ====== --> | 
|  | <A NAME="navbar_bottom"><!-- --></A> | 
|  | <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> | 
|  | <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> | 
|  | <TR> | 
|  | <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> | 
|  | <A NAME="navbar_bottom_firstrow"><!-- --></A> | 
|  | <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> | 
|  | <TR ALIGN="center" VALIGN="top"> | 
|  | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> | 
|  | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> | 
|  | <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev">  <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> | 
|  | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/AbstractQueryCacheInstrument.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> | 
|  | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> | 
|  | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> | 
|  | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> | 
|  | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> | 
|  | </TR> | 
|  | </TABLE> | 
|  | </TD> | 
|  | <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> | 
|  | </EM> | 
|  | </TD> | 
|  | </TR> | 
|  |  | 
|  | <TR> | 
|  | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> | 
|  |  <A HREF="../../../../org/apache/openjpa/instrumentation/AbstractPreparedQueryCacheInstrument.html" title="class in org.apache.openjpa.instrumentation"><B>PREV CLASS</B></A>  | 
|  |  <A HREF="../../../../org/apache/openjpa/instrumentation/DataCacheInstrument.html" title="interface in org.apache.openjpa.instrumentation"><B>NEXT CLASS</B></A></FONT></TD> | 
|  | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> | 
|  | <A HREF="../../../../index.html?org/apache/openjpa/instrumentation/AbstractQueryCacheInstrument.html" target="_top"><B>FRAMES</B></A>    | 
|  |  <A HREF="AbstractQueryCacheInstrument.html" target="_top"><B>NO FRAMES</B></A>    | 
|  |  <SCRIPT type="text/javascript"> | 
|  | <!-- | 
|  | if(window==top) { | 
|  | document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); | 
|  | } | 
|  | //--> | 
|  | </SCRIPT> | 
|  | <NOSCRIPT> | 
|  | <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A> | 
|  | </NOSCRIPT> | 
|  |  | 
|  |  | 
|  | </FONT></TD> | 
|  | </TR> | 
|  | <TR> | 
|  | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> | 
|  | SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> | 
|  | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> | 
|  | DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> | 
|  | </TR> | 
|  | </TABLE> | 
|  | <A NAME="skip-navbar_bottom"></A> | 
|  | <!-- ======== END OF BOTTOM NAVBAR ======= --> | 
|  |  | 
|  | <HR> | 
|  | Copyright © 2006-2012 <a href="http://www.apache.org">Apache Software Foundation</a>. All Rights Reserved. | 
|  | </BODY> | 
|  | </HTML> |