| <!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 (1.8.0_261) on Sat Sep 11 21:20:02 MSK 2021 --> |
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
| <title>ClientCache (Ignite 2.11.0)</title> |
| <meta name="date" content="2021-09-11"> |
| <link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style"> |
| <script type="text/javascript" src="../../../../script.js"></script> |
| <link rel='shortcut icon' href='https://ignite.apache.org/favicon.ico'/> |
| </head> |
| |
| <body> |
| <script type="text/javascript"><!-- |
| try { |
| if (location.href.indexOf('is-external=true') == -1) { |
| parent.document.title="ClientCache (Ignite 2.11.0)"; |
| } |
| } |
| catch(err) { |
| } |
| //--> |
| var methods = {"i0":6,"i1":6,"i2":6,"i3":6,"i4":6,"i5":6,"i6":6,"i7":6,"i8":6,"i9":6,"i10":6,"i11":6,"i12":6,"i13":6,"i14":6,"i15":6,"i16":6,"i17":6,"i18":6,"i19":6,"i20":6,"i21":6,"i22":6,"i23":6,"i24":6,"i25":6,"i26":6,"i27":6,"i28":6,"i29":6,"i30":6,"i31":6,"i32":6,"i33":6,"i34":6,"i35":6,"i36":6,"i37":6,"i38":6,"i39":6,"i40":6,"i41":6,"i42":6,"i43":6,"i44":6,"i45":6,"i46":6,"i47":6,"i48":6,"i49":6,"i50":6,"i51":6,"i52":6}; |
| var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"]}; |
| var altColor = "altColor"; |
| var rowColor = "rowColor"; |
| var tableTab = "tableTab"; |
| var activeTableTab = "activeTableTab"; |
| </script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| <!-- ========= START OF TOP NAVBAR ======= --> |
| <div class="topNav"><a name="navbar.top"> |
| <!-- --> |
| </a> |
| <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> |
| <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/ClientCache.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/ignite/client/ClientAuthorizationException.html" title="class in org.apache.ignite.client"><span class="typeNameLink">Prev Class</span></a></li> |
| <li><a href="../../../../org/apache/ignite/client/ClientCacheConfiguration.html" title="class in org.apache.ignite.client"><span class="typeNameLink">Next Class</span></a></li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../index.html?org/apache/ignite/client/ClientCache.html" target="_top">Frames</a></li> |
| <li><a href="ClientCache.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.ignite.client</div> |
| <h2 title="Interface ClientCache" class="title">Interface ClientCache<span class='angle_bracket'><</span>K,V<span class='angle_bracket'>></span></h2> |
| </div> |
| <div class="contentContainer"> |
| <div class="description"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <hr> |
| <br> |
| <pre>public interface <span class="typeNameLabel">ClientCache<span class='angle_bracket'><</span>K,V<span class='angle_bracket'>></span></span></pre> |
| <div class="block">Thin client cache.</div> |
| </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="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> |
| <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></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colLast" scope="col">Method and Description</th> |
| </tr> |
| <tr id="i0" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/ignite/client/ClientCache.html#clear--">clear</a></span>()</code> |
| <div class="block">Clears the contents of the cache.</div> |
| </td> |
| </tr> |
| <tr id="i1" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/ignite/client/ClientCache.html#clear-K-">clear</a></span>(<a href="../../../../org/apache/ignite/client/ClientCache.html" title="type parameter in ClientCache">K</a> key)</code> |
| <div class="block">Clears entry with specified key from the cache.</div> |
| </td> |
| </tr> |
| <tr id="i2" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/ignite/client/ClientCache.html#clearAll-java.util.Set-">clearAll</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a><span class='angle_bracket'><</span>? extends <a href="../../../../org/apache/ignite/client/ClientCache.html" title="type parameter in ClientCache">K</a><span class='angle_bracket'>></span> keys)</code> |
| <div class="block">Clears entries with specified keys from the cache.</div> |
| </td> |
| </tr> |
| <tr id="i3" class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../org/apache/ignite/client/IgniteClientFuture.html" title="interface in org.apache.ignite.client">IgniteClientFuture</a><span class='angle_bracket'><</span><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Void.html?is-external=true" title="class or interface in java.lang">Void</a><span class='angle_bracket'>></span></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/ignite/client/ClientCache.html#clearAllAsync-java.util.Set-">clearAllAsync</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a><span class='angle_bracket'><</span>? extends <a href="../../../../org/apache/ignite/client/ClientCache.html" title="type parameter in ClientCache">K</a><span class='angle_bracket'>></span> keys)</code> |
| <div class="block">Clears entries with specified keys from the cache asynchronously.</div> |
| </td> |
| </tr> |
| <tr id="i4" class="altColor"> |
| <td class="colFirst"><code><a href="../../../../org/apache/ignite/client/IgniteClientFuture.html" title="interface in org.apache.ignite.client">IgniteClientFuture</a><span class='angle_bracket'><</span><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Void.html?is-external=true" title="class or interface in java.lang">Void</a><span class='angle_bracket'>></span></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/ignite/client/ClientCache.html#clearAsync--">clearAsync</a></span>()</code> |
| <div class="block">Clears the contents of the cache asynchronously.</div> |
| </td> |
| </tr> |
| <tr id="i5" class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../org/apache/ignite/client/IgniteClientFuture.html" title="interface in org.apache.ignite.client">IgniteClientFuture</a><span class='angle_bracket'><</span><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Void.html?is-external=true" title="class or interface in java.lang">Void</a><span class='angle_bracket'>></span></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/ignite/client/ClientCache.html#clearAsync-K-">clearAsync</a></span>(<a href="../../../../org/apache/ignite/client/ClientCache.html" title="type parameter in ClientCache">K</a> key)</code> |
| <div class="block">Clears entry with specified key from the cache asynchronously.</div> |
| </td> |
| </tr> |
| <tr id="i6" class="altColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/ignite/client/ClientCache.html#containsKey-K-">containsKey</a></span>(<a href="../../../../org/apache/ignite/client/ClientCache.html" title="type parameter in ClientCache">K</a> key)</code> |
| <div class="block">Determines if the <a href="../../../../org/apache/ignite/client/ClientCache.html" title="interface in org.apache.ignite.client"><code>ClientCache</code></a> contains an entry for the specified key.</div> |
| </td> |
| </tr> |
| <tr id="i7" class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../org/apache/ignite/client/IgniteClientFuture.html" title="interface in org.apache.ignite.client">IgniteClientFuture</a><span class='angle_bracket'><</span><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a><span class='angle_bracket'>></span></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/ignite/client/ClientCache.html#containsKeyAsync-K-">containsKeyAsync</a></span>(<a href="../../../../org/apache/ignite/client/ClientCache.html" title="type parameter in ClientCache">K</a> key)</code> |
| <div class="block">Determines if the <a href="../../../../org/apache/ignite/client/ClientCache.html" title="interface in org.apache.ignite.client"><code>ClientCache</code></a> contains an entry for the specified key asynchronously.</div> |
| </td> |
| </tr> |
| <tr id="i8" class="altColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/ignite/client/ClientCache.html#containsKeys-java.util.Set-">containsKeys</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a><span class='angle_bracket'><</span>? extends <a href="../../../../org/apache/ignite/client/ClientCache.html" title="type parameter in ClientCache">K</a><span class='angle_bracket'>></span> keys)</code> |
| <div class="block">Determines if the <a href="../../../../org/apache/ignite/client/ClientCache.html" title="interface in org.apache.ignite.client"><code>ClientCache</code></a> contains entries for the specified keys.</div> |
| </td> |
| </tr> |
| <tr id="i9" class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../org/apache/ignite/client/IgniteClientFuture.html" title="interface in org.apache.ignite.client">IgniteClientFuture</a><span class='angle_bracket'><</span><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a><span class='angle_bracket'>></span></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/ignite/client/ClientCache.html#containsKeysAsync-java.util.Set-">containsKeysAsync</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a><span class='angle_bracket'><</span>? extends <a href="../../../../org/apache/ignite/client/ClientCache.html" title="type parameter in ClientCache">K</a><span class='angle_bracket'>></span> keys)</code> |
| <div class="block">Determines if the <a href="../../../../org/apache/ignite/client/ClientCache.html" title="interface in org.apache.ignite.client"><code>ClientCache</code></a> contains entries for the specified keys asynchronously.</div> |
| </td> |
| </tr> |
| <tr id="i10" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/ignite/client/ClientCache.html#deregisterCacheEntryListener-javax.cache.configuration.CacheEntryListenerConfiguration-">deregisterCacheEntryListener</a></span>(javax.cache.configuration.CacheEntryListenerConfiguration<span class='angle_bracket'><</span><a href="../../../../org/apache/ignite/client/ClientCache.html" title="type parameter in ClientCache">K</a>,<a href="../../../../org/apache/ignite/client/ClientCache.html" title="type parameter in ClientCache">V</a><span class='angle_bracket'>></span> cacheEntryListenerConfiguration)</code> |
| <div class="block">Deregisters a listener, using the <code>CacheEntryListenerConfiguration</code> that was used to register it.</div> |
| </td> |
| </tr> |
| <tr id="i11" class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../org/apache/ignite/client/ClientCache.html" title="type parameter in ClientCache">V</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/ignite/client/ClientCache.html#get-K-">get</a></span>(<a href="../../../../org/apache/ignite/client/ClientCache.html" title="type parameter in ClientCache">K</a> key)</code> |
| <div class="block">Gets an entry from the cache.</div> |
| </td> |
| </tr> |
| <tr id="i12" class="altColor"> |
| <td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><span class='angle_bracket'><</span><a href="../../../../org/apache/ignite/client/ClientCache.html" title="type parameter in ClientCache">K</a>,<a href="../../../../org/apache/ignite/client/ClientCache.html" title="type parameter in ClientCache">V</a><span class='angle_bracket'>></span></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/ignite/client/ClientCache.html#getAll-java.util.Set-">getAll</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a><span class='angle_bracket'><</span>? extends <a href="../../../../org/apache/ignite/client/ClientCache.html" title="type parameter in ClientCache">K</a><span class='angle_bracket'>></span> keys)</code> |
| <div class="block">Gets a collection of entries from the <a href="../../../../org/apache/ignite/client/ClientCache.html" title="interface in org.apache.ignite.client"><code>ClientCache</code></a>, returning them as |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util"><code>Map</code></a> of the values associated with the set of keys requested.</div> |
| </td> |
| </tr> |
| <tr id="i13" class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../org/apache/ignite/client/IgniteClientFuture.html" title="interface in org.apache.ignite.client">IgniteClientFuture</a><span class='angle_bracket'><</span><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><span class='angle_bracket'><</span><a href="../../../../org/apache/ignite/client/ClientCache.html" title="type parameter in ClientCache">K</a>,<a href="../../../../org/apache/ignite/client/ClientCache.html" title="type parameter in ClientCache">V</a><span class='angle_bracket'>></span><span class='angle_bracket'>></span></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/ignite/client/ClientCache.html#getAllAsync-java.util.Set-">getAllAsync</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a><span class='angle_bracket'><</span>? extends <a href="../../../../org/apache/ignite/client/ClientCache.html" title="type parameter in ClientCache">K</a><span class='angle_bracket'>></span> keys)</code> |
| <div class="block">Gets a collection of entries from the <a href="../../../../org/apache/ignite/client/ClientCache.html" title="interface in org.apache.ignite.client"><code>ClientCache</code></a>, returning them as |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util"><code>Map</code></a> of the values associated with the set of keys requested.</div> |
| </td> |
| </tr> |
| <tr id="i14" class="altColor"> |
| <td class="colFirst"><code><a href="../../../../org/apache/ignite/client/ClientCache.html" title="type parameter in ClientCache">V</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/ignite/client/ClientCache.html#getAndPut-K-V-">getAndPut</a></span>(<a href="../../../../org/apache/ignite/client/ClientCache.html" title="type parameter in ClientCache">K</a> key, |
| <a href="../../../../org/apache/ignite/client/ClientCache.html" title="type parameter in ClientCache">V</a> val)</code> |
| <div class="block">Associates the specified value with the specified key in this cache, returning an existing value if one existed.</div> |
| </td> |
| </tr> |
| <tr id="i15" class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../org/apache/ignite/client/IgniteClientFuture.html" title="interface in org.apache.ignite.client">IgniteClientFuture</a><span class='angle_bracket'><</span><a href="../../../../org/apache/ignite/client/ClientCache.html" title="type parameter in ClientCache">V</a><span class='angle_bracket'>></span></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/ignite/client/ClientCache.html#getAndPutAsync-K-V-">getAndPutAsync</a></span>(<a href="../../../../org/apache/ignite/client/ClientCache.html" title="type parameter in ClientCache">K</a> key, |
| <a href="../../../../org/apache/ignite/client/ClientCache.html" title="type parameter in ClientCache">V</a> val)</code> |
| <div class="block">Associates the specified value with the specified key in this cache, returning an existing value if one existed.</div> |
| </td> |
| </tr> |
| <tr id="i16" class="altColor"> |
| <td class="colFirst"><code><a href="../../../../org/apache/ignite/client/ClientCache.html" title="type parameter in ClientCache">V</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/ignite/client/ClientCache.html#getAndPutIfAbsent-K-V-">getAndPutIfAbsent</a></span>(<a href="../../../../org/apache/ignite/client/ClientCache.html" title="type parameter in ClientCache">K</a> key, |
| <a href="../../../../org/apache/ignite/client/ClientCache.html" title="type parameter in ClientCache">V</a> val)</code> |
| <div class="block">Atomically associates the specified key with the given value if it is not already associated with a value.</div> |
| </td> |
| </tr> |
| <tr id="i17" class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../org/apache/ignite/client/IgniteClientFuture.html" title="interface in org.apache.ignite.client">IgniteClientFuture</a><span class='angle_bracket'><</span><a href="../../../../org/apache/ignite/client/ClientCache.html" title="type parameter in ClientCache">V</a><span class='angle_bracket'>></span></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/ignite/client/ClientCache.html#getAndPutIfAbsentAsync-K-V-">getAndPutIfAbsentAsync</a></span>(<a href="../../../../org/apache/ignite/client/ClientCache.html" title="type parameter in ClientCache">K</a> key, |
| <a href="../../../../org/apache/ignite/client/ClientCache.html" title="type parameter in ClientCache">V</a> val)</code> |
| <div class="block">Atomically associates the specified key with the given value if it is not already associated with a value.</div> |
| </td> |
| </tr> |
| <tr id="i18" class="altColor"> |
| <td class="colFirst"><code><a href="../../../../org/apache/ignite/client/ClientCache.html" title="type parameter in ClientCache">V</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/ignite/client/ClientCache.html#getAndRemove-K-">getAndRemove</a></span>(<a href="../../../../org/apache/ignite/client/ClientCache.html" title="type parameter in ClientCache">K</a> key)</code> |
| <div class="block">Atomically removes the entry for a key only if currently mapped to some value.</div> |
| </td> |
| </tr> |
| <tr id="i19" class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../org/apache/ignite/client/IgniteClientFuture.html" title="interface in org.apache.ignite.client">IgniteClientFuture</a><span class='angle_bracket'><</span><a href="../../../../org/apache/ignite/client/ClientCache.html" title="type parameter in ClientCache">V</a><span class='angle_bracket'>></span></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/ignite/client/ClientCache.html#getAndRemoveAsync-K-">getAndRemoveAsync</a></span>(<a href="../../../../org/apache/ignite/client/ClientCache.html" title="type parameter in ClientCache">K</a> key)</code> |
| <div class="block">Atomically removes the entry for a key only if currently mapped to some value.</div> |
| </td> |
| </tr> |
| <tr id="i20" class="altColor"> |
| <td class="colFirst"><code><a href="../../../../org/apache/ignite/client/ClientCache.html" title="type parameter in ClientCache">V</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/ignite/client/ClientCache.html#getAndReplace-K-V-">getAndReplace</a></span>(<a href="../../../../org/apache/ignite/client/ClientCache.html" title="type parameter in ClientCache">K</a> key, |
| <a href="../../../../org/apache/ignite/client/ClientCache.html" title="type parameter in ClientCache">V</a> val)</code> |
| <div class="block">Atomically replaces the value for a given key if and only if there is a value currently mapped by the key.</div> |
| </td> |
| </tr> |
| <tr id="i21" class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../org/apache/ignite/client/IgniteClientFuture.html" title="interface in org.apache.ignite.client">IgniteClientFuture</a><span class='angle_bracket'><</span><a href="../../../../org/apache/ignite/client/ClientCache.html" title="type parameter in ClientCache">V</a><span class='angle_bracket'>></span></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/ignite/client/ClientCache.html#getAndReplaceAsync-K-V-">getAndReplaceAsync</a></span>(<a href="../../../../org/apache/ignite/client/ClientCache.html" title="type parameter in ClientCache">K</a> key, |
| <a href="../../../../org/apache/ignite/client/ClientCache.html" title="type parameter in ClientCache">V</a> val)</code> |
| <div class="block">Atomically replaces the value for a given key if and only if there is a value currently mapped by the key.</div> |
| </td> |
| </tr> |
| <tr id="i22" class="altColor"> |
| <td class="colFirst"><code><a href="../../../../org/apache/ignite/client/IgniteClientFuture.html" title="interface in org.apache.ignite.client">IgniteClientFuture</a><span class='angle_bracket'><</span><a href="../../../../org/apache/ignite/client/ClientCache.html" title="type parameter in ClientCache">V</a><span class='angle_bracket'>></span></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/ignite/client/ClientCache.html#getAsync-K-">getAsync</a></span>(<a href="../../../../org/apache/ignite/client/ClientCache.html" title="type parameter in ClientCache">K</a> key)</code> |
| <div class="block">Gets an entry from the cache asynchronously.</div> |
| </td> |
| </tr> |
| <tr id="i23" class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../org/apache/ignite/client/ClientCacheConfiguration.html" title="class in org.apache.ignite.client">ClientCacheConfiguration</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/ignite/client/ClientCache.html#getConfiguration--">getConfiguration</a></span>()</code> </td> |
| </tr> |
| <tr id="i24" class="altColor"> |
| <td class="colFirst"><code><a href="../../../../org/apache/ignite/client/IgniteClientFuture.html" title="interface in org.apache.ignite.client">IgniteClientFuture</a><span class='angle_bracket'><</span><a href="../../../../org/apache/ignite/client/ClientCacheConfiguration.html" title="class in org.apache.ignite.client">ClientCacheConfiguration</a><span class='angle_bracket'>></span></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/ignite/client/ClientCache.html#getConfigurationAsync--">getConfigurationAsync</a></span>()</code> |
| <div class="block">Gets the cache configuration asynchronously.</div> |
| </td> |
| </tr> |
| <tr id="i25" class="rowColor"> |
| <td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/ignite/client/ClientCache.html#getName--">getName</a></span>()</code> </td> |
| </tr> |
| <tr id="i26" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/ignite/client/ClientCache.html#put-K-V-">put</a></span>(<a href="../../../../org/apache/ignite/client/ClientCache.html" title="type parameter in ClientCache">K</a> key, |
| <a href="../../../../org/apache/ignite/client/ClientCache.html" title="type parameter in ClientCache">V</a> val)</code> |
| <div class="block">Associates the specified value with the specified key in the cache.</div> |
| </td> |
| </tr> |
| <tr id="i27" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/ignite/client/ClientCache.html#putAll-java.util.Map-">putAll</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><span class='angle_bracket'><</span>? extends <a href="../../../../org/apache/ignite/client/ClientCache.html" title="type parameter in ClientCache">K</a>,? extends <a href="../../../../org/apache/ignite/client/ClientCache.html" title="type parameter in ClientCache">V</a><span class='angle_bracket'>></span> map)</code> |
| <div class="block">Copies all of the entries from the specified map to the <a href="../../../../org/apache/ignite/client/ClientCache.html" title="interface in org.apache.ignite.client"><code>ClientCache</code></a>.</div> |
| </td> |
| </tr> |
| <tr id="i28" class="altColor"> |
| <td class="colFirst"><code><a href="../../../../org/apache/ignite/client/IgniteClientFuture.html" title="interface in org.apache.ignite.client">IgniteClientFuture</a><span class='angle_bracket'><</span><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Void.html?is-external=true" title="class or interface in java.lang">Void</a><span class='angle_bracket'>></span></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/ignite/client/ClientCache.html#putAllAsync-java.util.Map-">putAllAsync</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><span class='angle_bracket'><</span>? extends <a href="../../../../org/apache/ignite/client/ClientCache.html" title="type parameter in ClientCache">K</a>,? extends <a href="../../../../org/apache/ignite/client/ClientCache.html" title="type parameter in ClientCache">V</a><span class='angle_bracket'>></span> map)</code> |
| <div class="block">Copies all of the entries from the specified map to the <a href="../../../../org/apache/ignite/client/ClientCache.html" title="interface in org.apache.ignite.client"><code>ClientCache</code></a>.</div> |
| </td> |
| </tr> |
| <tr id="i29" class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../org/apache/ignite/client/IgniteClientFuture.html" title="interface in org.apache.ignite.client">IgniteClientFuture</a><span class='angle_bracket'><</span><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Void.html?is-external=true" title="class or interface in java.lang">Void</a><span class='angle_bracket'>></span></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/ignite/client/ClientCache.html#putAsync-K-V-">putAsync</a></span>(<a href="../../../../org/apache/ignite/client/ClientCache.html" title="type parameter in ClientCache">K</a> key, |
| <a href="../../../../org/apache/ignite/client/ClientCache.html" title="type parameter in ClientCache">V</a> val)</code> |
| <div class="block">Associates the specified value with the specified key in the cache asynchronously.</div> |
| </td> |
| </tr> |
| <tr id="i30" class="altColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/ignite/client/ClientCache.html#putIfAbsent-K-V-">putIfAbsent</a></span>(<a href="../../../../org/apache/ignite/client/ClientCache.html" title="type parameter in ClientCache">K</a> key, |
| <a href="../../../../org/apache/ignite/client/ClientCache.html" title="type parameter in ClientCache">V</a> val)</code> |
| <div class="block">Atomically associates the specified key with the given value if it is not already associated with a value.</div> |
| </td> |
| </tr> |
| <tr id="i31" class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../org/apache/ignite/client/IgniteClientFuture.html" title="interface in org.apache.ignite.client">IgniteClientFuture</a><span class='angle_bracket'><</span><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a><span class='angle_bracket'>></span></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/ignite/client/ClientCache.html#putIfAbsentAsync-K-V-">putIfAbsentAsync</a></span>(<a href="../../../../org/apache/ignite/client/ClientCache.html" title="type parameter in ClientCache">K</a> key, |
| <a href="../../../../org/apache/ignite/client/ClientCache.html" title="type parameter in ClientCache">V</a> val)</code> |
| <div class="block">Atomically associates the specified key with the given value if it is not already associated with a value.</div> |
| </td> |
| </tr> |
| <tr id="i32" class="altColor"> |
| <td class="colFirst"><code><span class='angle_bracket'><</span>R<span class='angle_bracket'>></span> <a href="../../../../org/apache/ignite/cache/query/QueryCursor.html" title="interface in org.apache.ignite.cache.query">QueryCursor</a><span class='angle_bracket'><</span>R<span class='angle_bracket'>></span></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/ignite/client/ClientCache.html#query-org.apache.ignite.cache.query.ContinuousQuery-org.apache.ignite.client.ClientDisconnectListener-">query</a></span>(<a href="../../../../org/apache/ignite/cache/query/ContinuousQuery.html" title="class in org.apache.ignite.cache.query">ContinuousQuery</a><span class='angle_bracket'><</span><a href="../../../../org/apache/ignite/client/ClientCache.html" title="type parameter in ClientCache">K</a>,<a href="../../../../org/apache/ignite/client/ClientCache.html" title="type parameter in ClientCache">V</a><span class='angle_bracket'>></span> qry, |
| <a href="../../../../org/apache/ignite/client/ClientDisconnectListener.html" title="interface in org.apache.ignite.client">ClientDisconnectListener</a> disconnectListener)</code> |
| <div class="block">Start <a href="../../../../org/apache/ignite/cache/query/ContinuousQuery.html" title="class in org.apache.ignite.cache.query"><code>ContinuousQuery</code></a> on the cache.</div> |
| </td> |
| </tr> |
| <tr id="i33" class="rowColor"> |
| <td class="colFirst"><code><span class='angle_bracket'><</span>R<span class='angle_bracket'>></span> <a href="../../../../org/apache/ignite/cache/query/QueryCursor.html" title="interface in org.apache.ignite.cache.query">QueryCursor</a><span class='angle_bracket'><</span>R<span class='angle_bracket'>></span></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/ignite/client/ClientCache.html#query-org.apache.ignite.cache.query.Query-">query</a></span>(<a href="../../../../org/apache/ignite/cache/query/Query.html" title="class in org.apache.ignite.cache.query">Query</a><span class='angle_bracket'><</span>R<span class='angle_bracket'>></span> qry)</code> |
| <div class="block">Queries cache.</div> |
| </td> |
| </tr> |
| <tr id="i34" class="altColor"> |
| <td class="colFirst"><code><a href="../../../../org/apache/ignite/cache/query/FieldsQueryCursor.html" title="interface in org.apache.ignite.cache.query">FieldsQueryCursor</a><span class='angle_bracket'><</span><a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><span class='angle_bracket'><</span>?<span class='angle_bracket'>></span><span class='angle_bracket'>></span></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/ignite/client/ClientCache.html#query-org.apache.ignite.cache.query.SqlFieldsQuery-">query</a></span>(<a href="../../../../org/apache/ignite/cache/query/SqlFieldsQuery.html" title="class in org.apache.ignite.cache.query">SqlFieldsQuery</a> qry)</code> |
| <div class="block">Convenience method to execute <a href="../../../../org/apache/ignite/cache/query/SqlFieldsQuery.html" title="class in org.apache.ignite.cache.query"><code>SqlFieldsQuery</code></a>.</div> |
| </td> |
| </tr> |
| <tr id="i35" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/ignite/client/ClientCache.html#registerCacheEntryListener-javax.cache.configuration.CacheEntryListenerConfiguration-">registerCacheEntryListener</a></span>(javax.cache.configuration.CacheEntryListenerConfiguration<span class='angle_bracket'><</span><a href="../../../../org/apache/ignite/client/ClientCache.html" title="type parameter in ClientCache">K</a>,<a href="../../../../org/apache/ignite/client/ClientCache.html" title="type parameter in ClientCache">V</a><span class='angle_bracket'>></span> cacheEntryListenerConfiguration)</code> |
| <div class="block">Registers a <code>CacheEntryListener</code>.</div> |
| </td> |
| </tr> |
| <tr id="i36" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/ignite/client/ClientCache.html#registerCacheEntryListener-javax.cache.configuration.CacheEntryListenerConfiguration-org.apache.ignite.client.ClientDisconnectListener-">registerCacheEntryListener</a></span>(javax.cache.configuration.CacheEntryListenerConfiguration<span class='angle_bracket'><</span><a href="../../../../org/apache/ignite/client/ClientCache.html" title="type parameter in ClientCache">K</a>,<a href="../../../../org/apache/ignite/client/ClientCache.html" title="type parameter in ClientCache">V</a><span class='angle_bracket'>></span> cacheEntryListenerConfiguration, |
| <a href="../../../../org/apache/ignite/client/ClientDisconnectListener.html" title="interface in org.apache.ignite.client">ClientDisconnectListener</a> disconnectListener)</code> |
| <div class="block">Registers a <code>CacheEntryListener</code>.</div> |
| </td> |
| </tr> |
| <tr id="i37" class="rowColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/ignite/client/ClientCache.html#remove-K-">remove</a></span>(<a href="../../../../org/apache/ignite/client/ClientCache.html" title="type parameter in ClientCache">K</a> key)</code> |
| <div class="block">Removes the mapping for a key from this cache if it is present.</div> |
| </td> |
| </tr> |
| <tr id="i38" class="altColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/ignite/client/ClientCache.html#remove-K-V-">remove</a></span>(<a href="../../../../org/apache/ignite/client/ClientCache.html" title="type parameter in ClientCache">K</a> key, |
| <a href="../../../../org/apache/ignite/client/ClientCache.html" title="type parameter in ClientCache">V</a> oldVal)</code> |
| <div class="block">Atomically removes the mapping for a key only if currently mapped to the given value.</div> |
| </td> |
| </tr> |
| <tr id="i39" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/ignite/client/ClientCache.html#removeAll--">removeAll</a></span>()</code> |
| <div class="block">Removes all of the mappings from this cache.</div> |
| </td> |
| </tr> |
| <tr id="i40" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/ignite/client/ClientCache.html#removeAll-java.util.Set-">removeAll</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a><span class='angle_bracket'><</span>? extends <a href="../../../../org/apache/ignite/client/ClientCache.html" title="type parameter in ClientCache">K</a><span class='angle_bracket'>></span> keys)</code> |
| <div class="block">Removes entries for the specified keys.</div> |
| </td> |
| </tr> |
| <tr id="i41" class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../org/apache/ignite/client/IgniteClientFuture.html" title="interface in org.apache.ignite.client">IgniteClientFuture</a><span class='angle_bracket'><</span><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Void.html?is-external=true" title="class or interface in java.lang">Void</a><span class='angle_bracket'>></span></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/ignite/client/ClientCache.html#removeAllAsync--">removeAllAsync</a></span>()</code> |
| <div class="block">Removes all of the mappings from this cache.</div> |
| </td> |
| </tr> |
| <tr id="i42" class="altColor"> |
| <td class="colFirst"><code><a href="../../../../org/apache/ignite/client/IgniteClientFuture.html" title="interface in org.apache.ignite.client">IgniteClientFuture</a><span class='angle_bracket'><</span><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Void.html?is-external=true" title="class or interface in java.lang">Void</a><span class='angle_bracket'>></span></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/ignite/client/ClientCache.html#removeAllAsync-java.util.Set-">removeAllAsync</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a><span class='angle_bracket'><</span>? extends <a href="../../../../org/apache/ignite/client/ClientCache.html" title="type parameter in ClientCache">K</a><span class='angle_bracket'>></span> keys)</code> |
| <div class="block">Removes entries for the specified keys.</div> |
| </td> |
| </tr> |
| <tr id="i43" class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../org/apache/ignite/client/IgniteClientFuture.html" title="interface in org.apache.ignite.client">IgniteClientFuture</a><span class='angle_bracket'><</span><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a><span class='angle_bracket'>></span></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/ignite/client/ClientCache.html#removeAsync-K-">removeAsync</a></span>(<a href="../../../../org/apache/ignite/client/ClientCache.html" title="type parameter in ClientCache">K</a> key)</code> |
| <div class="block">Removes the mapping for a key from this cache if it is present.</div> |
| </td> |
| </tr> |
| <tr id="i44" class="altColor"> |
| <td class="colFirst"><code><a href="../../../../org/apache/ignite/client/IgniteClientFuture.html" title="interface in org.apache.ignite.client">IgniteClientFuture</a><span class='angle_bracket'><</span><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a><span class='angle_bracket'>></span></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/ignite/client/ClientCache.html#removeAsync-K-V-">removeAsync</a></span>(<a href="../../../../org/apache/ignite/client/ClientCache.html" title="type parameter in ClientCache">K</a> key, |
| <a href="../../../../org/apache/ignite/client/ClientCache.html" title="type parameter in ClientCache">V</a> oldVal)</code> |
| <div class="block">Atomically removes the mapping for a key only if currently mapped to the given value.</div> |
| </td> |
| </tr> |
| <tr id="i45" class="rowColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/ignite/client/ClientCache.html#replace-K-V-">replace</a></span>(<a href="../../../../org/apache/ignite/client/ClientCache.html" title="type parameter in ClientCache">K</a> key, |
| <a href="../../../../org/apache/ignite/client/ClientCache.html" title="type parameter in ClientCache">V</a> val)</code> |
| <div class="block">Atomically replaces the entry for a key only if currently mapped to some |
| value.</div> |
| </td> |
| </tr> |
| <tr id="i46" class="altColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/ignite/client/ClientCache.html#replace-K-V-V-">replace</a></span>(<a href="../../../../org/apache/ignite/client/ClientCache.html" title="type parameter in ClientCache">K</a> key, |
| <a href="../../../../org/apache/ignite/client/ClientCache.html" title="type parameter in ClientCache">V</a> oldVal, |
| <a href="../../../../org/apache/ignite/client/ClientCache.html" title="type parameter in ClientCache">V</a> newVal)</code> |
| <div class="block">Atomically replaces the entry for a key only if currently mapped to a given value.</div> |
| </td> |
| </tr> |
| <tr id="i47" class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../org/apache/ignite/client/IgniteClientFuture.html" title="interface in org.apache.ignite.client">IgniteClientFuture</a><span class='angle_bracket'><</span><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a><span class='angle_bracket'>></span></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/ignite/client/ClientCache.html#replaceAsync-K-V-">replaceAsync</a></span>(<a href="../../../../org/apache/ignite/client/ClientCache.html" title="type parameter in ClientCache">K</a> key, |
| <a href="../../../../org/apache/ignite/client/ClientCache.html" title="type parameter in ClientCache">V</a> val)</code> |
| <div class="block">Atomically replaces the entry for a key only if currently mapped to some |
| value.</div> |
| </td> |
| </tr> |
| <tr id="i48" class="altColor"> |
| <td class="colFirst"><code><a href="../../../../org/apache/ignite/client/IgniteClientFuture.html" title="interface in org.apache.ignite.client">IgniteClientFuture</a><span class='angle_bracket'><</span><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a><span class='angle_bracket'>></span></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/ignite/client/ClientCache.html#replaceAsync-K-V-V-">replaceAsync</a></span>(<a href="../../../../org/apache/ignite/client/ClientCache.html" title="type parameter in ClientCache">K</a> key, |
| <a href="../../../../org/apache/ignite/client/ClientCache.html" title="type parameter in ClientCache">V</a> oldVal, |
| <a href="../../../../org/apache/ignite/client/ClientCache.html" title="type parameter in ClientCache">V</a> newVal)</code> |
| <div class="block">Atomically replaces the entry for a key only if currently mapped to a given value.</div> |
| </td> |
| </tr> |
| <tr id="i49" class="rowColor"> |
| <td class="colFirst"><code>int</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/ignite/client/ClientCache.html#size-org.apache.ignite.cache.CachePeekMode...-">size</a></span>(<a href="../../../../org/apache/ignite/cache/CachePeekMode.html" title="enum in org.apache.ignite.cache">CachePeekMode</a>... peekModes)</code> |
| <div class="block">Gets the number of all entries cached across all nodes.</div> |
| </td> |
| </tr> |
| <tr id="i50" class="altColor"> |
| <td class="colFirst"><code><a href="../../../../org/apache/ignite/client/IgniteClientFuture.html" title="interface in org.apache.ignite.client">IgniteClientFuture</a><span class='angle_bracket'><</span><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</a><span class='angle_bracket'>></span></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/ignite/client/ClientCache.html#sizeAsync-org.apache.ignite.cache.CachePeekMode...-">sizeAsync</a></span>(<a href="../../../../org/apache/ignite/cache/CachePeekMode.html" title="enum in org.apache.ignite.cache">CachePeekMode</a>... peekModes)</code> |
| <div class="block">Gets the number of all entries cached across all nodes.</div> |
| </td> |
| </tr> |
| <tr id="i51" class="rowColor"> |
| <td class="colFirst"><code><span class='angle_bracket'><</span>K1,V1<span class='angle_bracket'>></span> <a href="../../../../org/apache/ignite/client/ClientCache.html" title="interface in org.apache.ignite.client">ClientCache</a><span class='angle_bracket'><</span>K1,V1<span class='angle_bracket'>></span></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/ignite/client/ClientCache.html#withExpirePolicy-javax.cache.expiry.ExpiryPolicy-">withExpirePolicy</a></span>(javax.cache.expiry.ExpiryPolicy expirePlc)</code> |
| <div class="block">Returns cache with the specified expired policy set.</div> |
| </td> |
| </tr> |
| <tr id="i52" class="altColor"> |
| <td class="colFirst"><code><span class='angle_bracket'><</span>K1,V1<span class='angle_bracket'>></span> <a href="../../../../org/apache/ignite/client/ClientCache.html" title="interface in org.apache.ignite.client">ClientCache</a><span class='angle_bracket'><</span>K1,V1<span class='angle_bracket'>></span></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/ignite/client/ClientCache.html#withKeepBinary--">withKeepBinary</a></span>()</code> |
| <div class="block">Returns cache that will operate with binary objects.</div> |
| </td> |
| </tr> |
| </table> |
| </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-"> |
| <!-- --> |
| </a><a name="get-K-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>get</h4> |
| <pre><a href="../../../../org/apache/ignite/client/ClientCache.html" title="type parameter in ClientCache">V</a> get(<a href="../../../../org/apache/ignite/client/ClientCache.html" title="type parameter in ClientCache">K</a> key) |
| throws <a href="../../../../org/apache/ignite/client/ClientException.html" title="class in org.apache.ignite.client">ClientException</a></pre> |
| <div class="block">Gets an entry from the cache.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>key</code> - the key whose associated value is to be returned</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the element, or null, if it does not exist.</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/NullPointerException.html?is-external=true" title="class or interface in java.lang">NullPointerException</a></code> - if the key is null.</dd> |
| <dd><code><a href="../../../../org/apache/ignite/client/ClientException.html" title="class in org.apache.ignite.client">ClientException</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getAsync-java.lang.Object-"> |
| <!-- --> |
| </a><a name="getAsync-K-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getAsync</h4> |
| <pre><a href="../../../../org/apache/ignite/client/IgniteClientFuture.html" title="interface in org.apache.ignite.client">IgniteClientFuture</a><span class='angle_bracket'><</span><a href="../../../../org/apache/ignite/client/ClientCache.html" title="type parameter in ClientCache">V</a><span class='angle_bracket'>></span> getAsync(<a href="../../../../org/apache/ignite/client/ClientCache.html" title="type parameter in ClientCache">K</a> key)</pre> |
| <div class="block">Gets an entry from the cache asynchronously.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>key</code> - Key.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>a Future representing pending completion of the operation. |
| Future result is the cache entry value or null if it does not exist.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="put-java.lang.Object-java.lang.Object-"> |
| <!-- --> |
| </a><a name="put-K-V-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>put</h4> |
| <pre>void put(<a href="../../../../org/apache/ignite/client/ClientCache.html" title="type parameter in ClientCache">K</a> key, |
| <a href="../../../../org/apache/ignite/client/ClientCache.html" title="type parameter in ClientCache">V</a> val) |
| throws <a href="../../../../org/apache/ignite/client/ClientException.html" title="class in org.apache.ignite.client">ClientException</a></pre> |
| <div class="block">Associates the specified value with the specified key in the cache. |
| <p> |
| If the <a href="../../../../org/apache/ignite/client/ClientCache.html" title="interface in org.apache.ignite.client"><code>ClientCache</code></a> previously contained a mapping for the key, the old |
| value is replaced by the specified value.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>key</code> - key with which the specified value is to be associated</dd> |
| <dd><code>val</code> - value to be associated with the specified key.</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/NullPointerException.html?is-external=true" title="class or interface in java.lang">NullPointerException</a></code> - if key is null or if value is null.</dd> |
| <dd><code><a href="../../../../org/apache/ignite/client/ClientException.html" title="class in org.apache.ignite.client">ClientException</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="putAsync-java.lang.Object-java.lang.Object-"> |
| <!-- --> |
| </a><a name="putAsync-K-V-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>putAsync</h4> |
| <pre><a href="../../../../org/apache/ignite/client/IgniteClientFuture.html" title="interface in org.apache.ignite.client">IgniteClientFuture</a><span class='angle_bracket'><</span><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Void.html?is-external=true" title="class or interface in java.lang">Void</a><span class='angle_bracket'>></span> putAsync(<a href="../../../../org/apache/ignite/client/ClientCache.html" title="type parameter in ClientCache">K</a> key, |
| <a href="../../../../org/apache/ignite/client/ClientCache.html" title="type parameter in ClientCache">V</a> val) |
| throws <a href="../../../../org/apache/ignite/client/ClientException.html" title="class in org.apache.ignite.client">ClientException</a></pre> |
| <div class="block">Associates the specified value with the specified key in the cache asynchronously. |
| <p> |
| If the <a href="../../../../org/apache/ignite/client/ClientCache.html" title="interface in org.apache.ignite.client"><code>ClientCache</code></a> previously contained a mapping for the key, the old |
| value is replaced by the specified value.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>key</code> - key with which the specified value is to be associated</dd> |
| <dd><code>val</code> - value to be associated with the specified key.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>a Future representing pending completion of the operation.</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/NullPointerException.html?is-external=true" title="class or interface in java.lang">NullPointerException</a></code> - if key is null or if value is null.</dd> |
| <dd><code><a href="../../../../org/apache/ignite/client/ClientException.html" title="class in org.apache.ignite.client">ClientException</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="containsKey-java.lang.Object-"> |
| <!-- --> |
| </a><a name="containsKey-K-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>containsKey</h4> |
| <pre>boolean containsKey(<a href="../../../../org/apache/ignite/client/ClientCache.html" title="type parameter in ClientCache">K</a> key) |
| throws <a href="../../../../org/apache/ignite/client/ClientException.html" title="class in org.apache.ignite.client">ClientException</a></pre> |
| <div class="block">Determines if the <a href="../../../../org/apache/ignite/client/ClientCache.html" title="interface in org.apache.ignite.client"><code>ClientCache</code></a> contains an entry for the specified key. |
| <p> |
| More formally, returns <tt>true</tt> if and only if this cache contains a |
| mapping for a key <tt>k</tt> such that <tt>key.equals(k)</tt>. |
| (There can be at most one such mapping)</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>key</code> - key whose presence in this cache is to be tested.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd><tt>true</tt> if this map contains a mapping for the specified key.</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../../../../org/apache/ignite/client/ClientException.html" title="class in org.apache.ignite.client">ClientException</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="containsKeyAsync-java.lang.Object-"> |
| <!-- --> |
| </a><a name="containsKeyAsync-K-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>containsKeyAsync</h4> |
| <pre><a href="../../../../org/apache/ignite/client/IgniteClientFuture.html" title="interface in org.apache.ignite.client">IgniteClientFuture</a><span class='angle_bracket'><</span><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a><span class='angle_bracket'>></span> containsKeyAsync(<a href="../../../../org/apache/ignite/client/ClientCache.html" title="type parameter in ClientCache">K</a> key) |
| throws <a href="../../../../org/apache/ignite/client/ClientException.html" title="class in org.apache.ignite.client">ClientException</a></pre> |
| <div class="block">Determines if the <a href="../../../../org/apache/ignite/client/ClientCache.html" title="interface in org.apache.ignite.client"><code>ClientCache</code></a> contains an entry for the specified key asynchronously. |
| <p> |
| More formally, returns <tt>true</tt> if and only if this cache contains a |
| mapping for a key <tt>k</tt> such that <tt>key.equals(k)</tt>. |
| (There can be at most one such mapping)</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>key</code> - key whose presence in this cache is to be tested.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>a Future representing pending completion of the operation. |
| Future result is <tt>true</tt> if this map contains a mapping for the specified key.</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../../../../org/apache/ignite/client/ClientException.html" title="class in org.apache.ignite.client">ClientException</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="containsKeys-java.util.Set-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>containsKeys</h4> |
| <pre>boolean containsKeys(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a><span class='angle_bracket'><</span>? extends <a href="../../../../org/apache/ignite/client/ClientCache.html" title="type parameter in ClientCache">K</a><span class='angle_bracket'>></span> keys) |
| throws <a href="../../../../org/apache/ignite/client/ClientException.html" title="class in org.apache.ignite.client">ClientException</a></pre> |
| <div class="block">Determines if the <a href="../../../../org/apache/ignite/client/ClientCache.html" title="interface in org.apache.ignite.client"><code>ClientCache</code></a> contains entries for the specified keys.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>keys</code> - Keys whose presence in this cache is to be tested.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd><code>True</code> if this cache contains a mapping for the specified keys.</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../../../../org/apache/ignite/client/ClientException.html" title="class in org.apache.ignite.client">ClientException</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="containsKeysAsync-java.util.Set-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>containsKeysAsync</h4> |
| <pre><a href="../../../../org/apache/ignite/client/IgniteClientFuture.html" title="interface in org.apache.ignite.client">IgniteClientFuture</a><span class='angle_bracket'><</span><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a><span class='angle_bracket'>></span> containsKeysAsync(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a><span class='angle_bracket'><</span>? extends <a href="../../../../org/apache/ignite/client/ClientCache.html" title="type parameter in ClientCache">K</a><span class='angle_bracket'>></span> keys) |
| throws <a href="../../../../org/apache/ignite/client/ClientException.html" title="class in org.apache.ignite.client">ClientException</a></pre> |
| <div class="block">Determines if the <a href="../../../../org/apache/ignite/client/ClientCache.html" title="interface in org.apache.ignite.client"><code>ClientCache</code></a> contains entries for the specified keys asynchronously.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>keys</code> - Keys whose presence in this cache is to be tested.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>Future representing pending completion of the operation. |
| Future result is <code>true</code> if this map contains a mapping for the specified keys.</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../../../../org/apache/ignite/client/ClientException.html" title="class in org.apache.ignite.client">ClientException</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getName--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getName</h4> |
| <pre><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> getName()</pre> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>The name of the cache.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getConfiguration--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getConfiguration</h4> |
| <pre><a href="../../../../org/apache/ignite/client/ClientCacheConfiguration.html" title="class in org.apache.ignite.client">ClientCacheConfiguration</a> getConfiguration() |
| throws <a href="../../../../org/apache/ignite/client/ClientException.html" title="class in org.apache.ignite.client">ClientException</a></pre> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>The cache configuration.</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../../../../org/apache/ignite/client/ClientException.html" title="class in org.apache.ignite.client">ClientException</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getConfigurationAsync--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getConfigurationAsync</h4> |
| <pre><a href="../../../../org/apache/ignite/client/IgniteClientFuture.html" title="interface in org.apache.ignite.client">IgniteClientFuture</a><span class='angle_bracket'><</span><a href="../../../../org/apache/ignite/client/ClientCacheConfiguration.html" title="class in org.apache.ignite.client">ClientCacheConfiguration</a><span class='angle_bracket'>></span> getConfigurationAsync() |
| throws <a href="../../../../org/apache/ignite/client/ClientException.html" title="class in org.apache.ignite.client">ClientException</a></pre> |
| <div class="block">Gets the cache configuration asynchronously.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>a Future representing pending completion of the operation, which wraps the cache configuration.</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../../../../org/apache/ignite/client/ClientException.html" title="class in org.apache.ignite.client">ClientException</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="size-org.apache.ignite.cache.CachePeekMode...-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>size</h4> |
| <pre>int size(<a href="../../../../org/apache/ignite/cache/CachePeekMode.html" title="enum in org.apache.ignite.cache">CachePeekMode</a>... peekModes) |
| throws <a href="../../../../org/apache/ignite/client/ClientException.html" title="class in org.apache.ignite.client">ClientException</a></pre> |
| <div class="block">Gets the number of all entries cached across all nodes. By default, if <code>peekModes</code> value isn't provided, |
| only size of primary copies across all nodes will be returned. This behavior is identical to calling |
| this method with <a href="../../../../org/apache/ignite/cache/CachePeekMode.html#PRIMARY"><code>CachePeekMode.PRIMARY</code></a> peek mode. |
| <p> |
| NOTE: this operation is distributed and will query all participating nodes for their cache sizes.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>peekModes</code> - Optional peek modes. If not provided, then total cache size is returned.</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../../../../org/apache/ignite/client/ClientException.html" title="class in org.apache.ignite.client">ClientException</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="sizeAsync-org.apache.ignite.cache.CachePeekMode...-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>sizeAsync</h4> |
| <pre><a href="../../../../org/apache/ignite/client/IgniteClientFuture.html" title="interface in org.apache.ignite.client">IgniteClientFuture</a><span class='angle_bracket'><</span><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</a><span class='angle_bracket'>></span> sizeAsync(<a href="../../../../org/apache/ignite/cache/CachePeekMode.html" title="enum in org.apache.ignite.cache">CachePeekMode</a>... peekModes) |
| throws <a href="../../../../org/apache/ignite/client/ClientException.html" title="class in org.apache.ignite.client">ClientException</a></pre> |
| <div class="block">Gets the number of all entries cached across all nodes. By default, if <code>peekModes</code> value isn't provided, |
| only size of primary copies across all nodes will be returned. This behavior is identical to calling |
| this method with <a href="../../../../org/apache/ignite/cache/CachePeekMode.html#PRIMARY"><code>CachePeekMode.PRIMARY</code></a> peek mode. |
| <p> |
| NOTE: this operation is distributed and will query all participating nodes for their cache sizes.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>peekModes</code> - Optional peek modes. If not provided, then total cache size is returned.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>a Future representing pending completion of the operation, which wraps the cache size.</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../../../../org/apache/ignite/client/ClientException.html" title="class in org.apache.ignite.client">ClientException</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getAll-java.util.Set-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getAll</h4> |
| <pre><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><span class='angle_bracket'><</span><a href="../../../../org/apache/ignite/client/ClientCache.html" title="type parameter in ClientCache">K</a>,<a href="../../../../org/apache/ignite/client/ClientCache.html" title="type parameter in ClientCache">V</a><span class='angle_bracket'>></span> getAll(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a><span class='angle_bracket'><</span>? extends <a href="../../../../org/apache/ignite/client/ClientCache.html" title="type parameter in ClientCache">K</a><span class='angle_bracket'>></span> keys) |
| throws <a href="../../../../org/apache/ignite/client/ClientException.html" title="class in org.apache.ignite.client">ClientException</a></pre> |
| <div class="block">Gets a collection of entries from the <a href="../../../../org/apache/ignite/client/ClientCache.html" title="interface in org.apache.ignite.client"><code>ClientCache</code></a>, returning them as |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util"><code>Map</code></a> of the values associated with the set of keys requested.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>keys</code> - The keys whose associated values are to be returned.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>A map of entries that were found for the given keys. Keys not found |
| in the cache are not in the returned map.</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../../../../org/apache/ignite/client/ClientException.html" title="class in org.apache.ignite.client">ClientException</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getAllAsync-java.util.Set-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getAllAsync</h4> |
| <pre><a href="../../../../org/apache/ignite/client/IgniteClientFuture.html" title="interface in org.apache.ignite.client">IgniteClientFuture</a><span class='angle_bracket'><</span><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><span class='angle_bracket'><</span><a href="../../../../org/apache/ignite/client/ClientCache.html" title="type parameter in ClientCache">K</a>,<a href="../../../../org/apache/ignite/client/ClientCache.html" title="type parameter in ClientCache">V</a><span class='angle_bracket'>></span><span class='angle_bracket'>></span> getAllAsync(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a><span class='angle_bracket'><</span>? extends <a href="../../../../org/apache/ignite/client/ClientCache.html" title="type parameter in ClientCache">K</a><span class='angle_bracket'>></span> keys) |
| throws <a href="../../../../org/apache/ignite/client/ClientException.html" title="class in org.apache.ignite.client">ClientException</a></pre> |
| <div class="block">Gets a collection of entries from the <a href="../../../../org/apache/ignite/client/ClientCache.html" title="interface in org.apache.ignite.client"><code>ClientCache</code></a>, returning them as |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util"><code>Map</code></a> of the values associated with the set of keys requested.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>keys</code> - The keys whose associated values are to be returned.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>a Future representing pending completion of the operation, which wraps a map of entries that |
| were found for the given keys. Keys not found in the cache are not in the returned map.</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../../../../org/apache/ignite/client/ClientException.html" title="class in org.apache.ignite.client">ClientException</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="putAll-java.util.Map-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>putAll</h4> |
| <pre>void putAll(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><span class='angle_bracket'><</span>? extends <a href="../../../../org/apache/ignite/client/ClientCache.html" title="type parameter in ClientCache">K</a>,? extends <a href="../../../../org/apache/ignite/client/ClientCache.html" title="type parameter in ClientCache">V</a><span class='angle_bracket'>></span> map) |
| throws <a href="../../../../org/apache/ignite/client/ClientException.html" title="class in org.apache.ignite.client">ClientException</a></pre> |
| <div class="block">Copies all of the entries from the specified map to the <a href="../../../../org/apache/ignite/client/ClientCache.html" title="interface in org.apache.ignite.client"><code>ClientCache</code></a>. |
| <p> |
| The effect of this call is equivalent to that of calling |
| <a href="../../../../org/apache/ignite/client/ClientCache.html#put-K-V-"><code>put(k, v)</code></a> on this cache once for each mapping |
| from key <tt>k</tt> to value <tt>v</tt> in the specified map. |
| <p> |
| The order in which the individual puts occur is undefined. |
| <p> |
| The behavior of this operation is undefined if entries in the cache |
| corresponding to entries in the map are modified or removed while this |
| operation is in progress, or if map is modified while the operation is in progress. |
| <p></div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>map</code> - Mappings to be stored in this cache.</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../../../../org/apache/ignite/client/ClientException.html" title="class in org.apache.ignite.client">ClientException</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="putAllAsync-java.util.Map-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>putAllAsync</h4> |
| <pre><a href="../../../../org/apache/ignite/client/IgniteClientFuture.html" title="interface in org.apache.ignite.client">IgniteClientFuture</a><span class='angle_bracket'><</span><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Void.html?is-external=true" title="class or interface in java.lang">Void</a><span class='angle_bracket'>></span> putAllAsync(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><span class='angle_bracket'><</span>? extends <a href="../../../../org/apache/ignite/client/ClientCache.html" title="type parameter in ClientCache">K</a>,? extends <a href="../../../../org/apache/ignite/client/ClientCache.html" title="type parameter in ClientCache">V</a><span class='angle_bracket'>></span> map) |
| throws <a href="../../../../org/apache/ignite/client/ClientException.html" title="class in org.apache.ignite.client">ClientException</a></pre> |
| <div class="block">Copies all of the entries from the specified map to the <a href="../../../../org/apache/ignite/client/ClientCache.html" title="interface in org.apache.ignite.client"><code>ClientCache</code></a>. |
| <p> |
| The effect of this call is equivalent to that of calling |
| <a href="../../../../org/apache/ignite/client/ClientCache.html#put-K-V-"><code>put(k, v)</code></a> on this cache once for each mapping |
| from key <tt>k</tt> to value <tt>v</tt> in the specified map. |
| <p> |
| The order in which the individual puts occur is undefined. |
| <p> |
| The behavior of this operation is undefined if entries in the cache |
| corresponding to entries in the map are modified or removed while this |
| operation is in progress, or if map is modified while the operation is in progress. |
| <p></div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>map</code> - Mappings to be stored in this cache.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>a Future representing pending completion of the operation.</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../../../../org/apache/ignite/client/ClientException.html" title="class in org.apache.ignite.client">ClientException</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="replace-java.lang.Object-java.lang.Object-java.lang.Object-"> |
| <!-- --> |
| </a><a name="replace-K-V-V-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>replace</h4> |
| <pre>boolean replace(<a href="../../../../org/apache/ignite/client/ClientCache.html" title="type parameter in ClientCache">K</a> key, |
| <a href="../../../../org/apache/ignite/client/ClientCache.html" title="type parameter in ClientCache">V</a> oldVal, |
| <a href="../../../../org/apache/ignite/client/ClientCache.html" title="type parameter in ClientCache">V</a> newVal) |
| throws <a href="../../../../org/apache/ignite/client/ClientException.html" title="class in org.apache.ignite.client">ClientException</a></pre> |
| <div class="block">Atomically replaces the entry for a key only if currently mapped to a given value. |
| <p> |
| This is equivalent to performing the following operations as a single atomic action: |
| <pre><code> |
| if (cache.containsKey(key) && equals(cache.get(key), oldValue)) { |
| cache.put(key, newValue); |
| return true; |
| } else { |
| return false; |
| } |
| </code></pre></div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>key</code> - Key with which the specified value is associated.</dd> |
| <dd><code>oldVal</code> - Value expected to be associated with the specified key.</dd> |
| <dd><code>newVal</code> - Value to be associated with the specified key.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd><tt>true</tt> if the value was replaced</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../../../../org/apache/ignite/client/ClientException.html" title="class in org.apache.ignite.client">ClientException</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="replaceAsync-java.lang.Object-java.lang.Object-java.lang.Object-"> |
| <!-- --> |
| </a><a name="replaceAsync-K-V-V-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>replaceAsync</h4> |
| <pre><a href="../../../../org/apache/ignite/client/IgniteClientFuture.html" title="interface in org.apache.ignite.client">IgniteClientFuture</a><span class='angle_bracket'><</span><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a><span class='angle_bracket'>></span> replaceAsync(<a href="../../../../org/apache/ignite/client/ClientCache.html" title="type parameter in ClientCache">K</a> key, |
| <a href="../../../../org/apache/ignite/client/ClientCache.html" title="type parameter in ClientCache">V</a> oldVal, |
| <a href="../../../../org/apache/ignite/client/ClientCache.html" title="type parameter in ClientCache">V</a> newVal) |
| throws <a href="../../../../org/apache/ignite/client/ClientException.html" title="class in org.apache.ignite.client">ClientException</a></pre> |
| <div class="block">Atomically replaces the entry for a key only if currently mapped to a given value. |
| <p> |
| This is equivalent to performing the following operations as a single atomic action: |
| <pre><code> |
| if (cache.containsKey(key) && equals(cache.get(key), oldValue)) { |
| cache.put(key, newValue); |
| return true; |
| } else { |
| return false; |
| } |
| </code></pre></div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>key</code> - Key with which the specified value is associated.</dd> |
| <dd><code>oldVal</code> - Value expected to be associated with the specified key.</dd> |
| <dd><code>newVal</code> - Value to be associated with the specified key.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>a Future representing pending completion of the operation, which wraps a value indicating whether the |
| cache value was replaced.</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../../../../org/apache/ignite/client/ClientException.html" title="class in org.apache.ignite.client">ClientException</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="replace-java.lang.Object-java.lang.Object-"> |
| <!-- --> |
| </a><a name="replace-K-V-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>replace</h4> |
| <pre>boolean replace(<a href="../../../../org/apache/ignite/client/ClientCache.html" title="type parameter in ClientCache">K</a> key, |
| <a href="../../../../org/apache/ignite/client/ClientCache.html" title="type parameter in ClientCache">V</a> val) |
| throws <a href="../../../../org/apache/ignite/client/ClientException.html" title="class in org.apache.ignite.client">ClientException</a></pre> |
| <div class="block">Atomically replaces the entry for a key only if currently mapped to some |
| value. |
| <p> |
| This is equivalent to performing the following operations as a single atomic action: |
| <pre><code> |
| if (cache.containsKey(key)) { |
| cache.put(key, value); |
| return true; |
| } else { |
| return false; |
| }</code></pre></div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>key</code> - The key with which the specified value is associated.</dd> |
| <dd><code>val</code> - The value to be associated with the specified key.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd><tt>true</tt> if the value was replaced.</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../../../../org/apache/ignite/client/ClientException.html" title="class in org.apache.ignite.client">ClientException</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="replaceAsync-java.lang.Object-java.lang.Object-"> |
| <!-- --> |
| </a><a name="replaceAsync-K-V-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>replaceAsync</h4> |
| <pre><a href="../../../../org/apache/ignite/client/IgniteClientFuture.html" title="interface in org.apache.ignite.client">IgniteClientFuture</a><span class='angle_bracket'><</span><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a><span class='angle_bracket'>></span> replaceAsync(<a href="../../../../org/apache/ignite/client/ClientCache.html" title="type parameter in ClientCache">K</a> key, |
| <a href="../../../../org/apache/ignite/client/ClientCache.html" title="type parameter in ClientCache">V</a> val) |
| throws <a href="../../../../org/apache/ignite/client/ClientException.html" title="class in org.apache.ignite.client">ClientException</a></pre> |
| <div class="block">Atomically replaces the entry for a key only if currently mapped to some |
| value. |
| <p> |
| This is equivalent to performing the following operations as a single atomic action: |
| <pre><code> |
| if (cache.containsKey(key)) { |
| cache.put(key, value); |
| return true; |
| } else { |
| return false; |
| }</code></pre></div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>key</code> - The key with which the specified value is associated.</dd> |
| <dd><code>val</code> - The value to be associated with the specified key.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>a Future representing pending completion of the operation, which wraps a value indicating whether the |
| cache value was replaced.</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../../../../org/apache/ignite/client/ClientException.html" title="class in org.apache.ignite.client">ClientException</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="remove-java.lang.Object-"> |
| <!-- --> |
| </a><a name="remove-K-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>remove</h4> |
| <pre>boolean remove(<a href="../../../../org/apache/ignite/client/ClientCache.html" title="type parameter in ClientCache">K</a> key) |
| throws <a href="../../../../org/apache/ignite/client/ClientException.html" title="class in org.apache.ignite.client">ClientException</a></pre> |
| <div class="block">Removes the mapping for a key from this cache if it is present. |
| <p> |
| More formally, if this cache contains a mapping from key <tt>k</tt> to value <tt>v</tt> such that |
| <code>(key==null ? k==null : key.equals(k))</code>, that mapping is removed. |
| (The cache can contain at most one such mapping.) |
| |
| <p>Returns <tt>true</tt> if this cache previously associated the key, or <tt>false</tt> if the cache |
| contained no mapping for the key. |
| <p> |
| The cache will not contain a mapping for the specified key once the |
| call returns.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>key</code> - Key whose mapping is to be removed from the cache.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd><tt>false</tt> if there was no matching key.</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../../../../org/apache/ignite/client/ClientException.html" title="class in org.apache.ignite.client">ClientException</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="removeAsync-java.lang.Object-"> |
| <!-- --> |
| </a><a name="removeAsync-K-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>removeAsync</h4> |
| <pre><a href="../../../../org/apache/ignite/client/IgniteClientFuture.html" title="interface in org.apache.ignite.client">IgniteClientFuture</a><span class='angle_bracket'><</span><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a><span class='angle_bracket'>></span> removeAsync(<a href="../../../../org/apache/ignite/client/ClientCache.html" title="type parameter in ClientCache">K</a> key) |
| throws <a href="../../../../org/apache/ignite/client/ClientException.html" title="class in org.apache.ignite.client">ClientException</a></pre> |
| <div class="block">Removes the mapping for a key from this cache if it is present. |
| <p> |
| More formally, if this cache contains a mapping from key <tt>k</tt> to value <tt>v</tt> such that |
| <code>(key==null ? k==null : key.equals(k))</code>, that mapping is removed. |
| (The cache can contain at most one such mapping.) |
| |
| <p>Returns <tt>true</tt> if this cache previously associated the key, or <tt>false</tt> if the cache |
| contained no mapping for the key. |
| <p> |
| The cache will not contain a mapping for the specified key once the call returns.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>key</code> - Key whose mapping is to be removed from the cache.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>a Future representing pending completion of the operation, which wraps a value indicating whether the |
| cache value was removed.</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../../../../org/apache/ignite/client/ClientException.html" title="class in org.apache.ignite.client">ClientException</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="remove-java.lang.Object-java.lang.Object-"> |
| <!-- --> |
| </a><a name="remove-K-V-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>remove</h4> |
| <pre>boolean remove(<a href="../../../../org/apache/ignite/client/ClientCache.html" title="type parameter in ClientCache">K</a> key, |
| <a href="../../../../org/apache/ignite/client/ClientCache.html" title="type parameter in ClientCache">V</a> oldVal) |
| throws <a href="../../../../org/apache/ignite/client/ClientException.html" title="class in org.apache.ignite.client">ClientException</a></pre> |
| <div class="block">Atomically removes the mapping for a key only if currently mapped to the given value. |
| <p> |
| This is equivalent to performing the following operations as a single atomic action: |
| <pre><code> |
| if (cache.containsKey(key) && equals(cache.get(key), oldValue) { |
| cache.remove(key); |
| return true; |
| } else { |
| return false; |
| } |
| </code></pre></div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>key</code> - Key whose mapping is to be removed from the cache.</dd> |
| <dd><code>oldVal</code> - Value expected to be associated with the specified key.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd><tt>false</tt> if there was no matching key.</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../../../../org/apache/ignite/client/ClientException.html" title="class in org.apache.ignite.client">ClientException</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="removeAsync-java.lang.Object-java.lang.Object-"> |
| <!-- --> |
| </a><a name="removeAsync-K-V-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>removeAsync</h4> |
| <pre><a href="../../../../org/apache/ignite/client/IgniteClientFuture.html" title="interface in org.apache.ignite.client">IgniteClientFuture</a><span class='angle_bracket'><</span><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a><span class='angle_bracket'>></span> removeAsync(<a href="../../../../org/apache/ignite/client/ClientCache.html" title="type parameter in ClientCache">K</a> key, |
| <a href="../../../../org/apache/ignite/client/ClientCache.html" title="type parameter in ClientCache">V</a> oldVal) |
| throws <a href="../../../../org/apache/ignite/client/ClientException.html" title="class in org.apache.ignite.client">ClientException</a></pre> |
| <div class="block">Atomically removes the mapping for a key only if currently mapped to the given value. |
| <p> |
| This is equivalent to performing the following operations as a single atomic action: |
| <pre><code> |
| if (cache.containsKey(key) && equals(cache.get(key), oldValue) { |
| cache.remove(key); |
| return true; |
| } else { |
| return false; |
| } |
| </code></pre></div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>key</code> - Key whose mapping is to be removed from the cache.</dd> |
| <dd><code>oldVal</code> - Value expected to be associated with the specified key.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>a Future representing pending completion of the operation, which wraps a value indicating whether the |
| cache value was removed.</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../../../../org/apache/ignite/client/ClientException.html" title="class in org.apache.ignite.client">ClientException</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="removeAll-java.util.Set-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>removeAll</h4> |
| <pre>void removeAll(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a><span class='angle_bracket'><</span>? extends <a href="../../../../org/apache/ignite/client/ClientCache.html" title="type parameter in ClientCache">K</a><span class='angle_bracket'>></span> keys) |
| throws <a href="../../../../org/apache/ignite/client/ClientException.html" title="class in org.apache.ignite.client">ClientException</a></pre> |
| <div class="block">Removes entries for the specified keys. |
| <p> |
| The order in which the individual entries are removed is undefined.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>keys</code> - The keys to remove.</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../../../../org/apache/ignite/client/ClientException.html" title="class in org.apache.ignite.client">ClientException</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="removeAllAsync-java.util.Set-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>removeAllAsync</h4> |
| <pre><a href="../../../../org/apache/ignite/client/IgniteClientFuture.html" title="interface in org.apache.ignite.client">IgniteClientFuture</a><span class='angle_bracket'><</span><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Void.html?is-external=true" title="class or interface in java.lang">Void</a><span class='angle_bracket'>></span> removeAllAsync(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a><span class='angle_bracket'><</span>? extends <a href="../../../../org/apache/ignite/client/ClientCache.html" title="type parameter in ClientCache">K</a><span class='angle_bracket'>></span> keys) |
| throws <a href="../../../../org/apache/ignite/client/ClientException.html" title="class in org.apache.ignite.client">ClientException</a></pre> |
| <div class="block">Removes entries for the specified keys. |
| <p> |
| The order in which the individual entries are removed is undefined.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>keys</code> - The keys to remove.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>a Future representing pending completion of the operation.</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../../../../org/apache/ignite/client/ClientException.html" title="class in org.apache.ignite.client">ClientException</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="removeAll--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>removeAll</h4> |
| <pre>void removeAll() |
| throws <a href="../../../../org/apache/ignite/client/ClientException.html" title="class in org.apache.ignite.client">ClientException</a></pre> |
| <div class="block">Removes all of the mappings from this cache. |
| <p> |
| The order that the individual entries are removed is undefined. |
| <p> |
| This operation is not transactional. It calls broadcast closure that |
| deletes all primary keys from remote nodes. |
| <p> |
| This is potentially an expensive operation as listeners are invoked. |
| Use <a href="../../../../org/apache/ignite/client/ClientCache.html#clear--"><code>clear()</code></a> to avoid this.</div> |
| <dl> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../../../../org/apache/ignite/client/ClientException.html" title="class in org.apache.ignite.client">ClientException</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="removeAllAsync--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>removeAllAsync</h4> |
| <pre><a href="../../../../org/apache/ignite/client/IgniteClientFuture.html" title="interface in org.apache.ignite.client">IgniteClientFuture</a><span class='angle_bracket'><</span><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Void.html?is-external=true" title="class or interface in java.lang">Void</a><span class='angle_bracket'>></span> removeAllAsync() |
| throws <a href="../../../../org/apache/ignite/client/ClientException.html" title="class in org.apache.ignite.client">ClientException</a></pre> |
| <div class="block">Removes all of the mappings from this cache. |
| <p> |
| The order that the individual entries are removed is undefined. |
| <p> |
| This operation is not transactional. It calls broadcast closure that |
| deletes all primary keys from remote nodes. |
| <p> |
| This is potentially an expensive operation as listeners are invoked. |
| Use <a href="../../../../org/apache/ignite/client/ClientCache.html#clear--"><code>clear()</code></a> to avoid this.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>a Future representing pending completion of the operation.</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../../../../org/apache/ignite/client/ClientException.html" title="class in org.apache.ignite.client">ClientException</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getAndPut-java.lang.Object-java.lang.Object-"> |
| <!-- --> |
| </a><a name="getAndPut-K-V-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getAndPut</h4> |
| <pre><a href="../../../../org/apache/ignite/client/ClientCache.html" title="type parameter in ClientCache">V</a> getAndPut(<a href="../../../../org/apache/ignite/client/ClientCache.html" title="type parameter in ClientCache">K</a> key, |
| <a href="../../../../org/apache/ignite/client/ClientCache.html" title="type parameter in ClientCache">V</a> val) |
| throws <a href="../../../../org/apache/ignite/client/ClientException.html" title="class in org.apache.ignite.client">ClientException</a></pre> |
| <div class="block">Associates the specified value with the specified key in this cache, returning an existing value if one existed. |
| <p> |
| If the cache previously contained a mapping for |
| the key, the old value is replaced by the specified value. (A cache |
| <tt>c</tt> is said to contain a mapping for a key <tt>k</tt> if and only |
| if <a href="../../../../org/apache/ignite/client/ClientCache.html#containsKey-K-"><code>c.containsKey(k)</code></a> would return |
| <tt>true</tt>.) |
| <p> |
| The previous value is returned, or null if there was no value associated |
| with the key previously.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>key</code> - Key with which the specified value is to be associated.</dd> |
| <dd><code>val</code> - Value to be associated with the specified key.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>The value associated with the key at the start of the operation or |
| null if none was associated.</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../../../../org/apache/ignite/client/ClientException.html" title="class in org.apache.ignite.client">ClientException</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getAndPutAsync-java.lang.Object-java.lang.Object-"> |
| <!-- --> |
| </a><a name="getAndPutAsync-K-V-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getAndPutAsync</h4> |
| <pre><a href="../../../../org/apache/ignite/client/IgniteClientFuture.html" title="interface in org.apache.ignite.client">IgniteClientFuture</a><span class='angle_bracket'><</span><a href="../../../../org/apache/ignite/client/ClientCache.html" title="type parameter in ClientCache">V</a><span class='angle_bracket'>></span> getAndPutAsync(<a href="../../../../org/apache/ignite/client/ClientCache.html" title="type parameter in ClientCache">K</a> key, |
| <a href="../../../../org/apache/ignite/client/ClientCache.html" title="type parameter in ClientCache">V</a> val) |
| throws <a href="../../../../org/apache/ignite/client/ClientException.html" title="class in org.apache.ignite.client">ClientException</a></pre> |
| <div class="block">Associates the specified value with the specified key in this cache, returning an existing value if one existed. |
| <p> |
| If the cache previously contained a mapping for |
| the key, the old value is replaced by the specified value. (A cache |
| <tt>c</tt> is said to contain a mapping for a key <tt>k</tt> if and only |
| if <a href="../../../../org/apache/ignite/client/ClientCache.html#containsKey-K-"><code>c.containsKey(k)</code></a> would return |
| <tt>true</tt>.) |
| <p> |
| The previous value is returned, or null if there was no value associated |
| with the key previously.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>key</code> - Key with which the specified value is to be associated.</dd> |
| <dd><code>val</code> - Value to be associated with the specified key.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>a Future representing pending completion of the operation, which wraps the value associated with the |
| key at the start of the operation or null if none was associated.</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../../../../org/apache/ignite/client/ClientException.html" title="class in org.apache.ignite.client">ClientException</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getAndRemove-java.lang.Object-"> |
| <!-- --> |
| </a><a name="getAndRemove-K-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getAndRemove</h4> |
| <pre><a href="../../../../org/apache/ignite/client/ClientCache.html" title="type parameter in ClientCache">V</a> getAndRemove(<a href="../../../../org/apache/ignite/client/ClientCache.html" title="type parameter in ClientCache">K</a> key) |
| throws <a href="../../../../org/apache/ignite/client/ClientException.html" title="class in org.apache.ignite.client">ClientException</a></pre> |
| <div class="block">Atomically removes the entry for a key only if currently mapped to some value. |
| <p> |
| This is equivalent to performing the following operations as a single atomic action: |
| <pre><code> |
| if (cache.containsKey(key)) { |
| V oldValue = cache.get(key); |
| cache.remove(key); |
| return oldValue; |
| } else { |
| return null; |
| } |
| </code></pre></div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>key</code> - Key with which the specified value is associated.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>The value if one existed or null if no mapping existed for this key.</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../../../../org/apache/ignite/client/ClientException.html" title="class in org.apache.ignite.client">ClientException</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getAndRemoveAsync-java.lang.Object-"> |
| <!-- --> |
| </a><a name="getAndRemoveAsync-K-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getAndRemoveAsync</h4> |
| <pre><a href="../../../../org/apache/ignite/client/IgniteClientFuture.html" title="interface in org.apache.ignite.client">IgniteClientFuture</a><span class='angle_bracket'><</span><a href="../../../../org/apache/ignite/client/ClientCache.html" title="type parameter in ClientCache">V</a><span class='angle_bracket'>></span> getAndRemoveAsync(<a href="../../../../org/apache/ignite/client/ClientCache.html" title="type parameter in ClientCache">K</a> key) |
| throws <a href="../../../../org/apache/ignite/client/ClientException.html" title="class in org.apache.ignite.client">ClientException</a></pre> |
| <div class="block">Atomically removes the entry for a key only if currently mapped to some value. |
| <p> |
| This is equivalent to performing the following operations as a single atomic action: |
| <pre><code> |
| if (cache.containsKey(key)) { |
| V oldValue = cache.get(key); |
| cache.remove(key); |
| return oldValue; |
| } else { |
| return null; |
| } |
| </code></pre></div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>key</code> - Key with which the specified value is associated.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>a Future representing pending completion of the operation, which wraps the value if one existed or null |
| if no mapping existed for this key.</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../../../../org/apache/ignite/client/ClientException.html" title="class in org.apache.ignite.client">ClientException</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getAndReplace-java.lang.Object-java.lang.Object-"> |
| <!-- --> |
| </a><a name="getAndReplace-K-V-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getAndReplace</h4> |
| <pre><a href="../../../../org/apache/ignite/client/ClientCache.html" title="type parameter in ClientCache">V</a> getAndReplace(<a href="../../../../org/apache/ignite/client/ClientCache.html" title="type parameter in ClientCache">K</a> key, |
| <a href="../../../../org/apache/ignite/client/ClientCache.html" title="type parameter in ClientCache">V</a> val) |
| throws <a href="../../../../org/apache/ignite/client/ClientException.html" title="class in org.apache.ignite.client">ClientException</a></pre> |
| <div class="block">Atomically replaces the value for a given key if and only if there is a value currently mapped by the key. |
| <p> |
| This is equivalent to performing the following operations as a single atomic action: |
| <pre><code> |
| if (cache.containsKey(key)) { |
| V oldValue = cache.get(key); |
| cache.put(key, value); |
| return oldValue; |
| } else { |
| return null; |
| } |
| </code></pre></div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>key</code> - Key with which the specified value is associated.</dd> |
| <dd><code>val</code> - Value to be associated with the specified key.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>The previous value associated with the specified key, or |
| <tt>null</tt> if there was no mapping for the key.</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../../../../org/apache/ignite/client/ClientException.html" title="class in org.apache.ignite.client">ClientException</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getAndReplaceAsync-java.lang.Object-java.lang.Object-"> |
| <!-- --> |
| </a><a name="getAndReplaceAsync-K-V-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getAndReplaceAsync</h4> |
| <pre><a href="../../../../org/apache/ignite/client/IgniteClientFuture.html" title="interface in org.apache.ignite.client">IgniteClientFuture</a><span class='angle_bracket'><</span><a href="../../../../org/apache/ignite/client/ClientCache.html" title="type parameter in ClientCache">V</a><span class='angle_bracket'>></span> getAndReplaceAsync(<a href="../../../../org/apache/ignite/client/ClientCache.html" title="type parameter in ClientCache">K</a> key, |
| <a href="../../../../org/apache/ignite/client/ClientCache.html" title="type parameter in ClientCache">V</a> val) |
| throws <a href="../../../../org/apache/ignite/client/ClientException.html" title="class in org.apache.ignite.client">ClientException</a></pre> |
| <div class="block">Atomically replaces the value for a given key if and only if there is a value currently mapped by the key. |
| <p> |
| This is equivalent to performing the following operations as a single atomic action: |
| <pre><code> |
| if (cache.containsKey(key)) { |
| V oldValue = cache.get(key); |
| cache.put(key, value); |
| return oldValue; |
| } else { |
| return null; |
| } |
| </code></pre></div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>key</code> - Key with which the specified value is associated.</dd> |
| <dd><code>val</code> - Value to be associated with the specified key.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>a Future representing pending completion of the operation, which wraps the previous value associated |
| with the specified key, or <tt>null</tt> if there was no mapping for the key.</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../../../../org/apache/ignite/client/ClientException.html" title="class in org.apache.ignite.client">ClientException</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="putIfAbsent-java.lang.Object-java.lang.Object-"> |
| <!-- --> |
| </a><a name="putIfAbsent-K-V-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>putIfAbsent</h4> |
| <pre>boolean putIfAbsent(<a href="../../../../org/apache/ignite/client/ClientCache.html" title="type parameter in ClientCache">K</a> key, |
| <a href="../../../../org/apache/ignite/client/ClientCache.html" title="type parameter in ClientCache">V</a> val) |
| throws <a href="../../../../org/apache/ignite/client/ClientException.html" title="class in org.apache.ignite.client">ClientException</a></pre> |
| <div class="block">Atomically associates the specified key with the given value if it is not already associated with a value. |
| <p> |
| This is equivalent to performing the following operations as a single atomic action: |
| <pre><code> |
| if (!cache.containsKey(key)) { |
| cache.put(key, value); |
| return true; |
| } else { |
| return false; |
| } |
| </code></pre></div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>key</code> - Key with which the specified value is to be associated.</dd> |
| <dd><code>val</code> - Value to be associated with the specified key.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd><tt>true</tt> if a value was set.</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../../../../org/apache/ignite/client/ClientException.html" title="class in org.apache.ignite.client">ClientException</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="putIfAbsentAsync-java.lang.Object-java.lang.Object-"> |
| <!-- --> |
| </a><a name="putIfAbsentAsync-K-V-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>putIfAbsentAsync</h4> |
| <pre><a href="../../../../org/apache/ignite/client/IgniteClientFuture.html" title="interface in org.apache.ignite.client">IgniteClientFuture</a><span class='angle_bracket'><</span><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a><span class='angle_bracket'>></span> putIfAbsentAsync(<a href="../../../../org/apache/ignite/client/ClientCache.html" title="type parameter in ClientCache">K</a> key, |
| <a href="../../../../org/apache/ignite/client/ClientCache.html" title="type parameter in ClientCache">V</a> val) |
| throws <a href="../../../../org/apache/ignite/client/ClientException.html" title="class in org.apache.ignite.client">ClientException</a></pre> |
| <div class="block">Atomically associates the specified key with the given value if it is not already associated with a value. |
| <p> |
| This is equivalent to performing the following operations as a single atomic action: |
| <pre><code> |
| if (!cache.containsKey(key)) { |
| cache.put(key, value); |
| return true; |
| } else { |
| return false; |
| } |
| </code></pre></div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>key</code> - Key with which the specified value is to be associated.</dd> |
| <dd><code>val</code> - Value to be associated with the specified key.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>a Future representing pending completion of the operation, which wraps the value indicating whether |
| a value was set.</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../../../../org/apache/ignite/client/ClientException.html" title="class in org.apache.ignite.client">ClientException</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getAndPutIfAbsent-java.lang.Object-java.lang.Object-"> |
| <!-- --> |
| </a><a name="getAndPutIfAbsent-K-V-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getAndPutIfAbsent</h4> |
| <pre><a href="../../../../org/apache/ignite/client/ClientCache.html" title="type parameter in ClientCache">V</a> getAndPutIfAbsent(<a href="../../../../org/apache/ignite/client/ClientCache.html" title="type parameter in ClientCache">K</a> key, |
| <a href="../../../../org/apache/ignite/client/ClientCache.html" title="type parameter in ClientCache">V</a> val) |
| throws <a href="../../../../org/apache/ignite/client/ClientException.html" title="class in org.apache.ignite.client">ClientException</a></pre> |
| <div class="block">Atomically associates the specified key with the given value if it is not already associated with a value. |
| <p> |
| This is equivalent to performing the following operations as a single atomic action: |
| <pre><code> |
| if (!cache.containsKey(key)) { |
| cache.put(key, value); |
| return null; |
| } else { |
| return cache.get(key); |
| } |
| </code></pre></div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>key</code> - Key with which the specified value is to be associated.</dd> |
| <dd><code>val</code> - Value to be associated with the specified key.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>Value that is already associated with the specified key, or <code>null</code> if no value was associated |
| with the specified key and a value was set.</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../../../../org/apache/ignite/client/ClientException.html" title="class in org.apache.ignite.client">ClientException</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getAndPutIfAbsentAsync-java.lang.Object-java.lang.Object-"> |
| <!-- --> |
| </a><a name="getAndPutIfAbsentAsync-K-V-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getAndPutIfAbsentAsync</h4> |
| <pre><a href="../../../../org/apache/ignite/client/IgniteClientFuture.html" title="interface in org.apache.ignite.client">IgniteClientFuture</a><span class='angle_bracket'><</span><a href="../../../../org/apache/ignite/client/ClientCache.html" title="type parameter in ClientCache">V</a><span class='angle_bracket'>></span> getAndPutIfAbsentAsync(<a href="../../../../org/apache/ignite/client/ClientCache.html" title="type parameter in ClientCache">K</a> key, |
| <a href="../../../../org/apache/ignite/client/ClientCache.html" title="type parameter in ClientCache">V</a> val) |
| throws <a href="../../../../org/apache/ignite/client/ClientException.html" title="class in org.apache.ignite.client">ClientException</a></pre> |
| <div class="block">Atomically associates the specified key with the given value if it is not already associated with a value. |
| <p> |
| This is equivalent to performing the following operations as a single atomic action: |
| <pre><code> |
| if (!cache.containsKey(key)) { |
| cache.put(key, value); |
| return null; |
| } else { |
| return cache.get(key); |
| } |
| </code></pre></div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>key</code> - Key with which the specified value is to be associated.</dd> |
| <dd><code>val</code> - Value to be associated with the specified key.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>Future representing pending completion of the operation, which wraps the value that is already |
| associated with the specified key, or <code>null</code> if no value was associated with the specified key and a |
| value was set.</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../../../../org/apache/ignite/client/ClientException.html" title="class in org.apache.ignite.client">ClientException</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="clear--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>clear</h4> |
| <pre>void clear() |
| throws <a href="../../../../org/apache/ignite/client/ClientException.html" title="class in org.apache.ignite.client">ClientException</a></pre> |
| <div class="block">Clears the contents of the cache. |
| In contrast to <a href="../../../../org/apache/ignite/client/ClientCache.html#removeAll--"><code>removeAll()</code></a>, this method does not notify event listeners and cache writers.</div> |
| <dl> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../../../../org/apache/ignite/client/ClientException.html" title="class in org.apache.ignite.client">ClientException</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="clearAsync--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>clearAsync</h4> |
| <pre><a href="../../../../org/apache/ignite/client/IgniteClientFuture.html" title="interface in org.apache.ignite.client">IgniteClientFuture</a><span class='angle_bracket'><</span><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Void.html?is-external=true" title="class or interface in java.lang">Void</a><span class='angle_bracket'>></span> clearAsync() |
| throws <a href="../../../../org/apache/ignite/client/ClientException.html" title="class in org.apache.ignite.client">ClientException</a></pre> |
| <div class="block">Clears the contents of the cache asynchronously. |
| In contrast to <a href="../../../../org/apache/ignite/client/ClientCache.html#removeAll--"><code>removeAll()</code></a>, this method does not notify event listeners and cache writers.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>a Future representing pending completion of the operation.</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../../../../org/apache/ignite/client/ClientException.html" title="class in org.apache.ignite.client">ClientException</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="clear-java.lang.Object-"> |
| <!-- --> |
| </a><a name="clear-K-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>clear</h4> |
| <pre>void clear(<a href="../../../../org/apache/ignite/client/ClientCache.html" title="type parameter in ClientCache">K</a> key) |
| throws <a href="../../../../org/apache/ignite/client/ClientException.html" title="class in org.apache.ignite.client">ClientException</a></pre> |
| <div class="block">Clears entry with specified key from the cache. |
| In contrast to <a href="../../../../org/apache/ignite/client/ClientCache.html#remove-K-"><code>remove(Object)</code></a>, this method does not notify event listeners and cache writers.</div> |
| <dl> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../../../../org/apache/ignite/client/ClientException.html" title="class in org.apache.ignite.client">ClientException</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="clearAsync-java.lang.Object-"> |
| <!-- --> |
| </a><a name="clearAsync-K-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>clearAsync</h4> |
| <pre><a href="../../../../org/apache/ignite/client/IgniteClientFuture.html" title="interface in org.apache.ignite.client">IgniteClientFuture</a><span class='angle_bracket'><</span><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Void.html?is-external=true" title="class or interface in java.lang">Void</a><span class='angle_bracket'>></span> clearAsync(<a href="../../../../org/apache/ignite/client/ClientCache.html" title="type parameter in ClientCache">K</a> key) |
| throws <a href="../../../../org/apache/ignite/client/ClientException.html" title="class in org.apache.ignite.client">ClientException</a></pre> |
| <div class="block">Clears entry with specified key from the cache asynchronously. |
| In contrast to <a href="../../../../org/apache/ignite/client/ClientCache.html#removeAsync-K-"><code>removeAsync(Object)</code></a>, this method does not notify event listeners and cache writers.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>Future representing pending completion of the operation.</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../../../../org/apache/ignite/client/ClientException.html" title="class in org.apache.ignite.client">ClientException</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="clearAll-java.util.Set-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>clearAll</h4> |
| <pre>void clearAll(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a><span class='angle_bracket'><</span>? extends <a href="../../../../org/apache/ignite/client/ClientCache.html" title="type parameter in ClientCache">K</a><span class='angle_bracket'>></span> keys) |
| throws <a href="../../../../org/apache/ignite/client/ClientException.html" title="class in org.apache.ignite.client">ClientException</a></pre> |
| <div class="block">Clears entries with specified keys from the cache. |
| In contrast to <a href="../../../../org/apache/ignite/client/ClientCache.html#removeAll-java.util.Set-"><code>removeAll(Set)</code></a>, this method does not notify event listeners and cache writers.</div> |
| <dl> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../../../../org/apache/ignite/client/ClientException.html" title="class in org.apache.ignite.client">ClientException</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="clearAllAsync-java.util.Set-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>clearAllAsync</h4> |
| <pre><a href="../../../../org/apache/ignite/client/IgniteClientFuture.html" title="interface in org.apache.ignite.client">IgniteClientFuture</a><span class='angle_bracket'><</span><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Void.html?is-external=true" title="class or interface in java.lang">Void</a><span class='angle_bracket'>></span> clearAllAsync(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a><span class='angle_bracket'><</span>? extends <a href="../../../../org/apache/ignite/client/ClientCache.html" title="type parameter in ClientCache">K</a><span class='angle_bracket'>></span> keys) |
| throws <a href="../../../../org/apache/ignite/client/ClientException.html" title="class in org.apache.ignite.client">ClientException</a></pre> |
| <div class="block">Clears entries with specified keys from the cache asynchronously. |
| In contrast to <a href="../../../../org/apache/ignite/client/ClientCache.html#removeAllAsync-java.util.Set-"><code>removeAllAsync(Set)</code></a>, this method does not notify event listeners and cache writers.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>Future representing pending completion of the operation.</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../../../../org/apache/ignite/client/ClientException.html" title="class in org.apache.ignite.client">ClientException</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="withKeepBinary--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>withKeepBinary</h4> |
| <pre><span class='angle_bracket'><</span>K1,V1<span class='angle_bracket'>></span> <a href="../../../../org/apache/ignite/client/ClientCache.html" title="interface in org.apache.ignite.client">ClientCache</a><span class='angle_bracket'><</span>K1,V1<span class='angle_bracket'>></span> withKeepBinary()</pre> |
| <div class="block">Returns cache that will operate with binary objects. |
| <p> |
| Cache returned by this method will not be forced to deserialize binary objects, |
| so keys and values will be returned from cache API methods without changes. Therefore, |
| signature of the cache can contain only following types: |
| <ul> |
| <li><code>org.apache.ignite.binary.BinaryObject</code> for binary classes</li> |
| <li>All primitives (byte, int, ...) and there boxed versions (Byte, Integer, ...)</li> |
| <li>Arrays of primitives (byte[], int[], ...)</li> |
| <li><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang"><code>String</code></a> and array of <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang"><code>String</code></a>s</li> |
| <li><a href="https://docs.oracle.com/javase/8/docs/api/java/util/UUID.html?is-external=true" title="class or interface in java.util"><code>UUID</code></a> and array of <a href="https://docs.oracle.com/javase/8/docs/api/java/util/UUID.html?is-external=true" title="class or interface in java.util"><code>UUID</code></a>s</li> |
| <li><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Date.html?is-external=true" title="class or interface in java.util"><code>Date</code></a> and array of <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Date.html?is-external=true" title="class or interface in java.util"><code>Date</code></a>s</li> |
| <li><a href="https://docs.oracle.com/javase/8/docs/api/java/sql/Timestamp.html?is-external=true" title="class or interface in java.sql"><code>Timestamp</code></a> and array of <a href="https://docs.oracle.com/javase/8/docs/api/java/sql/Timestamp.html?is-external=true" title="class or interface in java.sql"><code>Timestamp</code></a>s</li> |
| <li>Enums and array of enums</li> |
| <li> |
| Maps, collections and array of objects (but objects inside |
| them will still be converted if they are binary) |
| </li> |
| </ul> |
| <p> |
| For example, if you use <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang"><code>Integer</code></a> as a key and <code>Value</code> class as a value |
| (which will be stored in binary format), you should acquire following projection |
| to avoid deserialization: |
| <pre> |
| CacheClient<Integer, BinaryObject> prj = cache.withKeepBinary(); |
| |
| // Value is not deserialized and returned in binary format. |
| BinaryObject po = prj.get(1); |
| </pre> |
| <p> |
| Note that this method makes sense only if cache is working in binary mode |
| if default marshaller is used. |
| If not, this method is no-op and will return current cache.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>New cache instance for binary objects.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="withExpirePolicy-javax.cache.expiry.ExpiryPolicy-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>withExpirePolicy</h4> |
| <pre><span class='angle_bracket'><</span>K1,V1<span class='angle_bracket'>></span> <a href="../../../../org/apache/ignite/client/ClientCache.html" title="interface in org.apache.ignite.client">ClientCache</a><span class='angle_bracket'><</span>K1,V1<span class='angle_bracket'>></span> withExpirePolicy(javax.cache.expiry.ExpiryPolicy expirePlc)</pre> |
| <div class="block">Returns cache with the specified expired policy set. This policy will be used for each operation invoked on |
| the returned cache.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>Cache instance with the specified expiry policy set.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="query-org.apache.ignite.cache.query.Query-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>query</h4> |
| <pre><span class='angle_bracket'><</span>R<span class='angle_bracket'>></span> <a href="../../../../org/apache/ignite/cache/query/QueryCursor.html" title="interface in org.apache.ignite.cache.query">QueryCursor</a><span class='angle_bracket'><</span>R<span class='angle_bracket'>></span> query(<a href="../../../../org/apache/ignite/cache/query/Query.html" title="class in org.apache.ignite.cache.query">Query</a><span class='angle_bracket'><</span>R<span class='angle_bracket'>></span> qry)</pre> |
| <div class="block">Queries cache. Supports <a href="../../../../org/apache/ignite/cache/query/ScanQuery.html" title="class in org.apache.ignite.cache.query"><code>ScanQuery</code></a>, <a href="../../../../org/apache/ignite/cache/query/SqlFieldsQuery.html" title="class in org.apache.ignite.cache.query"><code>SqlFieldsQuery</code></a> and <a href="../../../../org/apache/ignite/cache/query/ContinuousQuery.html" title="class in org.apache.ignite.cache.query"><code>ContinuousQuery</code></a>. |
| <p> |
| NOTE: For continuous query listeners there is no failover in case of client channel failure, this event should |
| be handled on the user's side. Use <a href="../../../../org/apache/ignite/client/ClientCache.html#query-org.apache.ignite.cache.query.ContinuousQuery-org.apache.ignite.client.ClientDisconnectListener-"><code>query(ContinuousQuery, ClientDisconnectListener)</code></a> method to get |
| notified about client disconnected event via <a href="../../../../org/apache/ignite/client/ClientDisconnectListener.html" title="interface in org.apache.ignite.client"><code>ClientDisconnectListener</code></a> interface if you need it.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>qry</code> - Query.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>Cursor.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="query-org.apache.ignite.cache.query.ContinuousQuery-org.apache.ignite.client.ClientDisconnectListener-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>query</h4> |
| <pre><span class='angle_bracket'><</span>R<span class='angle_bracket'>></span> <a href="../../../../org/apache/ignite/cache/query/QueryCursor.html" title="interface in org.apache.ignite.cache.query">QueryCursor</a><span class='angle_bracket'><</span>R<span class='angle_bracket'>></span> query(<a href="../../../../org/apache/ignite/cache/query/ContinuousQuery.html" title="class in org.apache.ignite.cache.query">ContinuousQuery</a><span class='angle_bracket'><</span><a href="../../../../org/apache/ignite/client/ClientCache.html" title="type parameter in ClientCache">K</a>,<a href="../../../../org/apache/ignite/client/ClientCache.html" title="type parameter in ClientCache">V</a><span class='angle_bracket'>></span> qry, |
| <a href="../../../../org/apache/ignite/client/ClientDisconnectListener.html" title="interface in org.apache.ignite.client">ClientDisconnectListener</a> disconnectListener)</pre> |
| <div class="block">Start <a href="../../../../org/apache/ignite/cache/query/ContinuousQuery.html" title="class in org.apache.ignite.cache.query"><code>ContinuousQuery</code></a> on the cache. |
| <p> |
| NOTE: There is no failover in case of client channel failure, this event should be handled on the user's side. |
| Use <code>disconnectListener</code> to handle this.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>qry</code> - Query.</dd> |
| <dd><code>disconnectListener</code> - Listener of client disconnected event.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>Cursor.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="query-org.apache.ignite.cache.query.SqlFieldsQuery-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>query</h4> |
| <pre><a href="../../../../org/apache/ignite/cache/query/FieldsQueryCursor.html" title="interface in org.apache.ignite.cache.query">FieldsQueryCursor</a><span class='angle_bracket'><</span><a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><span class='angle_bracket'><</span>?<span class='angle_bracket'>></span><span class='angle_bracket'>></span> query(<a href="../../../../org/apache/ignite/cache/query/SqlFieldsQuery.html" title="class in org.apache.ignite.cache.query">SqlFieldsQuery</a> qry)</pre> |
| <div class="block">Convenience method to execute <a href="../../../../org/apache/ignite/cache/query/SqlFieldsQuery.html" title="class in org.apache.ignite.cache.query"><code>SqlFieldsQuery</code></a>.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>qry</code> - Query.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>Cursor.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="registerCacheEntryListener-javax.cache.configuration.CacheEntryListenerConfiguration-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>registerCacheEntryListener</h4> |
| <pre>void registerCacheEntryListener(javax.cache.configuration.CacheEntryListenerConfiguration<span class='angle_bracket'><</span><a href="../../../../org/apache/ignite/client/ClientCache.html" title="type parameter in ClientCache">K</a>,<a href="../../../../org/apache/ignite/client/ClientCache.html" title="type parameter in ClientCache">V</a><span class='angle_bracket'>></span> cacheEntryListenerConfiguration)</pre> |
| <div class="block">Registers a <code>CacheEntryListener</code>. The supplied <code>CacheEntryListenerConfiguration</code> is used to |
| instantiate a listener and apply it to those events specified in the configuration. |
| <p> |
| NOTE: There is no failover in case of client channel failure, this event should be handled on the user's side. |
| Use <a href="../../../../org/apache/ignite/client/ClientCache.html#registerCacheEntryListener-javax.cache.configuration.CacheEntryListenerConfiguration-org.apache.ignite.client.ClientDisconnectListener-"><code>registerCacheEntryListener(CacheEntryListenerConfiguration, ClientDisconnectListener)</code></a> method to get |
| notified about client disconnected event via <a href="../../../../org/apache/ignite/client/ClientDisconnectListener.html" title="interface in org.apache.ignite.client"><code>ClientDisconnectListener</code></a> interface if you need it.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>cacheEntryListenerConfiguration</code> - a factory and related configuration for creating the listener.</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</a></code> - is the same CacheEntryListenerConfiguration is used more than once or |
| if some unsupported by thin client properties are set.</dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><code>CacheEntryListener</code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="registerCacheEntryListener-javax.cache.configuration.CacheEntryListenerConfiguration-org.apache.ignite.client.ClientDisconnectListener-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>registerCacheEntryListener</h4> |
| <pre>void registerCacheEntryListener(javax.cache.configuration.CacheEntryListenerConfiguration<span class='angle_bracket'><</span><a href="../../../../org/apache/ignite/client/ClientCache.html" title="type parameter in ClientCache">K</a>,<a href="../../../../org/apache/ignite/client/ClientCache.html" title="type parameter in ClientCache">V</a><span class='angle_bracket'>></span> cacheEntryListenerConfiguration, |
| <a href="../../../../org/apache/ignite/client/ClientDisconnectListener.html" title="interface in org.apache.ignite.client">ClientDisconnectListener</a> disconnectListener)</pre> |
| <div class="block">Registers a <code>CacheEntryListener</code>. The supplied <code>CacheEntryListenerConfiguration</code> is used to |
| instantiate a listener and apply it to those events specified in the configuration. |
| <p> |
| NOTE: There is no failover in case of client channel failure, this event should be handled on the user's side. |
| Use <code>disconnectListener</code> to handle this.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>cacheEntryListenerConfiguration</code> - a factory and related configuration for creating the listener.</dd> |
| <dd><code>disconnectListener</code> - Listener of client disconnected event.</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</a></code> - is the same CacheEntryListenerConfiguration is used more than once or |
| if some unsupported by thin client properties are set.</dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><code>CacheEntryListener</code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="deregisterCacheEntryListener-javax.cache.configuration.CacheEntryListenerConfiguration-"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>deregisterCacheEntryListener</h4> |
| <pre>void deregisterCacheEntryListener(javax.cache.configuration.CacheEntryListenerConfiguration<span class='angle_bracket'><</span><a href="../../../../org/apache/ignite/client/ClientCache.html" title="type parameter in ClientCache">K</a>,<a href="../../../../org/apache/ignite/client/ClientCache.html" title="type parameter in ClientCache">V</a><span class='angle_bracket'>></span> cacheEntryListenerConfiguration)</pre> |
| <div class="block">Deregisters a listener, using the <code>CacheEntryListenerConfiguration</code> that was used to register it.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>cacheEntryListenerConfiguration</code> - the factory and related configuration that was used to create the |
| listener.</dd> |
| </dl> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </div> |
| </div> |
| <!-- ========= END OF CLASS DATA ========= --> |
| <!-- ======= START OF BOTTOM NAVBAR ====== --> |
| <div class="bottomNav"><a name="navbar.bottom"> |
| <!-- --> |
| </a> |
| <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> |
| <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/ClientCache.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/ignite/client/ClientAuthorizationException.html" title="class in org.apache.ignite.client"><span class="typeNameLink">Prev Class</span></a></li> |
| <li><a href="../../../../org/apache/ignite/client/ClientCacheConfiguration.html" title="class in org.apache.ignite.client"><span class="typeNameLink">Next Class</span></a></li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../index.html?org/apache/ignite/client/ClientCache.html" target="_top">Frames</a></li> |
| <li><a href="ClientCache.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><table width="100%" border="0" cellspacing=0 cellpadding=0 style="padding: 5px"> <tr> <td> <table style="padding-left: 0; margin: 0"> <tbody style="padding: 0; margin: 0"> <tr style="padding: 0; margin: 0"> <td> <a target=_blank href="https://ignite.apache.org"><nobr>2021 Copyright © Apache Software Foundation</nobr></a> </td> </tr> </tbody> </table> </td> <td width="100%" align="right" valign="center"> <a href="https://twitter.com/ApacheIgnite" class="twitter-follow-button" data-show-count="false" data-size="large">Follow @ApacheIgnite</a> </td> </tr> <tr> <td colspan="2" valign="top" align="left"> <table style="padding-left: 0; margin: 0"> <tbody style="padding: 0; margin: 0"> <tr style="padding: 0; margin: 0"> <td> <b>Ignite Database and Caching Platform</b> </td> <td>: ver. <strong>2.11.0</strong> </td> </tr> <tr style="padding: 0; margin: 0"> <td> <b>Release Date</b> </td> <td>: September 11 2021 </td> </tr> </tbody> </table> </td> </tr> </table></small></p> |
| </body> |
| </html> |