|  | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> | 
|  | <!-- NewPage --> | 
|  | <html lang="en"> | 
|  | <head> | 
|  | <!-- Generated by javadoc (version 1.7.0_121) on Fri Jan 06 19:36:26 UTC 2017 --> | 
|  | <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> | 
|  | <title>FinderCache (OpenJPA Parent POM 2.4.2 API)</title> | 
|  | <meta name="date" content="2017-01-06"> | 
|  | <link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style"> | 
|  | </head> | 
|  | <body> | 
|  | <script type="text/javascript"><!-- | 
|  | try { | 
|  | if (location.href.indexOf('is-external=true') == -1) { | 
|  | parent.document.title="FinderCache (OpenJPA Parent POM 2.4.2 API)"; | 
|  | } | 
|  | } | 
|  | catch(err) { | 
|  | } | 
|  | //--> | 
|  | </script> | 
|  | <noscript> | 
|  | <div>JavaScript is disabled on your browser.</div> | 
|  | </noscript> | 
|  | <!-- ========= START OF TOP NAVBAR ======= --> | 
|  | <div class="topNav"><a name="navbar_top"> | 
|  | <!--   --> | 
|  | </a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow"> | 
|  | <!--   --> | 
|  | </a> | 
|  | <ul class="navList" title="Navigation"> | 
|  | <li><a href="../../../../overview-summary.html">Overview</a></li> | 
|  | <li><a href="package-summary.html">Package</a></li> | 
|  | <li class="navBarCell1Rev">Class</li> | 
|  | <li><a href="class-use/FinderCache.html">Use</a></li> | 
|  | <li><a href="package-tree.html">Tree</a></li> | 
|  | <li><a href="../../../../deprecated-list.html">Deprecated</a></li> | 
|  | <li><a href="../../../../index-all.html">Index</a></li> | 
|  | <li><a href="../../../../help-doc.html">Help</a></li> | 
|  | </ul> | 
|  | </div> | 
|  | <div class="subNav"> | 
|  | <ul class="navList"> | 
|  | <li><a href="../../../../org/apache/openjpa/kernel/FindCallbacks.html" title="interface in org.apache.openjpa.kernel"><span class="strong">Prev Class</span></a></li> | 
|  | <li><a href="../../../../org/apache/openjpa/kernel/FinderQuery.html" title="interface in org.apache.openjpa.kernel"><span class="strong">Next Class</span></a></li> | 
|  | </ul> | 
|  | <ul class="navList"> | 
|  | <li><a href="../../../../index.html?org/apache/openjpa/kernel/FinderCache.html" target="_top">Frames</a></li> | 
|  | <li><a href="FinderCache.html" target="_top">No Frames</a></li> | 
|  | </ul> | 
|  | <ul class="navList" id="allclasses_navbar_top"> | 
|  | <li><a href="../../../../allclasses-noframe.html">All Classes</a></li> | 
|  | </ul> | 
|  | <div> | 
|  | <script type="text/javascript"><!-- | 
|  | allClassesLink = document.getElementById("allclasses_navbar_top"); | 
|  | if(window==top) { | 
|  | allClassesLink.style.display = "block"; | 
|  | } | 
|  | else { | 
|  | allClassesLink.style.display = "none"; | 
|  | } | 
|  | //--> | 
|  | </script> | 
|  | </div> | 
|  | <div> | 
|  | <ul class="subNavList"> | 
|  | <li>Summary: </li> | 
|  | <li>Nested | </li> | 
|  | <li>Field | </li> | 
|  | <li>Constr | </li> | 
|  | <li><a href="#method_summary">Method</a></li> | 
|  | </ul> | 
|  | <ul class="subNavList"> | 
|  | <li>Detail: </li> | 
|  | <li>Field | </li> | 
|  | <li>Constr | </li> | 
|  | <li><a href="#method_detail">Method</a></li> | 
|  | </ul> | 
|  | </div> | 
|  | <a name="skip-navbar_top"> | 
|  | <!--   --> | 
|  | </a></div> | 
|  | <!-- ========= END OF TOP NAVBAR ========= --> | 
|  | <!-- ======== START OF CLASS DATA ======== --> | 
|  | <div class="header"> | 
|  | <div class="subTitle">org.apache.openjpa.kernel</div> | 
|  | <h2 title="Interface FinderCache" class="title">Interface FinderCache<K,V,R></h2> | 
|  | </div> | 
|  | <div class="contentContainer"> | 
|  | <div class="description"> | 
|  | <ul class="blockList"> | 
|  | <li class="blockList"> | 
|  | <dl> | 
|  | <dt>All Superinterfaces:</dt> | 
|  | <dd><a href="../../../../org/apache/openjpa/lib/conf/Configurable.html" title="interface in org.apache.openjpa.lib.conf">Configurable</a></dd> | 
|  | </dl> | 
|  | <dl> | 
|  | <dt>All Known Implementing Classes:</dt> | 
|  | <dd><a href="../../../../org/apache/openjpa/jdbc/kernel/FinderCacheImpl.html" title="class in org.apache.openjpa.jdbc.kernel">FinderCacheImpl</a></dd> | 
|  | </dl> | 
|  | <hr> | 
|  | <br> | 
|  | <pre>public interface <span class="strong">FinderCache<K,V,R></span> | 
|  | extends <a href="../../../../org/apache/openjpa/lib/conf/Configurable.html" title="interface in org.apache.openjpa.lib.conf">Configurable</a></pre> | 
|  | <div class="block">A cache to create and maintain <a href="../../../../org/apache/openjpa/kernel/FinderQuery.html" title="interface in org.apache.openjpa.kernel"><code>finder queries</code></a>. | 
|  |  | 
|  | A finder query is a query to find instance of a given class by its primary | 
|  | identity. This cache maintains finder queries by generic identifier of | 
|  | parameterized type K. | 
|  |  | 
|  | A cached query by an identifier of parameterized type K. | 
|  |  | 
|  | A query can be cached by an identifier and value represented by parameterized | 
|  | type V. Caching results in creating a new instance of FinderQuery FQ from the | 
|  | value V such that FQ can be executed to return a result of parameterized type | 
|  | R. A request to cache may not be successful if this cache determines the | 
|  | value V to be not cachable. | 
|  |  | 
|  | Both get() and put() operations can be controlled by the hints associated | 
|  | with FetchConfiguration. | 
|  |  | 
|  | The target database query FQ associated to a cached finder query F | 
|  | <em>may</em> depend upon query execution context such as fetch plan or | 
|  | lock group. This cache, by design, does not monitor the context or | 
|  | automatically invalidate an entry when the original query F is executed | 
|  | with context parameters that affect the target query FQ. | 
|  |  | 
|  | The user must notify this receiver to invalidate a cached entry when | 
|  | execution context changes in a way that will modify the resultant database | 
|  | language query FQ. | 
|  |  | 
|  | One of the built-in mechanism (available in JPA facade) is to set query hints | 
|  | to either invalidate the query entirely or ignore the cached version for the | 
|  | current execution.</div> | 
|  | <dl><dt><span class="strong">Since:</span></dt> | 
|  | <dd>2.0.0</dd> | 
|  | <dt><span class="strong">Author:</span></dt> | 
|  | <dd>Pinaki Poddar</dd> | 
|  | <dt><span class="strong">See Also:</span></dt><dd><a href="../../../../org/apache/openjpa/kernel/QueryHints.html#HINT_IGNORE_FINDER"><code>QueryHints.HINT_IGNORE_FINDER</code></a>, | 
|  | <a href="../../../../org/apache/openjpa/kernel/QueryHints.html#HINT_INVALIDATE_FINDER"><code>QueryHints.HINT_INVALIDATE_FINDER</code></a>, | 
|  | <a href="../../../../org/apache/openjpa/kernel/QueryHints.html#HINT_RECACHE_FINDER"><code>This cache allows customization of whether a query can be cached or not | 
|  | via either explicit marking of certain classes as non-cachable (which is | 
|  | irreversible) or addition/removal of exclusion patterns (which is reversible)</code></a></dd></dl> | 
|  | </li> | 
|  | </ul> | 
|  | </div> | 
|  | <div class="summary"> | 
|  | <ul class="blockList"> | 
|  | <li class="blockList"> | 
|  | <!-- ========== METHOD SUMMARY =========== --> | 
|  | <ul class="blockList"> | 
|  | <li class="blockList"><a name="method_summary"> | 
|  | <!--   --> | 
|  | </a> | 
|  | <h3>Method Summary</h3> | 
|  | <table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> | 
|  | <caption><span>Methods</span><span class="tabEnd"> </span></caption> | 
|  | <tr> | 
|  | <th class="colFirst" scope="col">Modifier and Type</th> | 
|  | <th class="colLast" scope="col">Method and Description</th> | 
|  | </tr> | 
|  | <tr class="altColor"> | 
|  | <td class="colFirst"><code>void</code></td> | 
|  | <td class="colLast"><code><strong><a href="../../../../org/apache/openjpa/kernel/FinderCache.html#addExclusionPattern(java.lang.String)">addExclusionPattern</a></strong>(<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> pattern)</code> | 
|  | <div class="block">Adds the given pattern to the list of excluded patterns.</div> | 
|  | </td> | 
|  | </tr> | 
|  | <tr class="rowColor"> | 
|  | <td class="colFirst"><code><a href="../../../../org/apache/openjpa/kernel/FinderQuery.html" title="interface in org.apache.openjpa.kernel">FinderQuery</a><<a href="../../../../org/apache/openjpa/kernel/FinderCache.html" title="type parameter in FinderCache">K</a>,<a href="../../../../org/apache/openjpa/kernel/FinderCache.html" title="type parameter in FinderCache">V</a>,<a href="../../../../org/apache/openjpa/kernel/FinderCache.html" title="type parameter in FinderCache">R</a>></code></td> | 
|  | <td class="colLast"><code><strong><a href="../../../../org/apache/openjpa/kernel/FinderCache.html#cache(K,%20V,%20org.apache.openjpa.kernel.FetchConfiguration)">cache</a></strong>(<a href="../../../../org/apache/openjpa/kernel/FinderCache.html" title="type parameter in FinderCache">K</a> key, | 
|  | <a href="../../../../org/apache/openjpa/kernel/FinderCache.html" title="type parameter in FinderCache">V</a> value, | 
|  | <a href="../../../../org/apache/openjpa/kernel/FetchConfiguration.html" title="interface in org.apache.openjpa.kernel">FetchConfiguration</a> fetch)</code> | 
|  | <div class="block">Cache a FinderQuery for the given key and value.</div> | 
|  | </td> | 
|  | </tr> | 
|  | <tr class="altColor"> | 
|  | <td class="colFirst"><code><a href="../../../../org/apache/openjpa/kernel/FinderQuery.html" title="interface in org.apache.openjpa.kernel">FinderQuery</a><<a href="../../../../org/apache/openjpa/kernel/FinderCache.html" title="type parameter in FinderCache">K</a>,<a href="../../../../org/apache/openjpa/kernel/FinderCache.html" title="type parameter in FinderCache">V</a>,<a href="../../../../org/apache/openjpa/kernel/FinderCache.html" title="type parameter in FinderCache">R</a>></code></td> | 
|  | <td class="colLast"><code><strong><a href="../../../../org/apache/openjpa/kernel/FinderCache.html#get(K,%20org.apache.openjpa.kernel.FetchConfiguration)">get</a></strong>(<a href="../../../../org/apache/openjpa/kernel/FinderCache.html" title="type parameter in FinderCache">K</a> key, | 
|  | <a href="../../../../org/apache/openjpa/kernel/FetchConfiguration.html" title="interface in org.apache.openjpa.kernel">FetchConfiguration</a> fetch)</code> | 
|  | <div class="block">Get the FinderQuery for the given key.</div> | 
|  | </td> | 
|  | </tr> | 
|  | <tr class="rowColor"> | 
|  | <td class="colFirst"><code><a href="http://download.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</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></td> | 
|  | <td class="colLast"><code><strong><a href="../../../../org/apache/openjpa/kernel/FinderCache.html#getExcludes()">getExcludes</a></strong>()</code> | 
|  | <div class="block">Gets the excluded stringified keys.</div> | 
|  | </td> | 
|  | </tr> | 
|  | <tr class="altColor"> | 
|  | <td class="colFirst"><code><a href="http://download.oracle.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</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>,<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></td> | 
|  | <td class="colLast"><code><strong><a href="../../../../org/apache/openjpa/kernel/FinderCache.html#getMapView()">getMapView</a></strong>()</code> | 
|  | <div class="block">Get a map view of the cached entries as strings.</div> | 
|  | </td> | 
|  | </tr> | 
|  | <tr class="rowColor"> | 
|  | <td class="colFirst"><code><a href="../../../../org/apache/openjpa/kernel/QueryStatistics.html" title="interface in org.apache.openjpa.kernel">QueryStatistics</a><<a href="../../../../org/apache/openjpa/kernel/FinderCache.html" title="type parameter in FinderCache">K</a>></code></td> | 
|  | <td class="colLast"><code><strong><a href="../../../../org/apache/openjpa/kernel/FinderCache.html#getStatistics()">getStatistics</a></strong>()</code> | 
|  | <div class="block">Gets the simple statistics for executed finder queries.</div> | 
|  | </td> | 
|  | </tr> | 
|  | <tr class="altColor"> | 
|  | <td class="colFirst"><code>boolean</code></td> | 
|  | <td class="colLast"><code><strong><a href="../../../../org/apache/openjpa/kernel/FinderCache.html#invalidate(K)">invalidate</a></strong>(<a href="../../../../org/apache/openjpa/kernel/FinderCache.html" title="type parameter in FinderCache">K</a> key)</code> | 
|  | <div class="block">Remove the FinderQuery for the given key from this cache.</div> | 
|  | </td> | 
|  | </tr> | 
|  | <tr class="rowColor"> | 
|  | <td class="colFirst"><code>boolean</code></td> | 
|  | <td class="colLast"><code><strong><a href="../../../../org/apache/openjpa/kernel/FinderCache.html#isExcluded(K)">isExcluded</a></strong>(<a href="../../../../org/apache/openjpa/kernel/FinderCache.html" title="type parameter in FinderCache">K</a> key)</code> | 
|  | <div class="block">Affirms if the given key matches any of the exclusion patterns.</div> | 
|  | </td> | 
|  | </tr> | 
|  | <tr class="altColor"> | 
|  | <td class="colFirst"><code><a href="../../../../org/apache/openjpa/kernel/FinderQuery.html" title="interface in org.apache.openjpa.kernel">FinderQuery</a><<a href="../../../../org/apache/openjpa/kernel/FinderCache.html" title="type parameter in FinderCache">K</a>,<a href="../../../../org/apache/openjpa/kernel/FinderCache.html" title="type parameter in FinderCache">V</a>,<a href="../../../../org/apache/openjpa/kernel/FinderCache.html" title="type parameter in FinderCache">R</a>></code></td> | 
|  | <td class="colLast"><code><strong><a href="../../../../org/apache/openjpa/kernel/FinderCache.html#markUncachable(K)">markUncachable</a></strong>(<a href="../../../../org/apache/openjpa/kernel/FinderCache.html" title="type parameter in FinderCache">K</a> key)</code> | 
|  | <div class="block">Marks the given key as not amenable to caching.</div> | 
|  | </td> | 
|  | </tr> | 
|  | <tr class="rowColor"> | 
|  | <td class="colFirst"><code>void</code></td> | 
|  | <td class="colLast"><code><strong><a href="../../../../org/apache/openjpa/kernel/FinderCache.html#removeExclusionPattern(java.lang.String)">removeExclusionPattern</a></strong>(<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> pattern)</code> | 
|  | <div class="block">Removes the given pattern from the list of excluded patterns.</div> | 
|  | </td> | 
|  | </tr> | 
|  | </table> | 
|  | <ul class="blockList"> | 
|  | <li class="blockList"><a name="methods_inherited_from_class_org.apache.openjpa.lib.conf.Configurable"> | 
|  | <!--   --> | 
|  | </a> | 
|  | <h3>Methods inherited from interface org.apache.openjpa.lib.conf.<a href="../../../../org/apache/openjpa/lib/conf/Configurable.html" title="interface in org.apache.openjpa.lib.conf">Configurable</a></h3> | 
|  | <code><a href="../../../../org/apache/openjpa/lib/conf/Configurable.html#endConfiguration()">endConfiguration</a>, <a href="../../../../org/apache/openjpa/lib/conf/Configurable.html#setConfiguration(org.apache.openjpa.lib.conf.Configuration)">setConfiguration</a>, <a href="../../../../org/apache/openjpa/lib/conf/Configurable.html#startConfiguration()">startConfiguration</a></code></li> | 
|  | </ul> | 
|  | </li> | 
|  | </ul> | 
|  | </li> | 
|  | </ul> | 
|  | </div> | 
|  | <div class="details"> | 
|  | <ul class="blockList"> | 
|  | <li class="blockList"> | 
|  | <!-- ============ METHOD DETAIL ========== --> | 
|  | <ul class="blockList"> | 
|  | <li class="blockList"><a name="method_detail"> | 
|  | <!--   --> | 
|  | </a> | 
|  | <h3>Method Detail</h3> | 
|  | <a name="get(java.lang.Object,org.apache.openjpa.kernel.FetchConfiguration)"> | 
|  | <!--   --> | 
|  | </a><a name="get(K, org.apache.openjpa.kernel.FetchConfiguration)"> | 
|  | <!--   --> | 
|  | </a> | 
|  | <ul class="blockList"> | 
|  | <li class="blockList"> | 
|  | <h4>get</h4> | 
|  | <pre><a href="../../../../org/apache/openjpa/kernel/FinderQuery.html" title="interface in org.apache.openjpa.kernel">FinderQuery</a><<a href="../../../../org/apache/openjpa/kernel/FinderCache.html" title="type parameter in FinderCache">K</a>,<a href="../../../../org/apache/openjpa/kernel/FinderCache.html" title="type parameter in FinderCache">V</a>,<a href="../../../../org/apache/openjpa/kernel/FinderCache.html" title="type parameter in FinderCache">R</a>> get(<a href="../../../../org/apache/openjpa/kernel/FinderCache.html" title="type parameter in FinderCache">K</a> key, | 
|  | <a href="../../../../org/apache/openjpa/kernel/FetchConfiguration.html" title="interface in org.apache.openjpa.kernel">FetchConfiguration</a> fetch)</pre> | 
|  | <div class="block">Get the FinderQuery for the given key.</div> | 
|  | <dl><dt><span class="strong">Parameters:</span></dt><dd><code>key</code> - for which the finder is looked up</dd><dd><code>fecth</code> - may contain hints to control lookup operation</dd> | 
|  | <dt><span class="strong">Returns:</span></dt><dd>FinderQuery for the given mapping.</dd></dl> | 
|  | </li> | 
|  | </ul> | 
|  | <a name="cache(java.lang.Object,java.lang.Object,org.apache.openjpa.kernel.FetchConfiguration)"> | 
|  | <!--   --> | 
|  | </a><a name="cache(K, V, org.apache.openjpa.kernel.FetchConfiguration)"> | 
|  | <!--   --> | 
|  | </a> | 
|  | <ul class="blockList"> | 
|  | <li class="blockList"> | 
|  | <h4>cache</h4> | 
|  | <pre><a href="../../../../org/apache/openjpa/kernel/FinderQuery.html" title="interface in org.apache.openjpa.kernel">FinderQuery</a><<a href="../../../../org/apache/openjpa/kernel/FinderCache.html" title="type parameter in FinderCache">K</a>,<a href="../../../../org/apache/openjpa/kernel/FinderCache.html" title="type parameter in FinderCache">V</a>,<a href="../../../../org/apache/openjpa/kernel/FinderCache.html" title="type parameter in FinderCache">R</a>> cache(<a href="../../../../org/apache/openjpa/kernel/FinderCache.html" title="type parameter in FinderCache">K</a> key, | 
|  | <a href="../../../../org/apache/openjpa/kernel/FinderCache.html" title="type parameter in FinderCache">V</a> value, | 
|  | <a href="../../../../org/apache/openjpa/kernel/FetchConfiguration.html" title="interface in org.apache.openjpa.kernel">FetchConfiguration</a> fetch)</pre> | 
|  | <div class="block">Cache a FinderQuery for the given key and value.</div> | 
|  | <dl><dt><span class="strong">Parameters:</span></dt><dd><code>key</code> - for which the finder is cached.</dd><dd><code>value</code> - used to construct the finder query</dd><dd><code>fetch</code> - may contain hints to control cache operation.</dd> | 
|  | <dt><span class="strong">Returns:</span></dt><dd>the finder query that has been cached. It may be newly | 
|  | constructed or an existing query. If the given key-value can not be | 
|  | cached, then return null.</dd></dl> | 
|  | </li> | 
|  | </ul> | 
|  | <a name="getMapView()"> | 
|  | <!--   --> | 
|  | </a> | 
|  | <ul class="blockList"> | 
|  | <li class="blockList"> | 
|  | <h4>getMapView</h4> | 
|  | <pre><a href="http://download.oracle.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</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>,<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>> getMapView()</pre> | 
|  | <div class="block">Get a map view of the cached entries as strings.</div> | 
|  | </li> | 
|  | </ul> | 
|  | <a name="invalidate(java.lang.Object)"> | 
|  | <!--   --> | 
|  | </a><a name="invalidate(K)"> | 
|  | <!--   --> | 
|  | </a> | 
|  | <ul class="blockList"> | 
|  | <li class="blockList"> | 
|  | <h4>invalidate</h4> | 
|  | <pre>boolean invalidate(<a href="../../../../org/apache/openjpa/kernel/FinderCache.html" title="type parameter in FinderCache">K</a> key)</pre> | 
|  | <div class="block">Remove the FinderQuery for the given key from this cache.</div> | 
|  | </li> | 
|  | </ul> | 
|  | <a name="markUncachable(java.lang.Object)"> | 
|  | <!--   --> | 
|  | </a><a name="markUncachable(K)"> | 
|  | <!--   --> | 
|  | </a> | 
|  | <ul class="blockList"> | 
|  | <li class="blockList"> | 
|  | <h4>markUncachable</h4> | 
|  | <pre><a href="../../../../org/apache/openjpa/kernel/FinderQuery.html" title="interface in org.apache.openjpa.kernel">FinderQuery</a><<a href="../../../../org/apache/openjpa/kernel/FinderCache.html" title="type parameter in FinderCache">K</a>,<a href="../../../../org/apache/openjpa/kernel/FinderCache.html" title="type parameter in FinderCache">V</a>,<a href="../../../../org/apache/openjpa/kernel/FinderCache.html" title="type parameter in FinderCache">R</a>> markUncachable(<a href="../../../../org/apache/openjpa/kernel/FinderCache.html" title="type parameter in FinderCache">K</a> key)</pre> | 
|  | <div class="block">Marks the given key as not amenable to caching. | 
|  | Explicit marking helps to avoid repeated computational cost of | 
|  | determining whether finder for a key can be cached or not. | 
|  |  | 
|  | Explicit marking can not be reversed by removal of exclusion patterns.</div> | 
|  | <dl><dt><span class="strong">Returns:</span></dt><dd>finder query for the given class if it had been cached before. | 
|  | null otherwise.</dd></dl> | 
|  | </li> | 
|  | </ul> | 
|  | <a name="isExcluded(java.lang.Object)"> | 
|  | <!--   --> | 
|  | </a><a name="isExcluded(K)"> | 
|  | <!--   --> | 
|  | </a> | 
|  | <ul class="blockList"> | 
|  | <li class="blockList"> | 
|  | <h4>isExcluded</h4> | 
|  | <pre>boolean isExcluded(<a href="../../../../org/apache/openjpa/kernel/FinderCache.html" title="type parameter in FinderCache">K</a> key)</pre> | 
|  | <div class="block">Affirms if the given key matches any of the exclusion patterns.</div> | 
|  | </li> | 
|  | </ul> | 
|  | <a name="getExcludes()"> | 
|  | <!--   --> | 
|  | </a> | 
|  | <ul class="blockList"> | 
|  | <li class="blockList"> | 
|  | <h4>getExcludes</h4> | 
|  | <pre><a href="http://download.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</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>> getExcludes()</pre> | 
|  | <div class="block">Gets the excluded stringified keys.</div> | 
|  | </li> | 
|  | </ul> | 
|  | <a name="addExclusionPattern(java.lang.String)"> | 
|  | <!--   --> | 
|  | </a> | 
|  | <ul class="blockList"> | 
|  | <li class="blockList"> | 
|  | <h4>addExclusionPattern</h4> | 
|  | <pre>void addExclusionPattern(<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> pattern)</pre> | 
|  | <div class="block">Adds the given pattern to the list of excluded patterns. Any existing | 
|  | cache entry whose key matches the given pattern will be marked | 
|  | non-cachable in a reversible manner.</div> | 
|  | </li> | 
|  | </ul> | 
|  | <a name="removeExclusionPattern(java.lang.String)"> | 
|  | <!--   --> | 
|  | </a> | 
|  | <ul class="blockList"> | 
|  | <li class="blockList"> | 
|  | <h4>removeExclusionPattern</h4> | 
|  | <pre>void removeExclusionPattern(<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> pattern)</pre> | 
|  | <div class="block">Removes the given pattern from the list of excluded patterns. | 
|  | Any excluded entry that matches the given pattern can now be cached | 
|  | again, unless it has been marked non-cachable explicitly.</div> | 
|  | </li> | 
|  | </ul> | 
|  | <a name="getStatistics()"> | 
|  | <!--   --> | 
|  | </a> | 
|  | <ul class="blockListLast"> | 
|  | <li class="blockList"> | 
|  | <h4>getStatistics</h4> | 
|  | <pre><a href="../../../../org/apache/openjpa/kernel/QueryStatistics.html" title="interface in org.apache.openjpa.kernel">QueryStatistics</a><<a href="../../../../org/apache/openjpa/kernel/FinderCache.html" title="type parameter in FinderCache">K</a>> getStatistics()</pre> | 
|  | <div class="block">Gets the simple statistics for executed finder queries.</div> | 
|  | </li> | 
|  | </ul> | 
|  | </li> | 
|  | </ul> | 
|  | </li> | 
|  | </ul> | 
|  | </div> | 
|  | </div> | 
|  | <!-- ========= END OF CLASS DATA ========= --> | 
|  | <!-- ======= START OF BOTTOM NAVBAR ====== --> | 
|  | <div class="bottomNav"><a name="navbar_bottom"> | 
|  | <!--   --> | 
|  | </a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow"> | 
|  | <!--   --> | 
|  | </a> | 
|  | <ul class="navList" title="Navigation"> | 
|  | <li><a href="../../../../overview-summary.html">Overview</a></li> | 
|  | <li><a href="package-summary.html">Package</a></li> | 
|  | <li class="navBarCell1Rev">Class</li> | 
|  | <li><a href="class-use/FinderCache.html">Use</a></li> | 
|  | <li><a href="package-tree.html">Tree</a></li> | 
|  | <li><a href="../../../../deprecated-list.html">Deprecated</a></li> | 
|  | <li><a href="../../../../index-all.html">Index</a></li> | 
|  | <li><a href="../../../../help-doc.html">Help</a></li> | 
|  | </ul> | 
|  | </div> | 
|  | <div class="subNav"> | 
|  | <ul class="navList"> | 
|  | <li><a href="../../../../org/apache/openjpa/kernel/FindCallbacks.html" title="interface in org.apache.openjpa.kernel"><span class="strong">Prev Class</span></a></li> | 
|  | <li><a href="../../../../org/apache/openjpa/kernel/FinderQuery.html" title="interface in org.apache.openjpa.kernel"><span class="strong">Next Class</span></a></li> | 
|  | </ul> | 
|  | <ul class="navList"> | 
|  | <li><a href="../../../../index.html?org/apache/openjpa/kernel/FinderCache.html" target="_top">Frames</a></li> | 
|  | <li><a href="FinderCache.html" target="_top">No Frames</a></li> | 
|  | </ul> | 
|  | <ul class="navList" id="allclasses_navbar_bottom"> | 
|  | <li><a href="../../../../allclasses-noframe.html">All Classes</a></li> | 
|  | </ul> | 
|  | <div> | 
|  | <script type="text/javascript"><!-- | 
|  | allClassesLink = document.getElementById("allclasses_navbar_bottom"); | 
|  | if(window==top) { | 
|  | allClassesLink.style.display = "block"; | 
|  | } | 
|  | else { | 
|  | allClassesLink.style.display = "none"; | 
|  | } | 
|  | //--> | 
|  | </script> | 
|  | </div> | 
|  | <div> | 
|  | <ul class="subNavList"> | 
|  | <li>Summary: </li> | 
|  | <li>Nested | </li> | 
|  | <li>Field | </li> | 
|  | <li>Constr | </li> | 
|  | <li><a href="#method_summary">Method</a></li> | 
|  | </ul> | 
|  | <ul class="subNavList"> | 
|  | <li>Detail: </li> | 
|  | <li>Field | </li> | 
|  | <li>Constr | </li> | 
|  | <li><a href="#method_detail">Method</a></li> | 
|  | </ul> | 
|  | </div> | 
|  | <a name="skip-navbar_bottom"> | 
|  | <!--   --> | 
|  | </a></div> | 
|  | <!-- ======== END OF BOTTOM NAVBAR ======= --> | 
|  | <p class="legalCopy"><small>Copyright © 2006–2017 <a href="http://www.apache.org">Apache Software Foundation</a>. All rights reserved.</small></p> | 
|  | </body> | 
|  | </html> |