| <!DOCTYPE HTML> |
| <!-- NewPage --> |
| <html lang> |
| <head> |
| <!-- Generated by javadoc --> |
| <title>AbstractQueryCache (OpenJPA Parent POM 4.1.1 API)</title> |
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
| <link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style"> |
| <link rel="stylesheet" type="text/css" href="../../../../jquery/jquery-ui.min.css" title="Style"> |
| <link rel="stylesheet" type="text/css" href="../../../../jquery-ui.overrides.css" title="Style"> |
| <script type="text/javascript" src="../../../../script.js"></script> |
| <script type="text/javascript" src="../../../../jquery/jszip/dist/jszip.min.js"></script> |
| <script type="text/javascript" src="../../../../jquery/jszip-utils/dist/jszip-utils.min.js"></script> |
| <!--[if IE]> |
| <script type="text/javascript" src="../../../../jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script> |
| <![endif]--> |
| <script type="text/javascript" src="../../../../jquery/jquery-3.7.1.min.js"></script> |
| <script type="text/javascript" src="../../../../jquery/jquery-ui.min.js"></script> |
| </head> |
| <body> |
| <script type="text/javascript"><!-- |
| try { |
| if (location.href.indexOf('is-external=true') == -1) { |
| parent.document.title="AbstractQueryCache (OpenJPA Parent POM 4.1.1 API)"; |
| } |
| } |
| catch(err) { |
| } |
| //--> |
| var data = {"i0":10,"i1":10,"i2":10,"i3":6,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":6,"i14":10,"i15":10,"i16":10,"i17":10,"i18":6,"i19":10,"i20":10,"i21":10,"i22":6,"i23":10,"i24":6,"i25":10,"i26":10,"i27":6,"i28":10,"i29":10,"i30":10,"i31":10,"i32":10,"i33":10,"i34":10,"i35":6,"i36":10}; |
| var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"],8:["t4","Concrete Methods"]}; |
| var altColor = "altColor"; |
| var rowColor = "rowColor"; |
| var tableTab = "tableTab"; |
| var activeTableTab = "activeTableTab"; |
| var pathtoroot = "../../../../"; |
| var useModuleDirectories = true; |
| loadScripts(document, 'script');</script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| <header role="banner"> |
| <nav role="navigation"> |
| <div class="fixedNav"> |
| <!-- ========= START OF TOP NAVBAR ======= --> |
| <div class="topNav"><a id="navbar.top"> |
| <!-- --> |
| </a> |
| <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> |
| <a id="navbar.top.firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../index.html">Overview</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="navBarCell1Rev">Class</li> |
| <li><a href="class-use/AbstractQueryCache.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" id="allclasses_navbar_top"> |
| <li><a href="../../../../allclasses.html">All Classes</a></li> |
| </ul> |
| <ul class="navListSearch"> |
| <li><label for="search">SEARCH:</label> |
| <input type="text" id="search" value="search" disabled="disabled"> |
| <input type="reset" id="reset" value="reset" disabled="disabled"> |
| </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> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| </div> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </li> |
| <li><a href="#nested.class.summary">Nested</a> | </li> |
| <li><a href="#field.summary">Field</a> | </li> |
| <li><a href="#constructor.summary">Constr</a> | </li> |
| <li><a href="#method.summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li><a href="#field.detail">Field</a> | </li> |
| <li><a href="#constructor.detail">Constr</a> | </li> |
| <li><a href="#method.detail">Method</a></li> |
| </ul> |
| </div> |
| <a id="skip.navbar.top"> |
| <!-- --> |
| </a></div> |
| <!-- ========= END OF TOP NAVBAR ========= --> |
| </div> |
| <div class="navPadding"> </div> |
| <script type="text/javascript"><!-- |
| $('.navPadding').css('padding-top', $('.fixedNav').css("height")); |
| //--> |
| </script> |
| </nav> |
| </header> |
| <!-- ======== START OF CLASS DATA ======== --> |
| <main role="main"> |
| <div class="header"> |
| <div class="subTitle"><span class="packageLabelInType">Package</span> <a href="package-summary.html">org.apache.openjpa.datacache</a></div> |
| <h2 title="Class AbstractQueryCache" class="title">Class AbstractQueryCache</h2> |
| </div> |
| <div class="contentContainer"> |
| <ul class="inheritance"> |
| <li><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">java.lang.Object</a></li> |
| <li> |
| <ul class="inheritance"> |
| <li><a href="../lib/util/concurrent/AbstractConcurrentEventManager.html" title="class in org.apache.openjpa.lib.util.concurrent">org.apache.openjpa.lib.util.concurrent.AbstractConcurrentEventManager</a></li> |
| <li> |
| <ul class="inheritance"> |
| <li>org.apache.openjpa.datacache.AbstractQueryCache</li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| <div class="description"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <dl> |
| <dt>All Implemented Interfaces:</dt> |
| <dd><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/Serializable.html?is-external=true" title="class or interface in java.io" class="externalLink">Serializable</a></code>, <code><a href="QueryCache.html" title="interface in org.apache.openjpa.datacache">QueryCache</a></code>, <code><a href="TypesChangedListener.html" title="interface in org.apache.openjpa.datacache">TypesChangedListener</a></code>, <code><a href="../lib/conf/Configurable.html" title="interface in org.apache.openjpa.lib.conf">Configurable</a></code>, <code><a href="../lib/util/Closeable.html" title="interface in org.apache.openjpa.lib.util">Closeable</a></code>, <code><a href="../lib/util/EventManager.html" title="interface in org.apache.openjpa.lib.util">EventManager</a></code></dd> |
| </dl> |
| <dl> |
| <dt>Direct Known Subclasses:</dt> |
| <dd><code><a href="ConcurrentQueryCache.html" title="class in org.apache.openjpa.datacache">ConcurrentQueryCache</a></code></dd> |
| </dl> |
| <hr> |
| <pre>public abstract class <span class="typeNameLabel">AbstractQueryCache</span> |
| extends <a href="../lib/util/concurrent/AbstractConcurrentEventManager.html" title="class in org.apache.openjpa.lib.util.concurrent">AbstractConcurrentEventManager</a> |
| implements <a href="QueryCache.html" title="interface in org.apache.openjpa.datacache">QueryCache</a>, <a href="../lib/conf/Configurable.html" title="interface in org.apache.openjpa.lib.conf">Configurable</a></pre> |
| <div class="block">Abstract <a href="QueryCache.html" title="interface in org.apache.openjpa.datacache"><code>QueryCache</code></a> implementation that provides various |
| statistics, logging, and timeout functionality common across cache |
| implementations.</div> |
| <dl> |
| <dt><span class="simpleTagLabel">Author:</span></dt> |
| <dd>Patrick Linskey, Abe White</dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../serialized-form.html#org.apache.openjpa.datacache.AbstractQueryCache">Serialized Form</a></dd> |
| </dl> |
| </li> |
| </ul> |
| </div> |
| <div class="summary"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- ======== NESTED CLASS SUMMARY ======== --> |
| <section> |
| <ul class="blockList"> |
| <li class="blockList"><a id="nested.class.summary"> |
| <!-- --> |
| </a> |
| <h3>Nested Class Summary</h3> |
| <table class="memberSummary"> |
| <caption><span>Nested Classes</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colSecond" scope="col">Class</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static class </code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="AbstractQueryCache.Default.html" title="class in org.apache.openjpa.datacache">AbstractQueryCache.Default</a><<a href="AbstractQueryCache.Default.html" title="type parameter in AbstractQueryCache.Default">T</a>></span></code></th> |
| <td class="colLast"> |
| <div class="block">A default implementation of query statistics for the Query result cache.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static class </code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="AbstractQueryCache.EvictPolicy.html" title="enum in org.apache.openjpa.datacache">AbstractQueryCache.EvictPolicy</a></span></code></th> |
| <td class="colLast"> </td> |
| </tr> |
| </table> |
| </li> |
| </ul> |
| </section> |
| <!-- =========== FIELD SUMMARY =========== --> |
| <section> |
| <ul class="blockList"> |
| <li class="blockList"><a id="field.summary"> |
| <!-- --> |
| </a> |
| <h3>Field Summary</h3> |
| <table class="memberSummary"> |
| <caption><span>Fields</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colSecond" scope="col">Field</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected <a href="../conf/OpenJPAConfiguration.html" title="interface in org.apache.openjpa.conf">OpenJPAConfiguration</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#conf">conf</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">The configuration set by the system.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>protected <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/concurrent/ConcurrentHashMap.html?is-external=true" title="class or interface in java.util.concurrent" class="externalLink">ConcurrentHashMap</a><<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>,​<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Long.html?is-external=true" title="class or interface in java.lang" class="externalLink">Long</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#entityTimestampMap">entityTimestampMap</a></span></code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="AbstractQueryCache.EvictPolicy.html" title="enum in org.apache.openjpa.datacache">AbstractQueryCache.EvictPolicy</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#evictPolicy">evictPolicy</a></span></code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>protected <a href="../lib/log/Log.html" title="interface in org.apache.openjpa.lib.log">Log</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#log">log</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">The log to use.</div> |
| </td> |
| </tr> |
| </table> |
| <ul class="blockList"> |
| <li class="blockList"><a id="fields.inherited.from.class.org.apache.openjpa.lib.util.concurrent.AbstractConcurrentEventManager"> |
| <!-- --> |
| </a> |
| <h3>Fields inherited from class org.apache.openjpa.lib.util.concurrent.<a href="../lib/util/concurrent/AbstractConcurrentEventManager.html" title="class in org.apache.openjpa.lib.util.concurrent">AbstractConcurrentEventManager</a></h3> |
| <code><a href="../lib/util/concurrent/AbstractConcurrentEventManager.html#_listeners">_listeners</a></code></li> |
| </ul> |
| </li> |
| </ul> |
| </section> |
| <!-- ======== CONSTRUCTOR SUMMARY ======== --> |
| <section> |
| <ul class="blockList"> |
| <li class="blockList"><a id="constructor.summary"> |
| <!-- --> |
| </a> |
| <h3>Constructor Summary</h3> |
| <table class="memberSummary"> |
| <caption><span>Constructors</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Constructor</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tr class="altColor"> |
| <th class="colConstructorName" scope="row"><code><span class="memberNameLink"><a href="#%3Cinit%3E()">AbstractQueryCache</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| </table> |
| </li> |
| </ul> |
| </section> |
| <!-- ========== METHOD SUMMARY =========== --> |
| <section> |
| <ul class="blockList"> |
| <li class="blockList"><a id="method.summary"> |
| <!-- --> |
| </a> |
| <h3>Method Summary</h3> |
| <table class="memberSummary"> |
| <caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t3" class="tableTab"><span><a href="javascript:show(4);">Abstract Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colSecond" scope="col">Method</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tr id="i0" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#addTypesChangedListener(org.apache.openjpa.datacache.TypesChangedListener)">addTypesChangedListener</a></span>​(<a href="TypesChangedListener.html" title="interface in org.apache.openjpa.datacache">TypesChangedListener</a> listen)</code></th> |
| <td class="colLast"> |
| <div class="block">Add a new types event listener to this cache.</div> |
| </td> |
| </tr> |
| <tr id="i1" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#afterCommit(org.apache.openjpa.event.RemoteCommitEvent)">afterCommit</a></span>​(<a href="../event/RemoteCommitEvent.html" title="class in org.apache.openjpa.event">RemoteCommitEvent</a> event)</code></th> |
| <td class="colLast"> |
| <div class="block">This method is part of the <a href="../event/RemoteCommitListener.html" title="interface in org.apache.openjpa.event"><code>RemoteCommitListener</code></a> interface.</div> |
| </td> |
| </tr> |
| <tr id="i2" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#clear()">clear</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Remove all data from this cache.</div> |
| </td> |
| </tr> |
| <tr id="i3" class="rowColor"> |
| <td class="colFirst"><code>protected abstract void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#clearInternal()">clearInternal</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Clear the cache.</div> |
| </td> |
| </tr> |
| <tr id="i4" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#close()">close</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Free the resources used by this cache.</div> |
| </td> |
| </tr> |
| <tr id="i5" class="rowColor"> |
| <td class="colFirst"><code>protected void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#close(boolean)">close</a></span>​(boolean clear)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i6" class="altColor"> |
| <td class="colFirst"><code>int</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#count()">count</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i7" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#endConfiguration()">endConfiguration</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Invoked upon completion of bean property configuration for this object.</div> |
| </td> |
| </tr> |
| <tr id="i8" class="altColor"> |
| <td class="colFirst"><code>protected void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#fireEvent(java.lang.Object,java.lang.Object)">fireEvent</a></span>​(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a> event, |
| <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a> listener)</code></th> |
| <td class="colLast"> |
| <div class="block">Implement this method to fire the given event to the given listener.</div> |
| </td> |
| </tr> |
| <tr id="i9" class="rowColor"> |
| <td class="colFirst"><code><a href="QueryResult.html" title="class in org.apache.openjpa.datacache">QueryResult</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#get(org.apache.openjpa.datacache.QueryKey)">get</a></span>​(<a href="QueryKey.html" title="class in org.apache.openjpa.datacache">QueryKey</a> key)</code></th> |
| <td class="colLast"> |
| <div class="block">Return a list of oids for the given query key.</div> |
| </td> |
| </tr> |
| <tr id="i10" class="altColor"> |
| <td class="colFirst"><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a><<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Long.html?is-external=true" title="class or interface in java.lang" class="externalLink">Long</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getAllEntityTimestamp(java.util.List)">getAllEntityTimestamp</a></span>​(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a><<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>> keyList)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns a list of timestamps in the form of Long objects |
| which are the last updated time stamps for the given entities in the |
| keylist.</div> |
| </td> |
| </tr> |
| <tr id="i11" class="rowColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getEnableStatistics()">getEnableStatistics</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i12" class="altColor"> |
| <td class="colFirst"><code><a href="AbstractQueryCache.EvictPolicy.html" title="enum in org.apache.openjpa.datacache">AbstractQueryCache.EvictPolicy</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getEvictPolicy()">getEvictPolicy</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Returns the evictionPolicy for QueryCache</div> |
| </td> |
| </tr> |
| <tr id="i13" class="rowColor"> |
| <td class="colFirst"><code>protected abstract <a href="QueryResult.html" title="class in org.apache.openjpa.datacache">QueryResult</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getInternal(org.apache.openjpa.datacache.QueryKey)">getInternal</a></span>​(<a href="QueryKey.html" title="class in org.apache.openjpa.datacache">QueryKey</a> qk)</code></th> |
| <td class="colLast"> |
| <div class="block">Return the list for the given key.</div> |
| </td> |
| </tr> |
| <tr id="i14" class="altColor"> |
| <td class="colFirst"><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getName()">getName</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i15" class="rowColor"> |
| <td class="colFirst"><code><a href="../kernel/QueryStatistics.html" title="interface in org.apache.openjpa.kernel">QueryStatistics</a><<a href="QueryKey.html" title="class in org.apache.openjpa.datacache">QueryKey</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getStatistics()">getStatistics</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Gets the simple statistics for query results.</div> |
| </td> |
| </tr> |
| <tr id="i16" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#initialize(org.apache.openjpa.datacache.DataCacheManager)">initialize</a></span>​(<a href="DataCacheManager.html" title="interface in org.apache.openjpa.datacache">DataCacheManager</a> manager)</code></th> |
| <td class="colLast"> |
| <div class="block">Initialize any resources associated with the given |
| <a href="DataCacheManager.html" title="interface in org.apache.openjpa.datacache"><code>DataCacheManager</code></a>.</div> |
| </td> |
| </tr> |
| <tr id="i17" class="rowColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isClosed()">isClosed</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i18" class="altColor"> |
| <td class="colFirst"><code>protected abstract <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/Collection.html?is-external=true" title="class or interface in java.util" class="externalLink">Collection</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#keySet()">keySet</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Return a threadsafe view of the keys in this cache.</div> |
| </td> |
| </tr> |
| <tr id="i19" class="rowColor"> |
| <td class="colFirst"><code>protected <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/Collection.html?is-external=true" title="class or interface in java.util" class="externalLink">Collection</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#newListenerCollection()">newListenerCollection</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Individual query results will be registered as types changed |
| listeners.</div> |
| </td> |
| </tr> |
| <tr id="i20" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#onTypesChanged(org.apache.openjpa.datacache.TypesChangedEvent)">onTypesChanged</a></span>​(<a href="TypesChangedEvent.html" title="class in org.apache.openjpa.datacache">TypesChangedEvent</a> ev)</code></th> |
| <td class="colLast"> |
| <div class="block">Notification that instances of persistent types have changed.</div> |
| </td> |
| </tr> |
| <tr id="i21" class="rowColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#pin(org.apache.openjpa.datacache.QueryKey)">pin</a></span>​(<a href="QueryKey.html" title="class in org.apache.openjpa.datacache">QueryKey</a> key)</code></th> |
| <td class="colLast"> |
| <div class="block">Pin the value stored under <code>qk</code> into the |
| cache.</div> |
| </td> |
| </tr> |
| <tr id="i22" class="altColor"> |
| <td class="colFirst"><code>protected abstract boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#pinInternal(org.apache.openjpa.datacache.QueryKey)">pinInternal</a></span>​(<a href="QueryKey.html" title="class in org.apache.openjpa.datacache">QueryKey</a> qk)</code></th> |
| <td class="colLast"> |
| <div class="block">Pin an object to the cache.</div> |
| </td> |
| </tr> |
| <tr id="i23" class="rowColor"> |
| <td class="colFirst"><code><a href="QueryResult.html" title="class in org.apache.openjpa.datacache">QueryResult</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#put(org.apache.openjpa.datacache.QueryKey,org.apache.openjpa.datacache.QueryResult)">put</a></span>​(<a href="QueryKey.html" title="class in org.apache.openjpa.datacache">QueryKey</a> qk, |
| <a href="QueryResult.html" title="class in org.apache.openjpa.datacache">QueryResult</a> oids)</code></th> |
| <td class="colLast"> |
| <div class="block">Set the list of OIDs for the given query key.</div> |
| </td> |
| </tr> |
| <tr id="i24" class="altColor"> |
| <td class="colFirst"><code>protected abstract <a href="QueryResult.html" title="class in org.apache.openjpa.datacache">QueryResult</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#putInternal(org.apache.openjpa.datacache.QueryKey,org.apache.openjpa.datacache.QueryResult)">putInternal</a></span>​(<a href="QueryKey.html" title="class in org.apache.openjpa.datacache">QueryKey</a> qk, |
| <a href="QueryResult.html" title="class in org.apache.openjpa.datacache">QueryResult</a> oids)</code></th> |
| <td class="colLast"> |
| <div class="block">Add the given result to the cache, returning the old result under the |
| given key.</div> |
| </td> |
| </tr> |
| <tr id="i25" class="rowColor"> |
| <td class="colFirst"><code><a href="QueryResult.html" title="class in org.apache.openjpa.datacache">QueryResult</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#remove(org.apache.openjpa.datacache.QueryKey)">remove</a></span>​(<a href="QueryKey.html" title="class in org.apache.openjpa.datacache">QueryKey</a> key)</code></th> |
| <td class="colLast"> |
| <div class="block">Remove the value stored under the given query key.</div> |
| </td> |
| </tr> |
| <tr id="i26" class="altColor"> |
| <td class="colFirst"><code>protected void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#removeAllInternal(java.util.Collection)">removeAllInternal</a></span>​(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/Collection.html?is-external=true" title="class or interface in java.util" class="externalLink">Collection</a> qks)</code></th> |
| <td class="colLast"> |
| <div class="block">Remove all results under the given keys from the cache.</div> |
| </td> |
| </tr> |
| <tr id="i27" class="rowColor"> |
| <td class="colFirst"><code>protected abstract <a href="QueryResult.html" title="class in org.apache.openjpa.datacache">QueryResult</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#removeInternal(org.apache.openjpa.datacache.QueryKey)">removeInternal</a></span>​(<a href="QueryKey.html" title="class in org.apache.openjpa.datacache">QueryKey</a> qk)</code></th> |
| <td class="colLast"> |
| <div class="block">Remove the result under the given key from the cache.</div> |
| </td> |
| </tr> |
| <tr id="i28" class="altColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#removeTypesChangedListener(org.apache.openjpa.datacache.TypesChangedListener)">removeTypesChangedListener</a></span>​(<a href="TypesChangedListener.html" title="interface in org.apache.openjpa.datacache">TypesChangedListener</a> listen)</code></th> |
| <td class="colLast"> |
| <div class="block">Remove an types event listener from this cache.</div> |
| </td> |
| </tr> |
| <tr id="i29" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setConfiguration(org.apache.openjpa.lib.conf.Configuration)">setConfiguration</a></span>​(<a href="../lib/conf/Configuration.html" title="interface in org.apache.openjpa.lib.conf">Configuration</a> conf)</code></th> |
| <td class="colLast"> |
| <div class="block">Invoked prior to setting bean properties.</div> |
| </td> |
| </tr> |
| <tr id="i30" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setEnableStatistics(boolean)">setEnableStatistics</a></span>​(boolean enable)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i31" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setEvictPolicy(java.lang.String)">setEvictPolicy</a></span>​(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> evictPolicy)</code></th> |
| <td class="colLast"> |
| <div class="block">Sets the eviction policy for the query cache</div> |
| </td> |
| </tr> |
| <tr id="i32" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setName(java.lang.String)">setName</a></span>​(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> n)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i33" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#startConfiguration()">startConfiguration</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Invoked before bean property configuration is begun on this object.</div> |
| </td> |
| </tr> |
| <tr id="i34" class="altColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#unpin(org.apache.openjpa.datacache.QueryKey)">unpin</a></span>​(<a href="QueryKey.html" title="class in org.apache.openjpa.datacache">QueryKey</a> key)</code></th> |
| <td class="colLast"> |
| <div class="block">Unpin the value stored under <code>key</code> into the cache.</div> |
| </td> |
| </tr> |
| <tr id="i35" class="rowColor"> |
| <td class="colFirst"><code>protected abstract boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#unpinInternal(org.apache.openjpa.datacache.QueryKey)">unpinInternal</a></span>​(<a href="QueryKey.html" title="class in org.apache.openjpa.datacache">QueryKey</a> qk)</code></th> |
| <td class="colLast"> |
| <div class="block">Unpin an object from the cache.</div> |
| </td> |
| </tr> |
| <tr id="i36" class="altColor"> |
| <td class="colFirst"><code>protected void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#updateEntityTimestamp(java.util.Map)">updateEntityTimestamp</a></span>​(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/Map.html?is-external=true" title="class or interface in java.util" class="externalLink">Map</a><<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>,​<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Long.html?is-external=true" title="class or interface in java.lang" class="externalLink">Long</a>> timestampMap)</code></th> |
| <td class="colLast"> |
| <div class="block">Updates the entity timestamp map with the current time in milliseconds</div> |
| </td> |
| </tr> |
| </table> |
| <ul class="blockList"> |
| <li class="blockList"><a id="methods.inherited.from.class.org.apache.openjpa.lib.util.concurrent.AbstractConcurrentEventManager"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from class org.apache.openjpa.lib.util.concurrent.<a href="../lib/util/concurrent/AbstractConcurrentEventManager.html" title="class in org.apache.openjpa.lib.util.concurrent">AbstractConcurrentEventManager</a></h3> |
| <code><a href="../lib/util/concurrent/AbstractConcurrentEventManager.html#addListener(java.lang.Object)">addListener</a>, <a href="../lib/util/concurrent/AbstractConcurrentEventManager.html#fireEvent(java.lang.Object)">fireEvent</a>, <a href="../lib/util/concurrent/AbstractConcurrentEventManager.html#getListeners()">getListeners</a>, <a href="../lib/util/concurrent/AbstractConcurrentEventManager.html#hasListener(java.lang.Object)">hasListener</a>, <a href="../lib/util/concurrent/AbstractConcurrentEventManager.html#hasListeners()">hasListeners</a>, <a href="../lib/util/concurrent/AbstractConcurrentEventManager.html#isFailFast()">isFailFast</a>, <a href="../lib/util/concurrent/AbstractConcurrentEventManager.html#removeListener(java.lang.Object)">removeListener</a>, <a href="../lib/util/concurrent/AbstractConcurrentEventManager.html#setFailFast(boolean)">setFailFast</a></code></li> |
| </ul> |
| <ul class="blockList"> |
| <li class="blockList"><a id="methods.inherited.from.class.java.lang.Object"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from class java.lang.<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a></h3> |
| <code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang" class="externalLink">clone</a>, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang" class="externalLink">equals</a>, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang" class="externalLink">finalize</a>, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang" class="externalLink">getClass</a>, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang" class="externalLink">hashCode</a>, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang" class="externalLink">notify</a>, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang" class="externalLink">notifyAll</a>, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang" class="externalLink">toString</a>, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang" class="externalLink">wait</a>, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang" class="externalLink">wait</a>, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true#wait(long,int)" title="class or interface in java.lang" class="externalLink">wait</a></code></li> |
| </ul> |
| <ul class="blockList"> |
| <li class="blockList"><a id="methods.inherited.from.class.org.apache.openjpa.datacache.QueryCache"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from interface org.apache.openjpa.datacache.<a href="QueryCache.html" title="interface in org.apache.openjpa.datacache">QueryCache</a></h3> |
| <code><a href="QueryCache.html#writeLock()">writeLock</a>, <a href="QueryCache.html#writeUnlock()">writeUnlock</a></code></li> |
| </ul> |
| </li> |
| </ul> |
| </section> |
| </li> |
| </ul> |
| </div> |
| <div class="details"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- ============ FIELD DETAIL =========== --> |
| <section> |
| <ul class="blockList"> |
| <li class="blockList"><a id="field.detail"> |
| <!-- --> |
| </a> |
| <h3>Field Detail</h3> |
| <a id="conf"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>conf</h4> |
| <pre>protected <a href="../conf/OpenJPAConfiguration.html" title="interface in org.apache.openjpa.conf">OpenJPAConfiguration</a> conf</pre> |
| <div class="block">The configuration set by the system.</div> |
| </li> |
| </ul> |
| <a id="log"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>log</h4> |
| <pre>protected <a href="../lib/log/Log.html" title="interface in org.apache.openjpa.lib.log">Log</a> log</pre> |
| <div class="block">The log to use.</div> |
| </li> |
| </ul> |
| <a id="entityTimestampMap"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>entityTimestampMap</h4> |
| <pre>protected <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/concurrent/ConcurrentHashMap.html?is-external=true" title="class or interface in java.util.concurrent" class="externalLink">ConcurrentHashMap</a><<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>,​<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Long.html?is-external=true" title="class or interface in java.lang" class="externalLink">Long</a>> entityTimestampMap</pre> |
| </li> |
| </ul> |
| <a id="evictPolicy"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>evictPolicy</h4> |
| <pre>public <a href="AbstractQueryCache.EvictPolicy.html" title="enum in org.apache.openjpa.datacache">AbstractQueryCache.EvictPolicy</a> evictPolicy</pre> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </section> |
| <!-- ========= CONSTRUCTOR DETAIL ======== --> |
| <section> |
| <ul class="blockList"> |
| <li class="blockList"><a id="constructor.detail"> |
| <!-- --> |
| </a> |
| <h3>Constructor Detail</h3> |
| <a id="<init>()"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>AbstractQueryCache</h4> |
| <pre>public AbstractQueryCache()</pre> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </section> |
| <!-- ============ METHOD DETAIL ========== --> |
| <section> |
| <ul class="blockList"> |
| <li class="blockList"><a id="method.detail"> |
| <!-- --> |
| </a> |
| <h3>Method Detail</h3> |
| <a id="setEnableStatistics(boolean)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setEnableStatistics</h4> |
| <pre class="methodSignature">public void setEnableStatistics​(boolean enable)</pre> |
| </li> |
| </ul> |
| <a id="getEnableStatistics()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getEnableStatistics</h4> |
| <pre class="methodSignature">public boolean getEnableStatistics()</pre> |
| </li> |
| </ul> |
| <a id="getStatistics()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getStatistics</h4> |
| <pre class="methodSignature">public <a href="../kernel/QueryStatistics.html" title="interface in org.apache.openjpa.kernel">QueryStatistics</a><<a href="QueryKey.html" title="class in org.apache.openjpa.datacache">QueryKey</a>> getStatistics()</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="QueryCache.html#getStatistics()">QueryCache</a></code></span></div> |
| <div class="block">Gets the simple statistics for query results. |
| If the statistics gathering is disabled, an empty statistics is returned.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="QueryCache.html#getStatistics()">getStatistics</a></code> in interface <code><a href="QueryCache.html" title="interface in org.apache.openjpa.datacache">QueryCache</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="initialize(org.apache.openjpa.datacache.DataCacheManager)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>initialize</h4> |
| <pre class="methodSignature">public void initialize​(<a href="DataCacheManager.html" title="interface in org.apache.openjpa.datacache">DataCacheManager</a> manager)</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="QueryCache.html#initialize(org.apache.openjpa.datacache.DataCacheManager)">QueryCache</a></code></span></div> |
| <div class="block">Initialize any resources associated with the given |
| <a href="DataCacheManager.html" title="interface in org.apache.openjpa.datacache"><code>DataCacheManager</code></a>.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="QueryCache.html#initialize(org.apache.openjpa.datacache.DataCacheManager)">initialize</a></code> in interface <code><a href="QueryCache.html" title="interface in org.apache.openjpa.datacache">QueryCache</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="onTypesChanged(org.apache.openjpa.datacache.TypesChangedEvent)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>onTypesChanged</h4> |
| <pre class="methodSignature">public void onTypesChanged​(<a href="TypesChangedEvent.html" title="class in org.apache.openjpa.datacache">TypesChangedEvent</a> ev)</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="TypesChangedListener.html#onTypesChanged(org.apache.openjpa.datacache.TypesChangedEvent)">TypesChangedListener</a></code></span></div> |
| <div class="block">Notification that instances of persistent types have changed.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="TypesChangedListener.html#onTypesChanged(org.apache.openjpa.datacache.TypesChangedEvent)">onTypesChanged</a></code> in interface <code><a href="TypesChangedListener.html" title="interface in org.apache.openjpa.datacache">TypesChangedListener</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="get(org.apache.openjpa.datacache.QueryKey)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>get</h4> |
| <pre class="methodSignature">public <a href="QueryResult.html" title="class in org.apache.openjpa.datacache">QueryResult</a> get​(<a href="QueryKey.html" title="class in org.apache.openjpa.datacache">QueryKey</a> key)</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="QueryCache.html#get(org.apache.openjpa.datacache.QueryKey)">QueryCache</a></code></span></div> |
| <div class="block">Return a list of oids for the given query key. This is an |
| unmodifiable list.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="QueryCache.html#get(org.apache.openjpa.datacache.QueryKey)">get</a></code> in interface <code><a href="QueryCache.html" title="interface in org.apache.openjpa.datacache">QueryCache</a></code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>The query results matching the given key, or null if none</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="put(org.apache.openjpa.datacache.QueryKey,org.apache.openjpa.datacache.QueryResult)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>put</h4> |
| <pre class="methodSignature">public <a href="QueryResult.html" title="class in org.apache.openjpa.datacache">QueryResult</a> put​(<a href="QueryKey.html" title="class in org.apache.openjpa.datacache">QueryKey</a> qk, |
| <a href="QueryResult.html" title="class in org.apache.openjpa.datacache">QueryResult</a> oids)</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="QueryCache.html#put(org.apache.openjpa.datacache.QueryKey,org.apache.openjpa.datacache.QueryResult)">QueryCache</a></code></span></div> |
| <div class="block">Set the list of OIDs for the given query key. A reference |
| to the given list will be stored in the query cache, so the |
| list should not be modified after invoking this method.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="QueryCache.html#put(org.apache.openjpa.datacache.QueryKey,org.apache.openjpa.datacache.QueryResult)">put</a></code> in interface <code><a href="QueryCache.html" title="interface in org.apache.openjpa.datacache">QueryCache</a></code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>The previously cached value, or <code>null</code> if |
| the key was not previously cached. See <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/Map.html?is-external=true#put(K,V)" title="class or interface in java.util" class="externalLink"><code>Map.put(K, V)</code></a> |
| for more information.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="remove(org.apache.openjpa.datacache.QueryKey)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>remove</h4> |
| <pre class="methodSignature">public <a href="QueryResult.html" title="class in org.apache.openjpa.datacache">QueryResult</a> remove​(<a href="QueryKey.html" title="class in org.apache.openjpa.datacache">QueryKey</a> key)</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="QueryCache.html#remove(org.apache.openjpa.datacache.QueryKey)">QueryCache</a></code></span></div> |
| <div class="block">Remove the value stored under the given query key. |
| This method is typically not invoked directly from outside |
| the <code>QueryCache</code> class. Instead, the cache should |
| be updated by implementing <a href="../event/RemoteCommitListener.html" title="interface in org.apache.openjpa.event"><code>RemoteCommitListener</code></a>, |
| which will result in all queries that may be invalid being dropped.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="QueryCache.html#remove(org.apache.openjpa.datacache.QueryKey)">remove</a></code> in interface <code><a href="QueryCache.html" title="interface in org.apache.openjpa.datacache">QueryCache</a></code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>The previously cached value, or <code>null</code> if |
| the key was not previously cached. See <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/Map.html?is-external=true#remove(java.lang.Object)" title="class or interface in java.util" class="externalLink"><code>Map.remove(java.lang.Object)</code></a> |
| for more information.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="pin(org.apache.openjpa.datacache.QueryKey)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>pin</h4> |
| <pre class="methodSignature">public boolean pin​(<a href="QueryKey.html" title="class in org.apache.openjpa.datacache">QueryKey</a> key)</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="QueryCache.html#pin(org.apache.openjpa.datacache.QueryKey)">QueryCache</a></code></span></div> |
| <div class="block">Pin the value stored under <code>qk</code> into the |
| cache. This method guarantees that <code>qk</code>'s value |
| will not be expired if the cache exceeds its capacity. It |
| causes this data to be ignored when determining whether or not |
| the cache is full, effectively increasing the total amount of |
| data stored in the cache. This method does not affect the |
| behavior of <a href="QueryCache.html#remove(org.apache.openjpa.datacache.QueryKey)"><code>QueryCache.remove(org.apache.openjpa.datacache.QueryKey)</code></a> or <a href="TypesChangedListener.html#onTypesChanged(org.apache.openjpa.datacache.TypesChangedEvent)"><code>TypesChangedListener.onTypesChanged(org.apache.openjpa.datacache.TypesChangedEvent)</code></a>.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="QueryCache.html#pin(org.apache.openjpa.datacache.QueryKey)">pin</a></code> in interface <code><a href="QueryCache.html" title="interface in org.apache.openjpa.datacache">QueryCache</a></code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd><code>true</code> if <code>key</code>'s value was |
| pinned into the cache; <code>false</code> if the key is not in the cache.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="unpin(org.apache.openjpa.datacache.QueryKey)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>unpin</h4> |
| <pre class="methodSignature">public boolean unpin​(<a href="QueryKey.html" title="class in org.apache.openjpa.datacache">QueryKey</a> key)</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="QueryCache.html#unpin(org.apache.openjpa.datacache.QueryKey)">QueryCache</a></code></span></div> |
| <div class="block">Unpin the value stored under <code>key</code> into the cache. |
| This method reverses a previous invocation of <a href="QueryCache.html#pin(org.apache.openjpa.datacache.QueryKey)"><code>QueryCache.pin(org.apache.openjpa.datacache.QueryKey)</code></a>. |
| This method does not remove anything from the cache; it merely |
| makes <code>key</code>'s value a candidate for flushing from the cache.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="QueryCache.html#unpin(org.apache.openjpa.datacache.QueryKey)">unpin</a></code> in interface <code><a href="QueryCache.html" title="interface in org.apache.openjpa.datacache">QueryCache</a></code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd><code>true</code> if <code>key</code>'s value was |
| unpinned from the cache; <code>false</code> if the |
| key is not in the cache.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="clear()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>clear</h4> |
| <pre class="methodSignature">public void clear()</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="QueryCache.html#clear()">QueryCache</a></code></span></div> |
| <div class="block">Remove all data from this cache.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="QueryCache.html#clear()">clear</a></code> in interface <code><a href="QueryCache.html" title="interface in org.apache.openjpa.datacache">QueryCache</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="close()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>close</h4> |
| <pre class="methodSignature">public void close()</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="QueryCache.html#close()">QueryCache</a></code></span></div> |
| <div class="block">Free the resources used by this cache.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../lib/util/Closeable.html#close()">close</a></code> in interface <code><a href="../lib/util/Closeable.html" title="interface in org.apache.openjpa.lib.util">Closeable</a></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="QueryCache.html#close()">close</a></code> in interface <code><a href="QueryCache.html" title="interface in org.apache.openjpa.datacache">QueryCache</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="close(boolean)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>close</h4> |
| <pre class="methodSignature">protected void close​(boolean clear)</pre> |
| </li> |
| </ul> |
| <a id="isClosed()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isClosed</h4> |
| <pre class="methodSignature">public boolean isClosed()</pre> |
| </li> |
| </ul> |
| <a id="addTypesChangedListener(org.apache.openjpa.datacache.TypesChangedListener)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>addTypesChangedListener</h4> |
| <pre class="methodSignature">public void addTypesChangedListener​(<a href="TypesChangedListener.html" title="interface in org.apache.openjpa.datacache">TypesChangedListener</a> listen)</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="QueryCache.html#addTypesChangedListener(org.apache.openjpa.datacache.TypesChangedListener)">QueryCache</a></code></span></div> |
| <div class="block">Add a new types event listener to this cache.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="QueryCache.html#addTypesChangedListener(org.apache.openjpa.datacache.TypesChangedListener)">addTypesChangedListener</a></code> in interface <code><a href="QueryCache.html" title="interface in org.apache.openjpa.datacache">QueryCache</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="removeTypesChangedListener(org.apache.openjpa.datacache.TypesChangedListener)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>removeTypesChangedListener</h4> |
| <pre class="methodSignature">public boolean removeTypesChangedListener​(<a href="TypesChangedListener.html" title="interface in org.apache.openjpa.datacache">TypesChangedListener</a> listen)</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="QueryCache.html#removeTypesChangedListener(org.apache.openjpa.datacache.TypesChangedListener)">QueryCache</a></code></span></div> |
| <div class="block">Remove an types event listener from this cache.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="QueryCache.html#removeTypesChangedListener(org.apache.openjpa.datacache.TypesChangedListener)">removeTypesChangedListener</a></code> in interface <code><a href="QueryCache.html" title="interface in org.apache.openjpa.datacache">QueryCache</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="afterCommit(org.apache.openjpa.event.RemoteCommitEvent)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>afterCommit</h4> |
| <pre class="methodSignature">public void afterCommit​(<a href="../event/RemoteCommitEvent.html" title="class in org.apache.openjpa.event">RemoteCommitEvent</a> event)</pre> |
| <div class="block">This method is part of the <a href="../event/RemoteCommitListener.html" title="interface in org.apache.openjpa.event"><code>RemoteCommitListener</code></a> interface. If |
| your cache subclass relies on OpenJPA for clustering support, make it |
| implement <code>RemoteCommitListener</code>. This method will take |
| care of invalidating entries from remote commits, by delegating to |
| <a href="#onTypesChanged(org.apache.openjpa.datacache.TypesChangedEvent)"><code>onTypesChanged(org.apache.openjpa.datacache.TypesChangedEvent)</code></a>.</div> |
| </li> |
| </ul> |
| <a id="keySet()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>keySet</h4> |
| <pre class="methodSignature">protected abstract <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/Collection.html?is-external=true" title="class or interface in java.util" class="externalLink">Collection</a> keySet()</pre> |
| <div class="block">Return a threadsafe view of the keys in this cache. This collection |
| must be iterable without risk of concurrent modification exceptions. |
| It does not have to implement contains() efficiently or use set |
| semantics.</div> |
| </li> |
| </ul> |
| <a id="getInternal(org.apache.openjpa.datacache.QueryKey)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getInternal</h4> |
| <pre class="methodSignature">protected abstract <a href="QueryResult.html" title="class in org.apache.openjpa.datacache">QueryResult</a> getInternal​(<a href="QueryKey.html" title="class in org.apache.openjpa.datacache">QueryKey</a> qk)</pre> |
| <div class="block">Return the list for the given key.</div> |
| </li> |
| </ul> |
| <a id="putInternal(org.apache.openjpa.datacache.QueryKey,org.apache.openjpa.datacache.QueryResult)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>putInternal</h4> |
| <pre class="methodSignature">protected abstract <a href="QueryResult.html" title="class in org.apache.openjpa.datacache">QueryResult</a> putInternal​(<a href="QueryKey.html" title="class in org.apache.openjpa.datacache">QueryKey</a> qk, |
| <a href="QueryResult.html" title="class in org.apache.openjpa.datacache">QueryResult</a> oids)</pre> |
| <div class="block">Add the given result to the cache, returning the old result under the |
| given key.</div> |
| </li> |
| </ul> |
| <a id="removeInternal(org.apache.openjpa.datacache.QueryKey)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>removeInternal</h4> |
| <pre class="methodSignature">protected abstract <a href="QueryResult.html" title="class in org.apache.openjpa.datacache">QueryResult</a> removeInternal​(<a href="QueryKey.html" title="class in org.apache.openjpa.datacache">QueryKey</a> qk)</pre> |
| <div class="block">Remove the result under the given key from the cache.</div> |
| </li> |
| </ul> |
| <a id="removeAllInternal(java.util.Collection)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>removeAllInternal</h4> |
| <pre class="methodSignature">protected void removeAllInternal​(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/Collection.html?is-external=true" title="class or interface in java.util" class="externalLink">Collection</a> qks)</pre> |
| <div class="block">Remove all results under the given keys from the cache.</div> |
| </li> |
| </ul> |
| <a id="clearInternal()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>clearInternal</h4> |
| <pre class="methodSignature">protected abstract void clearInternal()</pre> |
| <div class="block">Clear the cache.</div> |
| </li> |
| </ul> |
| <a id="pinInternal(org.apache.openjpa.datacache.QueryKey)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>pinInternal</h4> |
| <pre class="methodSignature">protected abstract boolean pinInternal​(<a href="QueryKey.html" title="class in org.apache.openjpa.datacache">QueryKey</a> qk)</pre> |
| <div class="block">Pin an object to the cache.</div> |
| </li> |
| </ul> |
| <a id="unpinInternal(org.apache.openjpa.datacache.QueryKey)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>unpinInternal</h4> |
| <pre class="methodSignature">protected abstract boolean unpinInternal​(<a href="QueryKey.html" title="class in org.apache.openjpa.datacache">QueryKey</a> qk)</pre> |
| <div class="block">Unpin an object from the cache.</div> |
| </li> |
| </ul> |
| <a id="setConfiguration(org.apache.openjpa.lib.conf.Configuration)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setConfiguration</h4> |
| <pre class="methodSignature">public void setConfiguration​(<a href="../lib/conf/Configuration.html" title="interface in org.apache.openjpa.lib.conf">Configuration</a> conf)</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../lib/conf/Configurable.html#setConfiguration(org.apache.openjpa.lib.conf.Configuration)">Configurable</a></code></span></div> |
| <div class="block">Invoked prior to setting bean properties.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../lib/conf/Configurable.html#setConfiguration(org.apache.openjpa.lib.conf.Configuration)">setConfiguration</a></code> in interface <code><a href="../lib/conf/Configurable.html" title="interface in org.apache.openjpa.lib.conf">Configurable</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="startConfiguration()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>startConfiguration</h4> |
| <pre class="methodSignature">public void startConfiguration()</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../lib/conf/Configurable.html#startConfiguration()">Configurable</a></code></span></div> |
| <div class="block">Invoked before bean property configuration is begun on this object.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../lib/conf/Configurable.html#startConfiguration()">startConfiguration</a></code> in interface <code><a href="../lib/conf/Configurable.html" title="interface in org.apache.openjpa.lib.conf">Configurable</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="endConfiguration()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>endConfiguration</h4> |
| <pre class="methodSignature">public void endConfiguration()</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../lib/conf/Configurable.html#endConfiguration()">Configurable</a></code></span></div> |
| <div class="block">Invoked upon completion of bean property configuration for this object.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../lib/conf/Configurable.html#endConfiguration()">endConfiguration</a></code> in interface <code><a href="../lib/conf/Configurable.html" title="interface in org.apache.openjpa.lib.conf">Configurable</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="fireEvent(java.lang.Object,java.lang.Object)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>fireEvent</h4> |
| <pre class="methodSignature">protected void fireEvent​(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a> event, |
| <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a> listener)</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../lib/util/concurrent/AbstractConcurrentEventManager.html#fireEvent(java.lang.Object,java.lang.Object)">AbstractConcurrentEventManager</a></code></span></div> |
| <div class="block">Implement this method to fire the given event to the given listener.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../lib/util/concurrent/AbstractConcurrentEventManager.html#fireEvent(java.lang.Object,java.lang.Object)">fireEvent</a></code> in class <code><a href="../lib/util/concurrent/AbstractConcurrentEventManager.html" title="class in org.apache.openjpa.lib.util.concurrent">AbstractConcurrentEventManager</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="newListenerCollection()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>newListenerCollection</h4> |
| <pre class="methodSignature">protected <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/Collection.html?is-external=true" title="class or interface in java.util" class="externalLink">Collection</a> newListenerCollection()</pre> |
| <div class="block">Individual query results will be registered as types changed |
| listeners. We want such query results to be gc'd once |
| the only reference is held by the list of expiration listeners.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code><a href="../lib/util/concurrent/AbstractConcurrentEventManager.html#newListenerCollection()">newListenerCollection</a></code> in class <code><a href="../lib/util/concurrent/AbstractConcurrentEventManager.html" title="class in org.apache.openjpa.lib.util.concurrent">AbstractConcurrentEventManager</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="setEvictPolicy(java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setEvictPolicy</h4> |
| <pre class="methodSignature">public void setEvictPolicy​(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> evictPolicy)</pre> |
| <div class="block">Sets the eviction policy for the query cache</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>evictPolicy</code> - -- String value that specifies the eviction policy</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="getEvictPolicy()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getEvictPolicy</h4> |
| <pre class="methodSignature">public <a href="AbstractQueryCache.EvictPolicy.html" title="enum in org.apache.openjpa.datacache">AbstractQueryCache.EvictPolicy</a> getEvictPolicy()</pre> |
| <div class="block">Returns the evictionPolicy for QueryCache</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>-- returns a String value of evictPolicy attribute</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="updateEntityTimestamp(java.util.Map)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>updateEntityTimestamp</h4> |
| <pre class="methodSignature">protected void updateEntityTimestamp​(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/Map.html?is-external=true" title="class or interface in java.util" class="externalLink">Map</a><<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>,​<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Long.html?is-external=true" title="class or interface in java.lang" class="externalLink">Long</a>> timestampMap)</pre> |
| <div class="block">Updates the entity timestamp map with the current time in milliseconds</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>timestampMap</code> - -- a map that contains entityname and its last |
| updated timestamp</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="getAllEntityTimestamp(java.util.List)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getAllEntityTimestamp</h4> |
| <pre class="methodSignature">public <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a><<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Long.html?is-external=true" title="class or interface in java.lang" class="externalLink">Long</a>> getAllEntityTimestamp​(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a><<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>> keyList)</pre> |
| <div class="block">Returns a list of timestamps in the form of Long objects |
| which are the last updated time stamps for the given entities in the |
| keylist.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>keyList</code> - -- List of entity names</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>-- Returns a list that has the timestamp for the given entities</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="setName(java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setName</h4> |
| <pre class="methodSignature">public void setName​(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> n)</pre> |
| </li> |
| </ul> |
| <a id="getName()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getName</h4> |
| <pre class="methodSignature">public <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> getName()</pre> |
| </li> |
| </ul> |
| <a id="count()"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>count</h4> |
| <pre class="methodSignature">public int count()</pre> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </section> |
| </li> |
| </ul> |
| </div> |
| </div> |
| </main> |
| <!-- ========= END OF CLASS DATA ========= --> |
| <footer role="contentinfo"> |
| <nav role="navigation"> |
| <!-- ======= START OF BOTTOM NAVBAR ====== --> |
| <div class="bottomNav"><a id="navbar.bottom"> |
| <!-- --> |
| </a> |
| <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> |
| <a id="navbar.bottom.firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../index.html">Overview</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="navBarCell1Rev">Class</li> |
| <li><a href="class-use/AbstractQueryCache.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" id="allclasses_navbar_bottom"> |
| <li><a href="../../../../allclasses.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> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| </div> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </li> |
| <li><a href="#nested.class.summary">Nested</a> | </li> |
| <li><a href="#field.summary">Field</a> | </li> |
| <li><a href="#constructor.summary">Constr</a> | </li> |
| <li><a href="#method.summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li><a href="#field.detail">Field</a> | </li> |
| <li><a href="#constructor.detail">Constr</a> | </li> |
| <li><a href="#method.detail">Method</a></li> |
| </ul> |
| </div> |
| <a id="skip.navbar.bottom"> |
| <!-- --> |
| </a></div> |
| <!-- ======== END OF BOTTOM NAVBAR ======= --> |
| </nav> |
| <p class="legalCopy"><small>Copyright © 2006–2025 <a href="http://www.apache.org">Apache Software Foundation</a>. All rights reserved.</small></p> |
| </footer> |
| </body> |
| </html> |