| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
| <!-- NewPage --> |
| <html lang="en"> |
| <head> |
| <link rel="canonical" href="https://ignite.apache.org/releases/2.1.0/javadoc/org/apache/ignite/cache/hibernate/HibernateCacheProxy.html" /> |
| <META NAME="ROBOTS" CONTENT="NOINDEX"> |
| |
| <!-- Generated by javadoc (version 1.7.0_80) on Thu Jul 20 19:37:43 UTC 2017 --> |
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
| <title>HibernateCacheProxy (Ignite 2.1.0)</title> |
| <meta name="date" content="2017-07-20"> |
| <link rel="stylesheet" type="text/css" href="../../../../../javadoc.css" title="Style"> |
| |
| <script> |
| (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ |
| (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), |
| m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) |
| })(window,document,'script','https://www.google-analytics.com/analytics.js','ga'); |
| |
| ga('create', 'UA-61232409-1', 'auto'); |
| ga('send', 'pageview'); |
| |
| </script></head> |
| <body> |
| <script type="text/javascript"><!-- |
| if (location.href.indexOf('is-external=true') == -1) { |
| parent.document.title="HibernateCacheProxy (Ignite 2.1.0)"; |
| } |
| //--> |
| </script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| <!-- ========= START OF TOP NAVBAR ======= --> |
| <div class="topNav"><a name="navbar_top"> |
| <!-- --> |
| </a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../../overview-summary.html">Overview</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="navBarCell1Rev">Class</li> |
| <li><a href="class-use/HibernateCacheProxy.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 class="aboutLanguage"><em>Ignite - In-Memory Data Fabric</em></div> |
| </div> |
| <div class="subNav"> |
| <ul class="navList"> |
| <li><a href="../../../../../org/apache/ignite/cache/hibernate/HibernateAccessStrategyFactory.html" title="class in org.apache.ignite.cache.hibernate"><span class="strong">Prev Class</span></a></li> |
| <li><a href="../../../../../org/apache/ignite/cache/hibernate/HibernateExceptionConverter.html" title="interface in org.apache.ignite.cache.hibernate"><span class="strong">Next Class</span></a></li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../../index.html?org/apache/ignite/cache/hibernate/HibernateCacheProxy.html" target="_top">Frames</a></li> |
| <li><a href="HibernateCacheProxy.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.cache.hibernate</div> |
| <h2 title="Class HibernateCacheProxy" class="title">Class HibernateCacheProxy</h2> |
| </div> |
| <div class="contentContainer"> |
| <ul class="inheritance"> |
| <li><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li> |
| <li> |
| <ul class="inheritance"> |
| <li>org.apache.ignite.cache.hibernate.HibernateCacheProxy</li> |
| </ul> |
| </li> |
| </ul> |
| <div class="description"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <dl> |
| <dt>All Implemented Interfaces:</dt> |
| <dd><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a><javax.cache.Cache.Entry<<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>>>, org.apache.ignite.internal.processors.cache.IgniteInternalCache<<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>></dd> |
| </dl> |
| <hr> |
| <br> |
| <pre>public class <span class="strong">HibernateCacheProxy</span> |
| extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> |
| implements org.apache.ignite.internal.processors.cache.IgniteInternalCache<<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>></pre> |
| <div class="block">Hibernate cache proxy used to substitute hibernate keys with ignite keys.</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="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> |
| <caption><span>Methods</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colLast" scope="col">Method and Description</th> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/ignite/cache/affinity/Affinity.html" title="interface in org.apache.ignite.cache.affinity">Affinity</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/ignite/cache/hibernate/HibernateCacheProxy.html#affinity()">affinity</a></strong>()</code> |
| <div class="block">Gets affinity service to provide information about data partitioning |
| and distribution.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>org.apache.ignite.internal.processors.cache.IgniteInternalCache</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/ignite/cache/hibernate/HibernateCacheProxy.html#cache()">cache</a></strong>()</code> |
| <div class="block">Gets base cache for this projection.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/ignite/cache/hibernate/HibernateCacheProxy.html#clear()">clear</a></strong>()</code> |
| <div class="block">Clears cache on all nodes that store it's data.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/ignite/cache/hibernate/HibernateCacheProxy.html#clear(java.lang.Object)">clear</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> key)</code> |
| <div class="block">Clears key on all nodes that store it's data.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/ignite/cache/hibernate/HibernateCacheProxy.html#clearAll(java.util.Set)">clearAll</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a> keys)</code> |
| <div class="block">Clears keys on all nodes that store it's data.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>org.apache.ignite.internal.IgniteInternalFuture<?></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/ignite/cache/hibernate/HibernateCacheProxy.html#clearAllAsync(java.util.Set)">clearAllAsync</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a> keys)</code></td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>org.apache.ignite.internal.IgniteInternalFuture<?></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/ignite/cache/hibernate/HibernateCacheProxy.html#clearAsync()">clearAsync</a></strong>()</code></td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>org.apache.ignite.internal.IgniteInternalFuture<?></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/ignite/cache/hibernate/HibernateCacheProxy.html#clearAsync(java.lang.Object)">clearAsync</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> key)</code></td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/ignite/cache/hibernate/HibernateCacheProxy.html#clearLocally(boolean,%20boolean,%20boolean)">clearLocally</a></strong>(boolean srv, |
| boolean near, |
| boolean readers)</code> |
| <div class="block">Clears all entries from this cache only if the entry is not |
| currently locked or participating in a transaction.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/ignite/cache/hibernate/HibernateCacheProxy.html#clearLocally(java.lang.Object)">clearLocally</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> key)</code> |
| <div class="block">Clears an entry from this cache and swap storage only if the entry |
| is not currently locked, and is not participating in a transaction.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/ignite/cache/hibernate/HibernateCacheProxy.html#clearLocallyAll(java.util.Set,%20boolean,%20boolean,%20boolean)">clearLocallyAll</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a> keys, |
| boolean srv, |
| boolean near, |
| boolean readers)</code> |
| <div class="block">Clears entries from this cache and swap storage only if the entry |
| is not currently locked, and is not participating in a transaction.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/ignite/cache/CacheMetrics.html" title="interface in org.apache.ignite.cache">CacheMetrics</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/ignite/cache/hibernate/HibernateCacheProxy.html#clusterMetrics()">clusterMetrics</a></strong>()</code> |
| <div class="block">Gets whole cluster metrics (statistics) for this cache.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/ignite/cache/CacheMetrics.html" title="interface in org.apache.ignite.cache">CacheMetrics</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/ignite/cache/hibernate/HibernateCacheProxy.html#clusterMetrics(org.apache.ignite.cluster.ClusterGroup)">clusterMetrics</a></strong>(<a href="../../../../../org/apache/ignite/cluster/ClusterGroup.html" title="interface in org.apache.ignite.cluster">ClusterGroup</a> grp)</code> |
| <div class="block">Gets cluster group metrics (statistics) for this cache.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/ignite/mxbean/CacheMetricsMXBean.html" title="interface in org.apache.ignite.mxbean">CacheMetricsMXBean</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/ignite/cache/hibernate/HibernateCacheProxy.html#clusterMxBean()">clusterMxBean</a></strong>()</code> |
| <div class="block">Gets whole cluster metrics (statistics) for this cache.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/ignite/configuration/CacheConfiguration.html" title="class in org.apache.ignite.configuration">CacheConfiguration</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/ignite/cache/hibernate/HibernateCacheProxy.html#configuration()">configuration</a></strong>()</code> |
| <div class="block">Gets configuration bean for this cache.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/ignite/cache/hibernate/HibernateCacheProxy.html#containsKey(java.lang.Object)">containsKey</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> key)</code></td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>org.apache.ignite.internal.IgniteInternalFuture<<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a>></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/ignite/cache/hibernate/HibernateCacheProxy.html#containsKeyAsync(java.lang.Object)">containsKeyAsync</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> key)</code></td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/ignite/cache/hibernate/HibernateCacheProxy.html#containsKeys(java.util.Collection)">containsKeys</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a> keys)</code></td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>org.apache.ignite.internal.IgniteInternalFuture<<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a>></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/ignite/cache/hibernate/HibernateCacheProxy.html#containsKeysAsync(java.util.Collection)">containsKeysAsync</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a> keys)</code></td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>org.apache.ignite.internal.processors.cache.GridCacheContext</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/ignite/cache/hibernate/HibernateCacheProxy.html#context()">context</a></strong>()</code></td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a><javax.cache.Cache.Entry<<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>>></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/ignite/cache/hibernate/HibernateCacheProxy.html#entrySet()">entrySet</a></strong>()</code> |
| <div class="block">Gets set of all entries cached on this node.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/ignite/cache/hibernate/HibernateCacheProxy.html#evict(java.lang.Object)">evict</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> key)</code> |
| <div class="block">Evicts entry associated with given key from cache.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/ignite/cache/hibernate/HibernateCacheProxy.html#evictAll(java.util.Collection)">evictAll</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a> keys)</code> |
| <div class="block">Attempts to evict all entries associated with keys.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>javax.cache.expiry.ExpiryPolicy</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/ignite/cache/hibernate/HibernateCacheProxy.html#expiry()">expiry</a></strong>()</code></td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>org.apache.ignite.internal.processors.cache.IgniteInternalCache</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/ignite/cache/hibernate/HibernateCacheProxy.html#forSubjectId(java.util.UUID)">forSubjectId</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/UUID.html?is-external=true" title="class or interface in java.util">UUID</a> subjId)</code> |
| <div class="block">Creates projection for specified subject ID.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/ignite/cache/hibernate/HibernateCacheProxy.html#get(java.lang.Object)">get</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> key)</code> |
| <div class="block">Retrieves value mapped to the specified key from cache.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/ignite/cache/hibernate/HibernateCacheProxy.html#getAll(java.util.Collection)">getAll</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a> keys)</code> |
| <div class="block">Retrieves values mapped to the specified keys from cache.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>org.apache.ignite.internal.IgniteInternalFuture<<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>>></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/ignite/cache/hibernate/HibernateCacheProxy.html#getAllAsync(java.util.Collection)">getAllAsync</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a> keys)</code> |
| <div class="block">Asynchronously retrieves values mapped to the specified keys from cache.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/ignite/cache/hibernate/HibernateCacheProxy.html#getAllOutTx(java.util.Set)">getAllOutTx</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a> keys)</code> |
| <div class="block">Gets values from cache.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>org.apache.ignite.internal.IgniteInternalFuture<<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>>></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/ignite/cache/hibernate/HibernateCacheProxy.html#getAllOutTxAsync(java.util.Set)">getAllOutTxAsync</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a> keys)</code> |
| <div class="block">Gets values from cache.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/ignite/cache/hibernate/HibernateCacheProxy.html#getAndPut(java.lang.Object,%20java.lang.Object)">getAndPut</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> key, |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> val)</code> |
| <div class="block">Stores given key-value pair in cache.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>org.apache.ignite.internal.IgniteInternalFuture</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/ignite/cache/hibernate/HibernateCacheProxy.html#getAndPutAsync(java.lang.Object,%20java.lang.Object)">getAndPutAsync</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> key, |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> val)</code> |
| <div class="block">Asynchronously stores given key-value pair in cache.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/ignite/cache/hibernate/HibernateCacheProxy.html#getAndPutIfAbsent(java.lang.Object,%20java.lang.Object)">getAndPutIfAbsent</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> key, |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> val)</code> |
| <div class="block">Stores given key-value pair in cache only if cache had no previous mapping for it.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>org.apache.ignite.internal.IgniteInternalFuture</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/ignite/cache/hibernate/HibernateCacheProxy.html#getAndPutIfAbsentAsync(java.lang.Object,%20java.lang.Object)">getAndPutIfAbsentAsync</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> key, |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> val)</code> |
| <div class="block">Asynchronously stores given key-value pair in cache only if cache had no previous mapping for it.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/ignite/cache/hibernate/HibernateCacheProxy.html#getAndRemove(java.lang.Object)">getAndRemove</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> key)</code> |
| <div class="block">Removes given key mapping from cache.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>org.apache.ignite.internal.IgniteInternalFuture</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/ignite/cache/hibernate/HibernateCacheProxy.html#getAndRemoveAsync(java.lang.Object)">getAndRemoveAsync</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> key)</code> |
| <div class="block">Asynchronously removes given key mapping from cache.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/ignite/cache/hibernate/HibernateCacheProxy.html#getAndReplace(java.lang.Object,%20java.lang.Object)">getAndReplace</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> key, |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> val)</code> |
| <div class="block">Stores given key-value pair in cache only if there is a previous mapping for it.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>org.apache.ignite.internal.IgniteInternalFuture</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/ignite/cache/hibernate/HibernateCacheProxy.html#getAndReplaceAsync(java.lang.Object,%20java.lang.Object)">getAndReplaceAsync</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> key, |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> val)</code> |
| <div class="block">Asynchronously stores given key-value pair in cache only if there is a previous mapping for it.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>org.apache.ignite.internal.IgniteInternalFuture</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/ignite/cache/hibernate/HibernateCacheProxy.html#getAsync(java.lang.Object)">getAsync</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> key)</code> |
| <div class="block">Asynchronously retrieves value mapped to the specified key from cache.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a><<a href="../../../../../org/apache/ignite/cache/CacheEntry.html" title="interface in org.apache.ignite.cache">CacheEntry</a><<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>>></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/ignite/cache/hibernate/HibernateCacheProxy.html#getEntries(java.util.Collection)">getEntries</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a> keys)</code> |
| <div class="block">Retrieves values mapped to the specified keys from cache.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>org.apache.ignite.internal.IgniteInternalFuture<<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a><<a href="../../../../../org/apache/ignite/cache/CacheEntry.html" title="interface in org.apache.ignite.cache">CacheEntry</a><<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>>>></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/ignite/cache/hibernate/HibernateCacheProxy.html#getEntriesAsync(java.util.Collection)">getEntriesAsync</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a> keys)</code> |
| <div class="block">Asynchronously retrieves values mapped to the specified keys from cache.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/ignite/cache/CacheEntry.html" title="interface in org.apache.ignite.cache">CacheEntry</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/ignite/cache/hibernate/HibernateCacheProxy.html#getEntry(java.lang.Object)">getEntry</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> key)</code> |
| <div class="block">Retrieves value mapped to the specified key from cache.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>org.apache.ignite.internal.IgniteInternalFuture<<a href="../../../../../org/apache/ignite/cache/CacheEntry.html" title="interface in org.apache.ignite.cache">CacheEntry</a><<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>>></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/ignite/cache/hibernate/HibernateCacheProxy.html#getEntryAsync(java.lang.Object)">getEntryAsync</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> key)</code> |
| <div class="block">Asynchronously retrieves value mapped to the specified key from cache.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/ignite/cache/hibernate/HibernateCacheProxy.html#getForcePrimary(java.lang.Object)">getForcePrimary</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> key)</code> |
| <div class="block">Gets value from cache.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>org.apache.ignite.internal.IgniteInternalFuture</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/ignite/cache/hibernate/HibernateCacheProxy.html#getForcePrimaryAsync(java.lang.Object)">getForcePrimaryAsync</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> key)</code> |
| <div class="block">Asynchronously gets value from cache.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/ignite/cache/hibernate/HibernateCacheProxy.html#getTopologySafe(java.lang.Object)">getTopologySafe</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> key)</code> |
| <div class="block">Gets value without waiting for toplogy changes.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>long</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/ignite/cache/hibernate/HibernateCacheProxy.html#igfsDataSpaceUsed()">igfsDataSpaceUsed</a></strong>()</code> |
| <div class="block">Get current amount of used IGFS space in bytes.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>javax.cache.processor.EntryProcessorResult</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/ignite/cache/hibernate/HibernateCacheProxy.html#invoke(org.apache.ignite.internal.processors.affinity.AffinityTopologyVersion,%20java.lang.Object,%20javax.cache.processor.EntryProcessor,%20java.lang.Object...)">invoke</a></strong>(org.apache.ignite.internal.processors.affinity.AffinityTopologyVersion topVer, |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> key, |
| javax.cache.processor.EntryProcessor entryProcessor, |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>... args)</code></td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>javax.cache.processor.EntryProcessorResult</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/ignite/cache/hibernate/HibernateCacheProxy.html#invoke(java.lang.Object,%20javax.cache.processor.EntryProcessor,%20java.lang.Object...)">invoke</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> key, |
| javax.cache.processor.EntryProcessor entryProcessor, |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>... args)</code></td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/ignite/cache/hibernate/HibernateCacheProxy.html#invokeAll(java.util.Map,%20java.lang.Object...)">invokeAll</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a> map, |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>... args)</code></td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/ignite/cache/hibernate/HibernateCacheProxy.html#invokeAll(java.util.Set,%20javax.cache.processor.EntryProcessor,%20java.lang.Object...)">invokeAll</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a> keys, |
| javax.cache.processor.EntryProcessor entryProcessor, |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>... args)</code></td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>org.apache.ignite.internal.IgniteInternalFuture<<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/ignite/cache/hibernate/HibernateCacheProxy.html#invokeAllAsync(java.util.Map,%20java.lang.Object...)">invokeAllAsync</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a> map, |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>... args)</code></td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>org.apache.ignite.internal.IgniteInternalFuture<<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/ignite/cache/hibernate/HibernateCacheProxy.html#invokeAllAsync(java.util.Set,%20javax.cache.processor.EntryProcessor,%20java.lang.Object...)">invokeAllAsync</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a> keys, |
| javax.cache.processor.EntryProcessor entryProcessor, |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>... args)</code></td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>org.apache.ignite.internal.IgniteInternalFuture<javax.cache.processor.EntryProcessorResult></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/ignite/cache/hibernate/HibernateCacheProxy.html#invokeAsync(java.lang.Object,%20javax.cache.processor.EntryProcessor,%20java.lang.Object...)">invokeAsync</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> key, |
| javax.cache.processor.EntryProcessor entryProcessor, |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>... args)</code></td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/ignite/cache/hibernate/HibernateCacheProxy.html#isEmpty()">isEmpty</a></strong>()</code> |
| <div class="block">Returns <code>true</code> if this map contains no key-value mappings.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/ignite/cache/hibernate/HibernateCacheProxy.html#isIgfsDataCache()">isIgfsDataCache</a></strong>()</code> |
| <div class="block">Checks whether this cache is IGFS data cache.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/ignite/cache/hibernate/HibernateCacheProxy.html#isLocked(java.lang.Object)">isLocked</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> key)</code> |
| <div class="block">Checks if any node owns a lock for this key.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/ignite/cache/hibernate/HibernateCacheProxy.html#isLockedByThread(java.lang.Object)">isLockedByThread</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> key)</code> |
| <div class="block">Checks if current thread owns a lock on this key.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/ignite/cache/hibernate/HibernateCacheProxy.html#isMongoDataCache()">isMongoDataCache</a></strong>()</code> |
| <div class="block">Checks whether this cache is Mongo data cache.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/ignite/cache/hibernate/HibernateCacheProxy.html#isMongoMetaCache()">isMongoMetaCache</a></strong>()</code> |
| <div class="block">Checks whether this cache is Mongo meta cache.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/util/Iterator.html?is-external=true" title="class or interface in java.util">Iterator</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/ignite/cache/hibernate/HibernateCacheProxy.html#iterator()">iterator</a></strong>()</code></td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>org.apache.ignite.internal.processors.cache.IgniteInternalCache</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/ignite/cache/hibernate/HibernateCacheProxy.html#keepBinary()">keepBinary</a></strong>()</code> |
| <div class="block">Creates projection that will operate with binary objects.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/ignite/cache/hibernate/HibernateCacheProxy.html#keySet()">keySet</a></strong>()</code> |
| <div class="block">Set of keys cached on this node.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/ignite/cache/hibernate/HibernateKeyTransformer.html" title="interface in org.apache.ignite.cache.hibernate">HibernateKeyTransformer</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/ignite/cache/hibernate/HibernateCacheProxy.html#keyTransformer()">keyTransformer</a></strong>()</code> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a><javax.cache.Cache.Entry<<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>>></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/ignite/cache/hibernate/HibernateCacheProxy.html#localEntries(org.apache.ignite.cache.CachePeekMode[])">localEntries</a></strong>(<a href="../../../../../org/apache/ignite/cache/CachePeekMode.html" title="enum in org.apache.ignite.cache">CachePeekMode</a>[] peekModes)</code></td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/ignite/cache/hibernate/HibernateCacheProxy.html#localLoadCache(org.apache.ignite.lang.IgniteBiPredicate,%20java.lang.Object...)">localLoadCache</a></strong>(<a href="../../../../../org/apache/ignite/lang/IgniteBiPredicate.html" title="interface in org.apache.ignite.lang">IgniteBiPredicate</a> p, |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>... args)</code> |
| <div class="block">Delegates to <a href="../../../../../org/apache/ignite/cache/store/CacheStore.html#loadCache(org.apache.ignite.lang.IgniteBiInClosure,%20java.lang.Object...)"><code>CacheStore.loadCache(IgniteBiInClosure, Object...)</code></a> method |
| to load state from the underlying persistent storage.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>org.apache.ignite.internal.IgniteInternalFuture<?></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/ignite/cache/hibernate/HibernateCacheProxy.html#localLoadCacheAsync(org.apache.ignite.lang.IgniteBiPredicate,%20java.lang.Object...)">localLoadCacheAsync</a></strong>(<a href="../../../../../org/apache/ignite/lang/IgniteBiPredicate.html" title="interface in org.apache.ignite.lang">IgniteBiPredicate</a> p, |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>... args)</code> |
| <div class="block">Asynchronously delegates to <a href="../../../../../org/apache/ignite/cache/store/CacheStore.html#loadCache(org.apache.ignite.lang.IgniteBiInClosure,%20java.lang.Object...)"><code>CacheStore.loadCache(IgniteBiInClosure, Object...)</code></a> method |
| to reload state from the underlying persistent storage.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/ignite/cache/CacheMetrics.html" title="interface in org.apache.ignite.cache">CacheMetrics</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/ignite/cache/hibernate/HibernateCacheProxy.html#localMetrics()">localMetrics</a></strong>()</code> |
| <div class="block">Gets local metrics (statistics) for this cache.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/ignite/mxbean/CacheMetricsMXBean.html" title="interface in org.apache.ignite.mxbean">CacheMetricsMXBean</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/ignite/cache/hibernate/HibernateCacheProxy.html#localMxBean()">localMxBean</a></strong>()</code> |
| <div class="block">Gets local metrics (statistics) for this cache.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/ignite/cache/hibernate/HibernateCacheProxy.html#localPeek(java.lang.Object,%20org.apache.ignite.cache.CachePeekMode[],%20org.apache.ignite.internal.processors.cache.IgniteCacheExpiryPolicy)">localPeek</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> key, |
| <a href="../../../../../org/apache/ignite/cache/CachePeekMode.html" title="enum in org.apache.ignite.cache">CachePeekMode</a>[] peekModes, |
| org.apache.ignite.internal.processors.cache.IgniteCacheExpiryPolicy plc)</code></td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>int</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/ignite/cache/hibernate/HibernateCacheProxy.html#localSize(org.apache.ignite.cache.CachePeekMode[])">localSize</a></strong>(<a href="../../../../../org/apache/ignite/cache/CachePeekMode.html" title="enum in org.apache.ignite.cache">CachePeekMode</a>[] peekModes)</code></td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>long</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/ignite/cache/hibernate/HibernateCacheProxy.html#localSizeLong(org.apache.ignite.cache.CachePeekMode[])">localSizeLong</a></strong>(<a href="../../../../../org/apache/ignite/cache/CachePeekMode.html" title="enum in org.apache.ignite.cache">CachePeekMode</a>[] peekModes)</code></td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>long</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/ignite/cache/hibernate/HibernateCacheProxy.html#localSizeLong(int,%20org.apache.ignite.cache.CachePeekMode[])">localSizeLong</a></strong>(int partition, |
| <a href="../../../../../org/apache/ignite/cache/CachePeekMode.html" title="enum in org.apache.ignite.cache">CachePeekMode</a>[] peekModes)</code></td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/ignite/cache/hibernate/HibernateCacheProxy.html#lock(java.lang.Object,%20long)">lock</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> key, |
| long timeout)</code> |
| <div class="block">Synchronously acquires lock on a cached object with given |
| key only if the passed in filter (if any) passes.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/ignite/cache/hibernate/HibernateCacheProxy.html#lockAll(java.util.Collection,%20long)">lockAll</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a> keys, |
| long timeout)</code> |
| <div class="block">All or nothing synchronous lock for passed in keys.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>org.apache.ignite.internal.IgniteInternalFuture<<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a>></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/ignite/cache/hibernate/HibernateCacheProxy.html#lockAllAsync(java.util.Collection,%20long)">lockAllAsync</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a> keys, |
| long timeout)</code> |
| <div class="block">All or nothing synchronous lock for passed in keys.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>org.apache.ignite.internal.IgniteInternalFuture<<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a>></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/ignite/cache/hibernate/HibernateCacheProxy.html#lockAsync(java.lang.Object,%20long)">lockAsync</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> key, |
| long timeout)</code> |
| <div class="block">Asynchronously acquires lock on a cached object with given |
| key only if the passed in filter (if any) passes.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a><<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</a>></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/ignite/cache/hibernate/HibernateCacheProxy.html#lostPartitions()">lostPartitions</a></strong>()</code></td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/ignite/cache/hibernate/HibernateCacheProxy.html#name()">name</a></strong>()</code> |
| <div class="block">Gets name of this cache (<code>null</code> for default cache).</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>int</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/ignite/cache/hibernate/HibernateCacheProxy.html#nearSize()">nearSize</a></strong>()</code> |
| <div class="block">Gets size of near cache key set.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>long</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/ignite/cache/hibernate/HibernateCacheProxy.html#offHeapAllocatedSize()">offHeapAllocatedSize</a></strong>()</code> |
| <div class="block">Gets memory size allocated in off-heap.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>long</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/ignite/cache/hibernate/HibernateCacheProxy.html#offHeapEntriesCount()">offHeapEntriesCount</a></strong>()</code> |
| <div class="block">Gets number of cache entries stored in off-heap memory.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>int</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/ignite/cache/hibernate/HibernateCacheProxy.html#primarySize()">primarySize</a></strong>()</code> |
| <div class="block">Gets the number of all primary entries cached on this node.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>long</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/ignite/cache/hibernate/HibernateCacheProxy.html#primarySizeLong()">primarySizeLong</a></strong>()</code> |
| <div class="block">Gets the number of all primary entries cached on this node as a long value.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/ignite/cache/hibernate/HibernateCacheProxy.html#put(java.lang.Object,%20java.lang.Object)">put</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> key, |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> val)</code> |
| <div class="block">Stores given key-value pair in cache.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/ignite/cache/hibernate/HibernateCacheProxy.html#putAll(java.util.Map)">putAll</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a> m)</code> |
| <div class="block">Stores given key-value pairs in cache.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>org.apache.ignite.internal.IgniteInternalFuture<?></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/ignite/cache/hibernate/HibernateCacheProxy.html#putAllAsync(java.util.Map)">putAllAsync</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a> m)</code> |
| <div class="block">Asynchronously stores given key-value pairs in cache.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/ignite/cache/hibernate/HibernateCacheProxy.html#putAllConflict(java.util.Map)">putAllConflict</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a> drMap)</code> |
| <div class="block">Store DR data.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>org.apache.ignite.internal.IgniteInternalFuture<?></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/ignite/cache/hibernate/HibernateCacheProxy.html#putAllConflictAsync(java.util.Map)">putAllConflictAsync</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a> drMap)</code> |
| <div class="block">Store DR data asynchronously.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>org.apache.ignite.internal.IgniteInternalFuture<<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a>></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/ignite/cache/hibernate/HibernateCacheProxy.html#putAsync(java.lang.Object,%20java.lang.Object)">putAsync</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> key, |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> val)</code> |
| <div class="block">Stores given key-value pair in cache.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/ignite/cache/hibernate/HibernateCacheProxy.html#putIfAbsent(java.lang.Object,%20java.lang.Object)">putIfAbsent</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> key, |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> val)</code> |
| <div class="block">Stores given key-value pair in cache only if cache had no previous mapping for it.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>org.apache.ignite.internal.IgniteInternalFuture<<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a>></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/ignite/cache/hibernate/HibernateCacheProxy.html#putIfAbsentAsync(java.lang.Object,%20java.lang.Object)">putIfAbsentAsync</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> key, |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> val)</code> |
| <div class="block">Asynchronously stores given key-value pair in cache only if cache had no previous mapping for it.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>org.apache.ignite.internal.IgniteInternalFuture<?></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/ignite/cache/hibernate/HibernateCacheProxy.html#rebalance()">rebalance</a></strong>()</code> |
| <div class="block">Forces this cache node to re-balance its partitions.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/ignite/cache/hibernate/HibernateCacheProxy.html#remove(java.lang.Object)">remove</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> key)</code> |
| <div class="block">Removes given key mapping from cache.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/ignite/cache/hibernate/HibernateCacheProxy.html#remove(java.lang.Object,%20java.lang.Object)">remove</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> key, |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> val)</code> |
| <div class="block">Removes given key mapping from cache if one exists and value is equal to the passed in value.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/ignite/cache/hibernate/HibernateCacheProxy.html#removeAll()">removeAll</a></strong>()</code> |
| <div class="block">Removes mappings from cache.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/ignite/cache/hibernate/HibernateCacheProxy.html#removeAll(java.util.Collection)">removeAll</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a> keys)</code> |
| <div class="block">Removes given key mappings from cache.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>org.apache.ignite.internal.IgniteInternalFuture<?></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/ignite/cache/hibernate/HibernateCacheProxy.html#removeAllAsync()">removeAllAsync</a></strong>()</code></td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>org.apache.ignite.internal.IgniteInternalFuture<?></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/ignite/cache/hibernate/HibernateCacheProxy.html#removeAllAsync(java.util.Collection)">removeAllAsync</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a> keys)</code> |
| <div class="block">Asynchronously removes given key mappings from cache for entries.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/ignite/cache/hibernate/HibernateCacheProxy.html#removeAllConflict(java.util.Map)">removeAllConflict</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a> drMap)</code> |
| <div class="block">Removes DR data.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>org.apache.ignite.internal.IgniteInternalFuture<?></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/ignite/cache/hibernate/HibernateCacheProxy.html#removeAllConflictAsync(java.util.Map)">removeAllConflictAsync</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a> drMap)</code> |
| <div class="block">Removes DR data asynchronously.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>org.apache.ignite.internal.IgniteInternalFuture<<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a>></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/ignite/cache/hibernate/HibernateCacheProxy.html#removeAsync(java.lang.Object)">removeAsync</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> key)</code> |
| <div class="block">Asynchronously removes given key mapping from cache.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>org.apache.ignite.internal.IgniteInternalFuture<<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a>></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/ignite/cache/hibernate/HibernateCacheProxy.html#removeAsync(java.lang.Object,%20java.lang.Object)">removeAsync</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> key, |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> val)</code> |
| <div class="block">Asynchronously removes given key mapping from cache if one exists and value is equal to the passed in value.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/ignite/cache/hibernate/HibernateCacheProxy.html#replace(java.lang.Object,%20java.lang.Object)">replace</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> key, |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> val)</code> |
| <div class="block">Stores given key-value pair in cache only if only if there is a previous mapping for it.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/ignite/cache/hibernate/HibernateCacheProxy.html#replace(java.lang.Object,%20java.lang.Object,%20java.lang.Object)">replace</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> key, |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> oldVal, |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> newVal)</code> |
| <div class="block">Stores given key-value pair in cache only if only if the previous value is equal to the |
| <code>'oldVal'</code> passed in.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>org.apache.ignite.internal.IgniteInternalFuture<<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a>></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/ignite/cache/hibernate/HibernateCacheProxy.html#replaceAsync(java.lang.Object,%20java.lang.Object)">replaceAsync</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> key, |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> val)</code> |
| <div class="block">Asynchronously stores given key-value pair in cache only if only if there is a previous mapping for it.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>org.apache.ignite.internal.IgniteInternalFuture<<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a>></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/ignite/cache/hibernate/HibernateCacheProxy.html#replaceAsync(java.lang.Object,%20java.lang.Object,%20java.lang.Object)">replaceAsync</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> key, |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> oldVal, |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> newVal)</code> |
| <div class="block">Asynchronously stores given key-value pair in cache only if only if the previous value is equal to the |
| <code>'oldVal'</code> passed in.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/util/Iterator.html?is-external=true" title="class or interface in java.util">Iterator</a><javax.cache.Cache.Entry<<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>>></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/ignite/cache/hibernate/HibernateCacheProxy.html#scanIterator(boolean,%20org.apache.ignite.lang.IgniteBiPredicate)">scanIterator</a></strong>(boolean keepBinary, |
| <a href="../../../../../org/apache/ignite/lang/IgniteBiPredicate.html" title="interface in org.apache.ignite.lang">IgniteBiPredicate</a> p)</code></td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>org.apache.ignite.internal.processors.cache.IgniteInternalCache</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/ignite/cache/hibernate/HibernateCacheProxy.html#setSkipStore(boolean)">setSkipStore</a></strong>(boolean skipStore)</code></td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>int</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/ignite/cache/hibernate/HibernateCacheProxy.html#size()">size</a></strong>()</code> |
| <div class="block">Gets the number of all entries cached on this node.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>int</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/ignite/cache/hibernate/HibernateCacheProxy.html#size(org.apache.ignite.cache.CachePeekMode[])">size</a></strong>(<a href="../../../../../org/apache/ignite/cache/CachePeekMode.html" title="enum in org.apache.ignite.cache">CachePeekMode</a>[] peekModes)</code></td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>org.apache.ignite.internal.IgniteInternalFuture<<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</a>></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/ignite/cache/hibernate/HibernateCacheProxy.html#sizeAsync(org.apache.ignite.cache.CachePeekMode[])">sizeAsync</a></strong>(<a href="../../../../../org/apache/ignite/cache/CachePeekMode.html" title="enum in org.apache.ignite.cache">CachePeekMode</a>[] peekModes)</code></td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>long</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/ignite/cache/hibernate/HibernateCacheProxy.html#sizeLong()">sizeLong</a></strong>()</code> |
| <div class="block">Gets the number of all entries cached on this node as a long value.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>long</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/ignite/cache/hibernate/HibernateCacheProxy.html#sizeLong(org.apache.ignite.cache.CachePeekMode[])">sizeLong</a></strong>(<a href="../../../../../org/apache/ignite/cache/CachePeekMode.html" title="enum in org.apache.ignite.cache">CachePeekMode</a>[] peekModes)</code></td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>long</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/ignite/cache/hibernate/HibernateCacheProxy.html#sizeLong(int,%20org.apache.ignite.cache.CachePeekMode[])">sizeLong</a></strong>(int partition, |
| <a href="../../../../../org/apache/ignite/cache/CachePeekMode.html" title="enum in org.apache.ignite.cache">CachePeekMode</a>[] peekModes)</code></td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>org.apache.ignite.internal.IgniteInternalFuture<<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang">Long</a>></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/ignite/cache/hibernate/HibernateCacheProxy.html#sizeLongAsync(org.apache.ignite.cache.CachePeekMode[])">sizeLongAsync</a></strong>(<a href="../../../../../org/apache/ignite/cache/CachePeekMode.html" title="enum in org.apache.ignite.cache">CachePeekMode</a>[] peekModes)</code></td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>org.apache.ignite.internal.IgniteInternalFuture<<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang">Long</a>></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/ignite/cache/hibernate/HibernateCacheProxy.html#sizeLongAsync(int,%20org.apache.ignite.cache.CachePeekMode[])">sizeLongAsync</a></strong>(int partition, |
| <a href="../../../../../org/apache/ignite/cache/CachePeekMode.html" title="enum in org.apache.ignite.cache">CachePeekMode</a>[] peekModes)</code></td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/ignite/cache/hibernate/HibernateCacheProxy.html#skipStore()">skipStore</a></strong>()</code></td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>org.apache.ignite.internal.processors.cache.distributed.near.GridNearTxLocal</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/ignite/cache/hibernate/HibernateCacheProxy.html#tx()">tx</a></strong>()</code> |
| <div class="block">Gets transaction started by this thread or <code>null</code> if this thread does |
| not have a transaction.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/ignite/transactions/Transaction.html" title="interface in org.apache.ignite.transactions">Transaction</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/ignite/cache/hibernate/HibernateCacheProxy.html#txStart(org.apache.ignite.transactions.TransactionConcurrency,%20org.apache.ignite.transactions.TransactionIsolation)">txStart</a></strong>(<a href="../../../../../org/apache/ignite/transactions/TransactionConcurrency.html" title="enum in org.apache.ignite.transactions">TransactionConcurrency</a> concurrency, |
| <a href="../../../../../org/apache/ignite/transactions/TransactionIsolation.html" title="enum in org.apache.ignite.transactions">TransactionIsolation</a> isolation)</code> |
| <div class="block">Starts new transaction with the specified concurrency and isolation.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/ignite/transactions/Transaction.html" title="interface in org.apache.ignite.transactions">Transaction</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/ignite/cache/hibernate/HibernateCacheProxy.html#txStart(org.apache.ignite.transactions.TransactionConcurrency,%20org.apache.ignite.transactions.TransactionIsolation,%20long,%20int)">txStart</a></strong>(<a href="../../../../../org/apache/ignite/transactions/TransactionConcurrency.html" title="enum in org.apache.ignite.transactions">TransactionConcurrency</a> concurrency, |
| <a href="../../../../../org/apache/ignite/transactions/TransactionIsolation.html" title="enum in org.apache.ignite.transactions">TransactionIsolation</a> isolation, |
| long timeout, |
| int txSize)</code> |
| <div class="block">Starts transaction with specified isolation, concurrency, timeout, invalidation flag, |
| and number of participating entries.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>org.apache.ignite.internal.processors.cache.distributed.near.GridNearTxLocal</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/ignite/cache/hibernate/HibernateCacheProxy.html#txStartEx(org.apache.ignite.transactions.TransactionConcurrency,%20org.apache.ignite.transactions.TransactionIsolation)">txStartEx</a></strong>(<a href="../../../../../org/apache/ignite/transactions/TransactionConcurrency.html" title="enum in org.apache.ignite.transactions">TransactionConcurrency</a> concurrency, |
| <a href="../../../../../org/apache/ignite/transactions/TransactionIsolation.html" title="enum in org.apache.ignite.transactions">TransactionIsolation</a> isolation)</code></td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/ignite/cache/hibernate/HibernateCacheProxy.html#unlock(java.lang.Object)">unlock</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> key)</code> |
| <div class="block">Unlocks given key only if current thread owns the lock.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/ignite/cache/hibernate/HibernateCacheProxy.html#unlockAll(java.util.Collection)">unlockAll</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a> keys)</code> |
| <div class="block">Unlocks given keys only if current thread owns the locks.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>org.apache.ignite.internal.processors.cache.IgniteInternalCache</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/ignite/cache/hibernate/HibernateCacheProxy.html#withExpiryPolicy(javax.cache.expiry.ExpiryPolicy)">withExpiryPolicy</a></strong>(javax.cache.expiry.ExpiryPolicy plc)</code></td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>org.apache.ignite.internal.processors.cache.IgniteInternalCache</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/ignite/cache/hibernate/HibernateCacheProxy.html#withNoRetries()">withNoRetries</a></strong>()</code></td> |
| </tr> |
| </table> |
| <ul class="blockList"> |
| <li class="blockList"><a name="methods_inherited_from_class_java.lang.Object"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from class java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3> |
| <code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait(long,%20int)" title="class or interface in java.lang">wait</a></code></li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </div> |
| <div class="details"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- ============ METHOD DETAIL ========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="method_detail"> |
| <!-- --> |
| </a> |
| <h3>Method Detail</h3> |
| <a name="keyTransformer()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>keyTransformer</h4> |
| <pre>public <a href="../../../../../org/apache/ignite/cache/hibernate/HibernateKeyTransformer.html" title="interface in org.apache.ignite.cache.hibernate">HibernateKeyTransformer</a> keyTransformer()</pre> |
| <dl><dt><span class="strong">Returns:</span></dt><dd>HibernateKeyTransformer</dd></dl> |
| </li> |
| </ul> |
| <a name="name()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>name</h4> |
| <pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name()</pre> |
| <div class="block">Gets name of this cache (<code>null</code> for default cache).</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code>name</code> in interface <code>org.apache.ignite.internal.processors.cache.IgniteInternalCache<<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>></code></dd> |
| <dt><span class="strong">Returns:</span></dt><dd>Cache name.</dd></dl> |
| </li> |
| </ul> |
| <a name="skipStore()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>skipStore</h4> |
| <pre>public boolean skipStore()</pre> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code>skipStore</code> in interface <code>org.apache.ignite.internal.processors.cache.IgniteInternalCache<<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>></code></dd> |
| <dt><span class="strong">Returns:</span></dt><dd>Skip store.</dd></dl> |
| </li> |
| </ul> |
| <a name="setSkipStore(boolean)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setSkipStore</h4> |
| <pre>public org.apache.ignite.internal.processors.cache.IgniteInternalCache setSkipStore(boolean skipStore)</pre> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code>setSkipStore</code> in interface <code>org.apache.ignite.internal.processors.cache.IgniteInternalCache<<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>skipStore</code> - Skip store flag.</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>New internal cache instance based on this one, but with skip store flag enabled.</dd></dl> |
| </li> |
| </ul> |
| <a name="isEmpty()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isEmpty</h4> |
| <pre>public boolean isEmpty()</pre> |
| <div class="block">Returns <code>true</code> if this map contains no key-value mappings.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code>isEmpty</code> in interface <code>org.apache.ignite.internal.processors.cache.IgniteInternalCache<<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>></code></dd> |
| <dt><span class="strong">Returns:</span></dt><dd><code>true</code> if this map contains no key-value mappings.</dd></dl> |
| </li> |
| </ul> |
| <a name="containsKey(java.lang.Object)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>containsKey</h4> |
| <pre>public boolean containsKey(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> key)</pre> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code>containsKey</code> in interface <code>org.apache.ignite.internal.processors.cache.IgniteInternalCache<<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>key</code> - Key.</dd> |
| <dt><span class="strong">Returns:</span></dt><dd><code>True</code> if cache contains mapping for a given key.</dd></dl> |
| </li> |
| </ul> |
| <a name="containsKeyAsync(java.lang.Object)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>containsKeyAsync</h4> |
| <pre>public org.apache.ignite.internal.IgniteInternalFuture<<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a>> containsKeyAsync(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> key)</pre> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code>containsKeyAsync</code> in interface <code>org.apache.ignite.internal.processors.cache.IgniteInternalCache<<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>key</code> - Key.</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>Future.</dd></dl> |
| </li> |
| </ul> |
| <a name="containsKeys(java.util.Collection)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>containsKeys</h4> |
| <pre>public boolean containsKeys(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a> keys)</pre> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code>containsKeys</code> in interface <code>org.apache.ignite.internal.processors.cache.IgniteInternalCache<<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>keys</code> - Keys,</dd> |
| <dt><span class="strong">Returns:</span></dt><dd><code>True</code> if cache contains all keys.</dd></dl> |
| </li> |
| </ul> |
| <a name="containsKeysAsync(java.util.Collection)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>containsKeysAsync</h4> |
| <pre>public org.apache.ignite.internal.IgniteInternalFuture<<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a>> containsKeysAsync(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a> keys)</pre> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code>containsKeysAsync</code> in interface <code>org.apache.ignite.internal.processors.cache.IgniteInternalCache<<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>keys</code> - Keys to check.</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>Future.</dd></dl> |
| </li> |
| </ul> |
| <a name="localPeek(java.lang.Object, org.apache.ignite.cache.CachePeekMode[], org.apache.ignite.internal.processors.cache.IgniteCacheExpiryPolicy)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>localPeek</h4> |
| <pre>@Nullable |
| public <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> localPeek(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> key, |
| <a href="../../../../../org/apache/ignite/cache/CachePeekMode.html" title="enum in org.apache.ignite.cache">CachePeekMode</a>[] peekModes, |
| @Nullable |
| org.apache.ignite.internal.processors.cache.IgniteCacheExpiryPolicy plc) |
| throws <a href="../../../../../org/apache/ignite/IgniteCheckedException.html" title="class in org.apache.ignite">IgniteCheckedException</a></pre> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code>localPeek</code> in interface <code>org.apache.ignite.internal.processors.cache.IgniteInternalCache<<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>key</code> - Key.</dd><dd><code>peekModes</code> - Peek modes.</dd><dd><code>plc</code> - Expiry policy if TTL should be updated.</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>Value.</dd> |
| <dt><span class="strong">Throws:</span></dt> |
| <dd><code><a href="../../../../../org/apache/ignite/IgniteCheckedException.html" title="class in org.apache.ignite">IgniteCheckedException</a></code> - If failed.</dd></dl> |
| </li> |
| </ul> |
| <a name="localEntries(org.apache.ignite.cache.CachePeekMode[])"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>localEntries</h4> |
| <pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a><javax.cache.Cache.Entry<<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>>> localEntries(<a href="../../../../../org/apache/ignite/cache/CachePeekMode.html" title="enum in org.apache.ignite.cache">CachePeekMode</a>[] peekModes) |
| throws <a href="../../../../../org/apache/ignite/IgniteCheckedException.html" title="class in org.apache.ignite">IgniteCheckedException</a></pre> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code>localEntries</code> in interface <code>org.apache.ignite.internal.processors.cache.IgniteInternalCache<<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>peekModes</code> - Peek modes.</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>Entries iterable.</dd> |
| <dt><span class="strong">Throws:</span></dt> |
| <dd><code><a href="../../../../../org/apache/ignite/IgniteCheckedException.html" title="class in org.apache.ignite">IgniteCheckedException</a></code> - If failed.</dd></dl> |
| </li> |
| </ul> |
| <a name="get(java.lang.Object)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>get</h4> |
| <pre>@Nullable |
| public <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> get(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> key) |
| throws <a href="../../../../../org/apache/ignite/IgniteCheckedException.html" title="class in org.apache.ignite">IgniteCheckedException</a></pre> |
| <div class="block">Retrieves value mapped to the specified key from cache. Value will only be returned if |
| its entry passed the optional filter provided. Filter check is atomic, and therefore the |
| returned value is guaranteed to be consistent with the filter. The return value of <code>null</code> |
| means entry did not pass the provided filter or cache has no mapping for the |
| key. |
| <p> |
| If the value is not present in cache, then it will be looked up from swap storage. If |
| it's not present in swap, or if swap is disable, and if read-through is allowed, value |
| will be loaded from <a href="../../../../../org/apache/ignite/cache/store/CacheStore.html" title="interface in org.apache.ignite.cache.store"><code>CacheStore</code></a> persistent storage via |
| <code>CacheStore#load(Transaction, Object)</code> method. |
| <h2 class="header">Transactions</h2> |
| This method is transactional and will enlist the entry into ongoing transaction |
| if there is one.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code>get</code> in interface <code>org.apache.ignite.internal.processors.cache.IgniteInternalCache<<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>key</code> - Key to retrieve the value for.</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>Value for the given key.</dd> |
| <dt><span class="strong">Throws:</span></dt> |
| <dd><code><a href="../../../../../org/apache/ignite/IgniteCheckedException.html" title="class in org.apache.ignite">IgniteCheckedException</a></code> - If get operation failed.</dd></dl> |
| </li> |
| </ul> |
| <a name="getEntry(java.lang.Object)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getEntry</h4> |
| <pre>@Nullable |
| public <a href="../../../../../org/apache/ignite/cache/CacheEntry.html" title="interface in org.apache.ignite.cache">CacheEntry</a> getEntry(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> key) |
| throws <a href="../../../../../org/apache/ignite/IgniteCheckedException.html" title="class in org.apache.ignite">IgniteCheckedException</a></pre> |
| <div class="block">Retrieves value mapped to the specified key from cache. Value will only be returned if |
| its entry passed the optional filter provided. Filter check is atomic, and therefore the |
| returned value is guaranteed to be consistent with the filter. The return value of <code>null</code> |
| means entry did not pass the provided filter or cache has no mapping for the |
| key. |
| <p> |
| If the value is not present in cache, then it will be looked up from swap storage. If |
| it's not present in swap, or if swap is disable, and if read-through is allowed, value |
| will be loaded from <a href="../../../../../org/apache/ignite/cache/store/CacheStore.html" title="interface in org.apache.ignite.cache.store"><code>CacheStore</code></a> persistent storage via |
| <code>CacheStore#load(Transaction, Object)</code> method. |
| <h2 class="header">Transactions</h2> |
| This method is transactional and will enlist the entry into ongoing transaction |
| if there is one.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code>getEntry</code> in interface <code>org.apache.ignite.internal.processors.cache.IgniteInternalCache<<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>key</code> - Key to retrieve the value for.</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>Value for the given key.</dd> |
| <dt><span class="strong">Throws:</span></dt> |
| <dd><code><a href="../../../../../org/apache/ignite/IgniteCheckedException.html" title="class in org.apache.ignite">IgniteCheckedException</a></code> - If get operation failed.</dd></dl> |
| </li> |
| </ul> |
| <a name="getAsync(java.lang.Object)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getAsync</h4> |
| <pre>public org.apache.ignite.internal.IgniteInternalFuture getAsync(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> key)</pre> |
| <div class="block">Asynchronously retrieves value mapped to the specified key from cache. Value will only be returned if |
| its entry passed the optional filter provided. Filter check is atomic, and therefore the |
| returned value is guaranteed to be consistent with the filter. The return value of <code>null</code> |
| means entry did not pass the provided filter or cache has no mapping for the |
| key. |
| <p> |
| If the value is not present in cache, then it will be looked up from swap storage. If |
| it's not present in swap, or if swap is disabled, and if read-through is allowed, value |
| will be loaded from <a href="../../../../../org/apache/ignite/cache/store/CacheStore.html" title="interface in org.apache.ignite.cache.store"><code>CacheStore</code></a> persistent storage via |
| <code>CacheStore#load(Transaction, Object)</code> method. |
| <h2 class="header">Transactions</h2> |
| This method is transactional and will enlist the entry into ongoing transaction |
| if there is one.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code>getAsync</code> in interface <code>org.apache.ignite.internal.processors.cache.IgniteInternalCache<<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>key</code> - Key for the value to get.</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>Future for the get operation.</dd></dl> |
| </li> |
| </ul> |
| <a name="getEntryAsync(java.lang.Object)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getEntryAsync</h4> |
| <pre>public org.apache.ignite.internal.IgniteInternalFuture<<a href="../../../../../org/apache/ignite/cache/CacheEntry.html" title="interface in org.apache.ignite.cache">CacheEntry</a><<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>>> getEntryAsync(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> key)</pre> |
| <div class="block">Asynchronously retrieves value mapped to the specified key from cache. Value will only be returned if |
| its entry passed the optional filter provided. Filter check is atomic, and therefore the |
| returned value is guaranteed to be consistent with the filter. The return value of <code>null</code> |
| means entry did not pass the provided filter or cache has no mapping for the |
| key. |
| <p> |
| If the value is not present in cache, then it will be looked up from swap storage. If |
| it's not present in swap, or if swap is disabled, and if read-through is allowed, value |
| will be loaded from <a href="../../../../../org/apache/ignite/cache/store/CacheStore.html" title="interface in org.apache.ignite.cache.store"><code>CacheStore</code></a> persistent storage via |
| <code>CacheStore#load(Transaction, Object)</code> method. |
| <h2 class="header">Transactions</h2> |
| This method is transactional and will enlist the entry into ongoing transaction |
| if there is one.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code>getEntryAsync</code> in interface <code>org.apache.ignite.internal.processors.cache.IgniteInternalCache<<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>key</code> - Key for the value to get.</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>Future for the get operation.</dd></dl> |
| </li> |
| </ul> |
| <a name="getAll(java.util.Collection)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getAll</h4> |
| <pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a> getAll(@Nullable |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a> keys) |
| throws <a href="../../../../../org/apache/ignite/IgniteCheckedException.html" title="class in org.apache.ignite">IgniteCheckedException</a></pre> |
| <div class="block">Retrieves values mapped to the specified keys from cache. Value will only be returned if |
| its entry passed the optional filter provided. Filter check is atomic, and therefore the |
| returned value is guaranteed to be consistent with the filter. If requested key-value pair |
| is not present in the returned map, then it means that its entry did not pass the provided |
| filter or cache has no mapping for the key. |
| <p> |
| If some value is not present in cache, then it will be looked up from swap storage. If |
| it's not present in swap, or if swap is disabled, and if read-through is allowed, value |
| will be loaded from <a href="../../../../../org/apache/ignite/cache/store/CacheStore.html" title="interface in org.apache.ignite.cache.store"><code>CacheStore</code></a> persistent storage via |
| <code>CacheStore#loadAll(Transaction, Collection, org.apache.ignite.lang.IgniteBiInClosure)</code> method. |
| <h2 class="header">Transactions</h2> |
| This method is transactional and will enlist the entry into ongoing transaction |
| if there is one.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code>getAll</code> in interface <code>org.apache.ignite.internal.processors.cache.IgniteInternalCache<<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>keys</code> - Keys to get.</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>Map of key-value pairs.</dd> |
| <dt><span class="strong">Throws:</span></dt> |
| <dd><code><a href="../../../../../org/apache/ignite/IgniteCheckedException.html" title="class in org.apache.ignite">IgniteCheckedException</a></code> - If get operation failed.</dd></dl> |
| </li> |
| </ul> |
| <a name="getEntries(java.util.Collection)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getEntries</h4> |
| <pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a><<a href="../../../../../org/apache/ignite/cache/CacheEntry.html" title="interface in org.apache.ignite.cache">CacheEntry</a><<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>>> getEntries(@Nullable |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a> keys) |
| throws <a href="../../../../../org/apache/ignite/IgniteCheckedException.html" title="class in org.apache.ignite">IgniteCheckedException</a></pre> |
| <div class="block">Retrieves values mapped to the specified keys from cache. Value will only be returned if |
| its entry passed the optional filter provided. Filter check is atomic, and therefore the |
| returned value is guaranteed to be consistent with the filter. If requested key-value pair |
| is not present in the returned map, then it means that its entry did not pass the provided |
| filter or cache has no mapping for the key. |
| <p> |
| If some value is not present in cache, then it will be looked up from swap storage. If |
| it's not present in swap, or if swap is disabled, and if read-through is allowed, value |
| will be loaded from <a href="../../../../../org/apache/ignite/cache/store/CacheStore.html" title="interface in org.apache.ignite.cache.store"><code>CacheStore</code></a> persistent storage via |
| <code>CacheStore#loadAll(Transaction, Collection, org.apache.ignite.lang.IgniteBiInClosure)</code> method. |
| <h2 class="header">Transactions</h2> |
| This method is transactional and will enlist the entry into ongoing transaction |
| if there is one.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code>getEntries</code> in interface <code>org.apache.ignite.internal.processors.cache.IgniteInternalCache<<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>keys</code> - Keys to get.</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>Map of key-value pairs.</dd> |
| <dt><span class="strong">Throws:</span></dt> |
| <dd><code><a href="../../../../../org/apache/ignite/IgniteCheckedException.html" title="class in org.apache.ignite">IgniteCheckedException</a></code> - If get operation failed.</dd></dl> |
| </li> |
| </ul> |
| <a name="getAllAsync(java.util.Collection)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getAllAsync</h4> |
| <pre>public org.apache.ignite.internal.IgniteInternalFuture<<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>>> getAllAsync(@Nullable |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a> keys)</pre> |
| <div class="block">Asynchronously retrieves values mapped to the specified keys from cache. Value will only be returned if |
| its entry passed the optional filter provided. Filter check is atomic, and therefore the |
| returned value is guaranteed to be consistent with the filter. If requested key-value pair |
| is not present in the returned map, then it means that its entry did not pass the provided |
| filter or cache has no mapping for the key. |
| <p> |
| If some value is not present in cache, then it will be looked up from swap storage. If |
| it's not present in swap, or if swap is disabled, and if read-through is allowed, value |
| will be loaded from <a href="../../../../../org/apache/ignite/cache/store/CacheStore.html" title="interface in org.apache.ignite.cache.store"><code>CacheStore</code></a> persistent storage via |
| <code>CacheStore#loadAll(Transaction, Collection, org.apache.ignite.lang.IgniteBiInClosure)</code> method. |
| <h2 class="header">Transactions</h2> |
| This method is transactional and will enlist the entry into ongoing transaction |
| if there is one.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code>getAllAsync</code> in interface <code>org.apache.ignite.internal.processors.cache.IgniteInternalCache<<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>keys</code> - Key for the value to get.</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>Future for the get operation.</dd></dl> |
| </li> |
| </ul> |
| <a name="getEntriesAsync(java.util.Collection)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getEntriesAsync</h4> |
| <pre>public org.apache.ignite.internal.IgniteInternalFuture<<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a><<a href="../../../../../org/apache/ignite/cache/CacheEntry.html" title="interface in org.apache.ignite.cache">CacheEntry</a><<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>>>> getEntriesAsync(@Nullable |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a> keys)</pre> |
| <div class="block">Asynchronously retrieves values mapped to the specified keys from cache. Value will only be returned if |
| its entry passed the optional filter provided. Filter check is atomic, and therefore the |
| returned value is guaranteed to be consistent with the filter. If requested key-value pair |
| is not present in the returned map, then it means that its entry did not pass the provided |
| filter or cache has no mapping for the key. |
| <p> |
| If some value is not present in cache, then it will be looked up from swap storage. If |
| it's not present in swap, or if swap is disabled, and if read-through is allowed, value |
| will be loaded from <a href="../../../../../org/apache/ignite/cache/store/CacheStore.html" title="interface in org.apache.ignite.cache.store"><code>CacheStore</code></a> persistent storage via |
| <code>CacheStore#loadAll(Transaction, Collection, org.apache.ignite.lang.IgniteBiInClosure)</code> method. |
| <h2 class="header">Transactions</h2> |
| This method is transactional and will enlist the entry into ongoing transaction |
| if there is one.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code>getEntriesAsync</code> in interface <code>org.apache.ignite.internal.processors.cache.IgniteInternalCache<<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>keys</code> - Key for the value to get.</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>Future for the get operation.</dd></dl> |
| </li> |
| </ul> |
| <a name="getAndPut(java.lang.Object, java.lang.Object)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getAndPut</h4> |
| <pre>@Nullable |
| public <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> getAndPut(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> key, |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> val) |
| throws <a href="../../../../../org/apache/ignite/IgniteCheckedException.html" title="class in org.apache.ignite">IgniteCheckedException</a></pre> |
| <div class="block">Stores given key-value pair in cache. If filters are provided, then entries will |
| be stored in cache only if they pass the filter. Note that filter check is atomic, |
| so value stored in cache is guaranteed to be consistent with the filters. If cache |
| previously contained value for the given key, then this value is returned. |
| In case of <a href="../../../../../org/apache/ignite/cache/CacheMode.html#PARTITIONED"><code>CacheMode.PARTITIONED</code></a> or <a href="../../../../../org/apache/ignite/cache/CacheMode.html#REPLICATED"><code>CacheMode.REPLICATED</code></a> caches, |
| the value will be loaded from the primary node, which in its turn may load the value |
| from the swap storage, and consecutively, if it's not in swap, |
| from the underlying persistent storage. If value has to be loaded from persistent |
| storage, <code>CacheStore#load(Transaction, Object)</code> method will be used. |
| <p> |
| If the returned value is not needed, method <code>#putx(Object, Object, org.apache.ignite.lang.IgnitePredicate[])</code> should |
| always be used instead of this one to avoid the overhead associated with returning of the previous value. |
| <p> |
| If write-through is enabled, the stored value will be persisted to <a href="../../../../../org/apache/ignite/cache/store/CacheStore.html" title="interface in org.apache.ignite.cache.store"><code>CacheStore</code></a> |
| via <code>CacheStore#put(Transaction, Object, Object)</code> method. |
| <h2 class="header">Transactions</h2> |
| This method is transactional and will enlist the entry into ongoing transaction |
| if there is one.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code>getAndPut</code> in interface <code>org.apache.ignite.internal.processors.cache.IgniteInternalCache<<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>key</code> - Key to store in cache.</dd><dd><code>val</code> - Value to be associated with the given key.</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>Previous value associated with specified key, or <code>null</code> |
| if entry did not pass the filter, or if there was no mapping for the key in swap |
| or in persistent storage.</dd> |
| <dt><span class="strong">Throws:</span></dt> |
| <dd><code><a href="../../../../../org/apache/ignite/IgniteCheckedException.html" title="class in org.apache.ignite">IgniteCheckedException</a></code> - If put operation failed.</dd></dl> |
| </li> |
| </ul> |
| <a name="getAndPutAsync(java.lang.Object, java.lang.Object)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getAndPutAsync</h4> |
| <pre>public org.apache.ignite.internal.IgniteInternalFuture getAndPutAsync(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> key, |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> val)</pre> |
| <div class="block">Asynchronously stores given key-value pair in cache. If filters are provided, then entries will |
| be stored in cache only if they pass the filter. Note that filter check is atomic, |
| so value stored in cache is guaranteed to be consistent with the filters. If cache |
| previously contained value for the given key, then this value is returned. Otherwise, |
| in case of <a href="../../../../../org/apache/ignite/cache/CacheMode.html#REPLICATED"><code>CacheMode.REPLICATED</code></a> caches, the value will be loaded from swap |
| and, if it's not there, and read-through is allowed, from the underlying |
| <a href="../../../../../org/apache/ignite/cache/store/CacheStore.html" title="interface in org.apache.ignite.cache.store"><code>CacheStore</code></a> storage. In case of <a href="../../../../../org/apache/ignite/cache/CacheMode.html#PARTITIONED"><code>CacheMode.PARTITIONED</code></a> caches, |
| the value will be loaded from the primary node, which in its turn may load the value |
| from the swap storage, and consecutively, if it's not in swap and read-through is allowed, |
| from the underlying persistent storage. If value has to be loaded from persistent |
| storage, <code>CacheStore#load(Transaction, Object)</code> method will be used. |
| <p> |
| If the returned value is not needed, method <code>#putx(Object, Object, org.apache.ignite.lang.IgnitePredicate[])</code> should |
| always be used instead of this one to avoid the overhead associated with returning of the previous value. |
| <p> |
| If write-through is enabled, the stored value will be persisted to <a href="../../../../../org/apache/ignite/cache/store/CacheStore.html" title="interface in org.apache.ignite.cache.store"><code>CacheStore</code></a> |
| via <code>CacheStore#put(Transaction, Object, Object)</code> method. |
| <h2 class="header">Transactions</h2> |
| This method is transactional and will enlist the entry into ongoing transaction |
| if there is one.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code>getAndPutAsync</code> in interface <code>org.apache.ignite.internal.processors.cache.IgniteInternalCache<<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>key</code> - Key to store in cache.</dd><dd><code>val</code> - Value to be associated with the given key.</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>Future for the put operation.</dd></dl> |
| </li> |
| </ul> |
| <a name="put(java.lang.Object, java.lang.Object)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>put</h4> |
| <pre>public boolean put(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> key, |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> val) |
| throws <a href="../../../../../org/apache/ignite/IgniteCheckedException.html" title="class in org.apache.ignite">IgniteCheckedException</a></pre> |
| <div class="block">Stores given key-value pair in cache. If filters are provided, then entries will |
| be stored in cache only if they pass the filter. Note that filter check is atomic, |
| so value stored in cache is guaranteed to be consistent with the filters. |
| <p> |
| This method will return <code>true</code> if value is stored in cache and <code>false</code> otherwise. |
| Unlike <code>#put(Object, Object, org.apache.ignite.lang.IgnitePredicate[])</code> method, it does not return previous |
| value and, therefore, does not have any overhead associated with returning a value. It |
| should be used whenever return value is not required. |
| <p> |
| If write-through is enabled, the stored value will be persisted to <a href="../../../../../org/apache/ignite/cache/store/CacheStore.html" title="interface in org.apache.ignite.cache.store"><code>CacheStore</code></a> |
| via <code>CacheStore#put(Transaction, Object, Object)</code> method. |
| <h2 class="header">Transactions</h2> |
| This method is transactional and will enlist the entry into ongoing transaction |
| if there is one.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code>put</code> in interface <code>org.apache.ignite.internal.processors.cache.IgniteInternalCache<<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>key</code> - Key to store in cache.</dd><dd><code>val</code> - Value to be associated with the given key.</dd> |
| <dt><span class="strong">Returns:</span></dt><dd><code>True</code> if optional filter passed and value was stored in cache, |
| <code>false</code> otherwise. Note that this method will return <code>true</code> if filter is not |
| specified.</dd> |
| <dt><span class="strong">Throws:</span></dt> |
| <dd><code><a href="../../../../../org/apache/ignite/IgniteCheckedException.html" title="class in org.apache.ignite">IgniteCheckedException</a></code> - If put operation failed.</dd></dl> |
| </li> |
| </ul> |
| <a name="putAsync(java.lang.Object, java.lang.Object)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>putAsync</h4> |
| <pre>public org.apache.ignite.internal.IgniteInternalFuture<<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a>> putAsync(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> key, |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> val)</pre> |
| <div class="block">Stores given key-value pair in cache. If filters are provided, then entries will |
| be stored in cache only if they pass the filter. Note that filter check is atomic, |
| so value stored in cache is guaranteed to be consistent with the filters. |
| <p> |
| This method will return <code>true</code> if value is stored in cache and <code>false</code> otherwise. |
| Unlike <code>#put(Object, Object, org.apache.ignite.lang.IgnitePredicate[])</code> method, it does not return previous |
| value and, therefore, does not have any overhead associated with returning of a value. It |
| should always be used whenever return value is not required. |
| <p> |
| If write-through is enabled, the stored value will be persisted to <a href="../../../../../org/apache/ignite/cache/store/CacheStore.html" title="interface in org.apache.ignite.cache.store"><code>CacheStore</code></a> |
| via <code>CacheStore#put(Transaction, Object, Object)</code> method. |
| <h2 class="header">Transactions</h2> |
| This method is transactional and will enlist the entry into ongoing transaction |
| if there is one.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code>putAsync</code> in interface <code>org.apache.ignite.internal.processors.cache.IgniteInternalCache<<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>key</code> - Key to store in cache.</dd><dd><code>val</code> - Value to be associated with the given key.</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>Future for the put operation. Future will return <code>true</code> if optional filter |
| passed and value was stored in cache, <code>false</code> otherwise. Note that future will |
| return <code>true</code> if filter is not specified.</dd></dl> |
| </li> |
| </ul> |
| <a name="getAndPutIfAbsent(java.lang.Object, java.lang.Object)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getAndPutIfAbsent</h4> |
| <pre>@Nullable |
| public <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> getAndPutIfAbsent(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> key, |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> val) |
| throws <a href="../../../../../org/apache/ignite/IgniteCheckedException.html" title="class in org.apache.ignite">IgniteCheckedException</a></pre> |
| <div class="block">Stores given key-value pair in cache only if cache had no previous mapping for it. If cache |
| previously contained value for the given key, then this value is returned. |
| In case of <a href="../../../../../org/apache/ignite/cache/CacheMode.html#PARTITIONED"><code>CacheMode.PARTITIONED</code></a> or <a href="../../../../../org/apache/ignite/cache/CacheMode.html#REPLICATED"><code>CacheMode.REPLICATED</code></a> caches, |
| the value will be loaded from the primary node, which in its turn may load the value |
| from the swap storage, and consecutively, if it's not in swap, |
| from the underlying persistent storage. If value has to be loaded from persistent |
| storage, <code>CacheStore#load(Transaction, Object)</code> method will be used. |
| <p> |
| If the returned value is not needed, method <code>IgniteInternalCache.putIfAbsent(Object, Object)</code> should |
| always be used instead of this one to avoid the overhead associated with returning of the |
| previous value. |
| <p> |
| If write-through is enabled, the stored value will be persisted to <a href="../../../../../org/apache/ignite/cache/store/CacheStore.html" title="interface in org.apache.ignite.cache.store"><code>CacheStore</code></a> |
| via <code>CacheStore#put(Transaction, Object, Object)</code> method. |
| <h2 class="header">Transactions</h2> |
| This method is transactional and will enlist the entry into ongoing transaction |
| if there is one.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code>getAndPutIfAbsent</code> in interface <code>org.apache.ignite.internal.processors.cache.IgniteInternalCache<<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>key</code> - Key to store in cache.</dd><dd><code>val</code> - Value to be associated with the given key.</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>Previously contained value regardless of whether put happened or not.</dd> |
| <dt><span class="strong">Throws:</span></dt> |
| <dd><code><a href="../../../../../org/apache/ignite/IgniteCheckedException.html" title="class in org.apache.ignite">IgniteCheckedException</a></code> - If put operation failed.</dd></dl> |
| </li> |
| </ul> |
| <a name="getAndPutIfAbsentAsync(java.lang.Object, java.lang.Object)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getAndPutIfAbsentAsync</h4> |
| <pre>public org.apache.ignite.internal.IgniteInternalFuture getAndPutIfAbsentAsync(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> key, |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> val)</pre> |
| <div class="block">Asynchronously stores given key-value pair in cache only if cache had no previous mapping for it. If cache |
| previously contained value for the given key, then this value is returned. In case of |
| <a href="../../../../../org/apache/ignite/cache/CacheMode.html#PARTITIONED"><code>CacheMode.PARTITIONED</code></a> or <a href="../../../../../org/apache/ignite/cache/CacheMode.html#REPLICATED"><code>CacheMode.REPLICATED</code></a> caches, |
| the value will be loaded from the primary node, which in its turn may load the value |
| from the swap storage, and consecutively, if it's not in swap, |
| from the underlying persistent storage. If value has to be loaded from persistent |
| storage, <code>CacheStore#load(Transaction, Object)</code> method will be used. |
| <p> |
| If the returned value is not needed, method <code>IgniteInternalCache.putIfAbsentAsync(Object, Object)</code> should |
| always be used instead of this one to avoid the overhead associated with returning of the |
| previous value. |
| <p> |
| If write-through is enabled, the stored value will be persisted to <a href="../../../../../org/apache/ignite/cache/store/CacheStore.html" title="interface in org.apache.ignite.cache.store"><code>CacheStore</code></a> |
| via <code>CacheStore#put(Transaction, Object, Object)</code> method. |
| <h2 class="header">Transactions</h2> |
| This method is transactional and will enlist the entry into ongoing transaction |
| if there is one.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code>getAndPutIfAbsentAsync</code> in interface <code>org.apache.ignite.internal.processors.cache.IgniteInternalCache<<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>key</code> - Key to store in cache.</dd><dd><code>val</code> - Value to be associated with the given key.</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>Future of put operation which will provide previously contained value |
| regardless of whether put happened or not.</dd></dl> |
| </li> |
| </ul> |
| <a name="putIfAbsent(java.lang.Object, java.lang.Object)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>putIfAbsent</h4> |
| <pre>public boolean putIfAbsent(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> key, |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> val) |
| throws <a href="../../../../../org/apache/ignite/IgniteCheckedException.html" title="class in org.apache.ignite">IgniteCheckedException</a></pre> |
| <div class="block">Stores given key-value pair in cache only if cache had no previous mapping for it. |
| <p> |
| This method will return <code>true</code> if value is stored in cache and <code>false</code> otherwise. |
| Unlike <code>IgniteInternalCache.getAndPutIfAbsent(Object, Object)</code> method, it does not return previous |
| value and, therefore, does not have any overhead associated with returning of a value. It |
| should always be used whenever return value is not required. |
| <p> |
| If write-through is enabled, the stored value will be persisted to <a href="../../../../../org/apache/ignite/cache/store/CacheStore.html" title="interface in org.apache.ignite.cache.store"><code>CacheStore</code></a> |
| via <code>CacheStore#put(Transaction, Object, Object)</code> method. |
| <h2 class="header">Transactions</h2> |
| This method is transactional and will enlist the entry into ongoing transaction |
| if there is one.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code>putIfAbsent</code> in interface <code>org.apache.ignite.internal.processors.cache.IgniteInternalCache<<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>key</code> - Key to store in cache.</dd><dd><code>val</code> - Value to be associated with the given key.</dd> |
| <dt><span class="strong">Returns:</span></dt><dd><code>true</code> if value is stored in cache and <code>false</code> otherwise.</dd> |
| <dt><span class="strong">Throws:</span></dt> |
| <dd><code><a href="../../../../../org/apache/ignite/IgniteCheckedException.html" title="class in org.apache.ignite">IgniteCheckedException</a></code> - If put operation failed.</dd></dl> |
| </li> |
| </ul> |
| <a name="putIfAbsentAsync(java.lang.Object, java.lang.Object)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>putIfAbsentAsync</h4> |
| <pre>public org.apache.ignite.internal.IgniteInternalFuture<<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a>> putIfAbsentAsync(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> key, |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> val)</pre> |
| <div class="block">Asynchronously stores given key-value pair in cache only if cache had no previous mapping for it. |
| <p> |
| This method will return <code>true</code> if value is stored in cache and <code>false</code> otherwise. |
| Unlike <code>IgniteInternalCache.getAndPutIfAbsent(Object, Object)</code> method, it does not return previous |
| value and, therefore, does not have any overhead associated with returning of a value. It |
| should always be used whenever return value is not required. |
| <p> |
| If write-through is enabled, the stored value will be persisted to <a href="../../../../../org/apache/ignite/cache/store/CacheStore.html" title="interface in org.apache.ignite.cache.store"><code>CacheStore</code></a> |
| via <code>CacheStore#put(Transaction, Object, Object)</code> method. |
| <h2 class="header">Transactions</h2> |
| This method is transactional and will enlist the entry into ongoing transaction |
| if there is one.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code>putIfAbsentAsync</code> in interface <code>org.apache.ignite.internal.processors.cache.IgniteInternalCache<<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>key</code> - Key to store in cache.</dd><dd><code>val</code> - Value to be associated with the given key.</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>Future for this put operation.</dd></dl> |
| </li> |
| </ul> |
| <a name="getAndReplace(java.lang.Object, java.lang.Object)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getAndReplace</h4> |
| <pre>@Nullable |
| public <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> getAndReplace(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> key, |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> val) |
| throws <a href="../../../../../org/apache/ignite/IgniteCheckedException.html" title="class in org.apache.ignite">IgniteCheckedException</a></pre> |
| <div class="block">Stores given key-value pair in cache only if there is a previous mapping for it. |
| In case of <a href="../../../../../org/apache/ignite/cache/CacheMode.html#PARTITIONED"><code>CacheMode.PARTITIONED</code></a> or <a href="../../../../../org/apache/ignite/cache/CacheMode.html#REPLICATED"><code>CacheMode.REPLICATED</code></a> caches, |
| the value will be loaded from the primary node, which in its turn may load the value |
| from the swap storage, and consecutively, if it's not in swap, |
| from the underlying persistent storage. If value has to be loaded from persistent |
| storage, <code>CacheStore#load(Transaction, Object)</code> method will be used. |
| <p> |
| If the returned value is not needed, method <code>IgniteInternalCache.replace(Object, Object)</code> should |
| always be used instead of this one to avoid the overhead associated with returning of the |
| previous value. |
| <p> |
| If write-through is enabled, the stored value will be persisted to <a href="../../../../../org/apache/ignite/cache/store/CacheStore.html" title="interface in org.apache.ignite.cache.store"><code>CacheStore</code></a> |
| via <code>CacheStore#put(Transaction, Object, Object)</code> method. |
| <h2 class="header">Transactions</h2> |
| This method is transactional and will enlist the entry into ongoing transaction |
| if there is one.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code>getAndReplace</code> in interface <code>org.apache.ignite.internal.processors.cache.IgniteInternalCache<<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>key</code> - Key to store in cache.</dd><dd><code>val</code> - Value to be associated with the given key.</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>Previously contained value regardless of whether replace happened or not.</dd> |
| <dt><span class="strong">Throws:</span></dt> |
| <dd><code><a href="../../../../../org/apache/ignite/IgniteCheckedException.html" title="class in org.apache.ignite">IgniteCheckedException</a></code> - If replace operation failed.</dd></dl> |
| </li> |
| </ul> |
| <a name="getAndReplaceAsync(java.lang.Object, java.lang.Object)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getAndReplaceAsync</h4> |
| <pre>public org.apache.ignite.internal.IgniteInternalFuture getAndReplaceAsync(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> key, |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> val)</pre> |
| <div class="block">Asynchronously stores given key-value pair in cache only if there is a previous mapping for it. If cache |
| previously contained value for the given key, then this value is returned.In case of |
| <a href="../../../../../org/apache/ignite/cache/CacheMode.html#PARTITIONED"><code>CacheMode.PARTITIONED</code></a> caches, the value will be loaded from the primary node, |
| which in its turn may load the value from the swap storage, and consecutively, if it's not in swap, |
| from the underlying persistent storage. If value has to be loaded from persistent |
| storage, <code>CacheStore#load(Transaction, Object)</code> method will be used. |
| <p> |
| If the returned value is not needed, method <code>IgniteInternalCache.replace(Object, Object)</code> should |
| always be used instead of this one to avoid the overhead associated with returning of the |
| previous value. |
| <p> |
| If write-through is enabled, the stored value will be persisted to <a href="../../../../../org/apache/ignite/cache/store/CacheStore.html" title="interface in org.apache.ignite.cache.store"><code>CacheStore</code></a> |
| via <code>CacheStore#put(Transaction, Object, Object)</code> method. |
| <h2 class="header">Transactions</h2> |
| This method is transactional and will enlist the entry into ongoing transaction |
| if there is one.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code>getAndReplaceAsync</code> in interface <code>org.apache.ignite.internal.processors.cache.IgniteInternalCache<<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>key</code> - Key to store in cache.</dd><dd><code>val</code> - Value to be associated with the given key.</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>Future for replace operation.</dd></dl> |
| </li> |
| </ul> |
| <a name="replace(java.lang.Object, java.lang.Object)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>replace</h4> |
| <pre>public boolean replace(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> key, |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> val) |
| throws <a href="../../../../../org/apache/ignite/IgniteCheckedException.html" title="class in org.apache.ignite">IgniteCheckedException</a></pre> |
| <div class="block">Stores given key-value pair in cache only if only if there is a previous mapping for it. |
| <p> |
| This method will return <code>true</code> if value is stored in cache and <code>false</code> otherwise. |
| Unlike <code>IgniteInternalCache.getAndReplace(Object, Object)</code> method, it does not return previous |
| value and, therefore, does not have any overhead associated with returning of a value. It |
| should always be used whenever return value is not required. |
| <p> |
| If write-through is enabled, the stored value will be persisted to <a href="../../../../../org/apache/ignite/cache/store/CacheStore.html" title="interface in org.apache.ignite.cache.store"><code>CacheStore</code></a> |
| via <code>CacheStore#put(Transaction, Object, Object)</code> method. |
| <h2 class="header">Transactions</h2> |
| This method is transactional and will enlist the entry into ongoing transaction |
| if there is one.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code>replace</code> in interface <code>org.apache.ignite.internal.processors.cache.IgniteInternalCache<<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>key</code> - Key to store in cache.</dd><dd><code>val</code> - Value to be associated with the given key.</dd> |
| <dt><span class="strong">Returns:</span></dt><dd><code>True</code> if replace happened, <code>false</code> otherwise.</dd> |
| <dt><span class="strong">Throws:</span></dt> |
| <dd><code><a href="../../../../../org/apache/ignite/IgniteCheckedException.html" title="class in org.apache.ignite">IgniteCheckedException</a></code> - If replace operation failed.</dd></dl> |
| </li> |
| </ul> |
| <a name="replaceAsync(java.lang.Object, java.lang.Object)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>replaceAsync</h4> |
| <pre>public org.apache.ignite.internal.IgniteInternalFuture<<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a>> replaceAsync(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> key, |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> val)</pre> |
| <div class="block">Asynchronously stores given key-value pair in cache only if only if there is a previous mapping for it. |
| <p> |
| This method will return <code>true</code> if value is stored in cache and <code>false</code> otherwise. |
| Unlike <code>IgniteInternalCache.getAndReplaceAsync(Object, Object)</code> method, it does not return previous |
| value and, therefore, does not have any overhead associated with returning of a value. It |
| should always be used whenever return value is not required. |
| <p> |
| If write-through is enabled, the stored value will be persisted to <a href="../../../../../org/apache/ignite/cache/store/CacheStore.html" title="interface in org.apache.ignite.cache.store"><code>CacheStore</code></a> |
| via <code>CacheStore#put(Transaction, Object, Object)</code> method. |
| <h2 class="header">Transactions</h2> |
| This method is transactional and will enlist the entry into ongoing transaction |
| if there is one.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code>replaceAsync</code> in interface <code>org.apache.ignite.internal.processors.cache.IgniteInternalCache<<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>key</code> - Key to store in cache.</dd><dd><code>val</code> - Value to be associated with the given key.</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>Future for the replace operation.</dd></dl> |
| </li> |
| </ul> |
| <a name="replace(java.lang.Object, java.lang.Object, java.lang.Object)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>replace</h4> |
| <pre>public boolean replace(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> key, |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> oldVal, |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> newVal) |
| throws <a href="../../../../../org/apache/ignite/IgniteCheckedException.html" title="class in org.apache.ignite">IgniteCheckedException</a></pre> |
| <div class="block">Stores given key-value pair in cache only if only if the previous value is equal to the |
| <code>'oldVal'</code> passed in. |
| <p> |
| This method will return <code>true</code> if value is stored in cache and <code>false</code> otherwise. |
| <p> |
| If write-through is enabled, the stored value will be persisted to <a href="../../../../../org/apache/ignite/cache/store/CacheStore.html" title="interface in org.apache.ignite.cache.store"><code>CacheStore</code></a> |
| via <code>CacheStore#put(Transaction, Object, Object)</code> method. |
| <h2 class="header">Transactions</h2> |
| This method is transactional and will enlist the entry into ongoing transaction |
| if there is one.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code>replace</code> in interface <code>org.apache.ignite.internal.processors.cache.IgniteInternalCache<<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>key</code> - Key to store in cache.</dd><dd><code>oldVal</code> - Old value to match.</dd><dd><code>newVal</code> - Value to be associated with the given key.</dd> |
| <dt><span class="strong">Returns:</span></dt><dd><code>True</code> if replace happened, <code>false</code> otherwise.</dd> |
| <dt><span class="strong">Throws:</span></dt> |
| <dd><code><a href="../../../../../org/apache/ignite/IgniteCheckedException.html" title="class in org.apache.ignite">IgniteCheckedException</a></code> - If replace operation failed.</dd></dl> |
| </li> |
| </ul> |
| <a name="replaceAsync(java.lang.Object, java.lang.Object, java.lang.Object)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>replaceAsync</h4> |
| <pre>public org.apache.ignite.internal.IgniteInternalFuture<<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a>> replaceAsync(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> key, |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> oldVal, |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> newVal)</pre> |
| <div class="block">Asynchronously stores given key-value pair in cache only if only if the previous value is equal to the |
| <code>'oldVal'</code> passed in. |
| <p> |
| This method will return <code>true</code> if value is stored in cache and <code>false</code> otherwise. |
| <p> |
| If write-through is enabled, the stored value will be persisted to <a href="../../../../../org/apache/ignite/cache/store/CacheStore.html" title="interface in org.apache.ignite.cache.store"><code>CacheStore</code></a> |
| via <code>CacheStore#put(Transaction, Object, Object)</code> method. |
| <h2 class="header">Transactions</h2> |
| This method is transactional and will enlist the entry into ongoing transaction |
| if there is one.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code>replaceAsync</code> in interface <code>org.apache.ignite.internal.processors.cache.IgniteInternalCache<<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>key</code> - Key to store in cache.</dd><dd><code>oldVal</code> - Old value to match.</dd><dd><code>newVal</code> - Value to be associated with the given key.</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>Future for the replace operation.</dd></dl> |
| </li> |
| </ul> |
| <a name="putAll(java.util.Map)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>putAll</h4> |
| <pre>public void putAll(@Nullable |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a> m) |
| throws <a href="../../../../../org/apache/ignite/IgniteCheckedException.html" title="class in org.apache.ignite">IgniteCheckedException</a></pre> |
| <div class="block">Stores given key-value pairs in cache. If filters are provided, then entries will |
| be stored in cache only if they pass the filter. Note that filter check is atomic, |
| so value stored in cache is guaranteed to be consistent with the filters. |
| <p> |
| If write-through is enabled, the stored values will be persisted to <a href="../../../../../org/apache/ignite/cache/store/CacheStore.html" title="interface in org.apache.ignite.cache.store"><code>CacheStore</code></a> |
| via <code>CacheStore#putAll(Transaction, Map)</code> method. |
| <h2 class="header">Transactions</h2> |
| This method is transactional and will enlist the entry into ongoing transaction |
| if there is one.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code>putAll</code> in interface <code>org.apache.ignite.internal.processors.cache.IgniteInternalCache<<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>m</code> - Key-value pairs to store in cache.</dd> |
| <dt><span class="strong">Throws:</span></dt> |
| <dd><code><a href="../../../../../org/apache/ignite/IgniteCheckedException.html" title="class in org.apache.ignite">IgniteCheckedException</a></code> - If put operation failed.</dd></dl> |
| </li> |
| </ul> |
| <a name="putAllAsync(java.util.Map)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>putAllAsync</h4> |
| <pre>public org.apache.ignite.internal.IgniteInternalFuture<?> putAllAsync(@Nullable |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a> m)</pre> |
| <div class="block">Asynchronously stores given key-value pairs in cache. If filters are provided, then entries will |
| be stored in cache only if they pass the filter. Note that filter check is atomic, |
| so value stored in cache is guaranteed to be consistent with the filters. |
| <p> |
| If write-through is enabled, the stored values will be persisted to <a href="../../../../../org/apache/ignite/cache/store/CacheStore.html" title="interface in org.apache.ignite.cache.store"><code>CacheStore</code></a> |
| via <code>CacheStore#putAll(Transaction, Map)</code> method. |
| <h2 class="header">Transactions</h2> |
| This method is transactional and will enlist the entry into ongoing transaction |
| if there is one.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code>putAllAsync</code> in interface <code>org.apache.ignite.internal.processors.cache.IgniteInternalCache<<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>m</code> - Key-value pairs to store in cache.</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>Future for putAll operation.</dd></dl> |
| </li> |
| </ul> |
| <a name="keySet()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>keySet</h4> |
| <pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a> keySet()</pre> |
| <div class="block">Set of keys cached on this node. You can remove elements from this set, but you cannot add elements |
| to this set. All removal operation will be reflected on the cache itself. |
| <p> |
| Iterator over this set will not fail if set was concurrently updated |
| by another thread. This means that iterator may or may not return latest |
| keys depending on whether they were added before or after current |
| iterator position. |
| <p> |
| NOTE: this operation is not distributed and returns only the keys cached on this node.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code>keySet</code> in interface <code>org.apache.ignite.internal.processors.cache.IgniteInternalCache<<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>></code></dd> |
| <dt><span class="strong">Returns:</span></dt><dd>Key set for this cache projection.</dd></dl> |
| </li> |
| </ul> |
| <a name="entrySet()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>entrySet</h4> |
| <pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a><javax.cache.Cache.Entry<<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>>> entrySet()</pre> |
| <div class="block">Gets set of all entries cached on this node. You can remove |
| elements from this set, but you cannot add elements to this set. |
| All removal operation will be reflected on the cache itself. |
| <p> |
| NOTE: this operation is not distributed and returns only the entries cached on this node.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code>entrySet</code> in interface <code>org.apache.ignite.internal.processors.cache.IgniteInternalCache<<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>></code></dd> |
| <dt><span class="strong">Returns:</span></dt><dd>Entries that pass through key filter.</dd></dl> |
| </li> |
| </ul> |
| <a name="txStart(org.apache.ignite.transactions.TransactionConcurrency, org.apache.ignite.transactions.TransactionIsolation)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>txStart</h4> |
| <pre>public <a href="../../../../../org/apache/ignite/transactions/Transaction.html" title="interface in org.apache.ignite.transactions">Transaction</a> txStart(<a href="../../../../../org/apache/ignite/transactions/TransactionConcurrency.html" title="enum in org.apache.ignite.transactions">TransactionConcurrency</a> concurrency, |
| <a href="../../../../../org/apache/ignite/transactions/TransactionIsolation.html" title="enum in org.apache.ignite.transactions">TransactionIsolation</a> isolation)</pre> |
| <div class="block">Starts new transaction with the specified concurrency and isolation.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code>txStart</code> in interface <code>org.apache.ignite.internal.processors.cache.IgniteInternalCache<<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>concurrency</code> - Concurrency.</dd><dd><code>isolation</code> - Isolation.</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>New transaction.</dd></dl> |
| </li> |
| </ul> |
| <a name="txStartEx(org.apache.ignite.transactions.TransactionConcurrency, org.apache.ignite.transactions.TransactionIsolation)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>txStartEx</h4> |
| <pre>public org.apache.ignite.internal.processors.cache.distributed.near.GridNearTxLocal txStartEx(<a href="../../../../../org/apache/ignite/transactions/TransactionConcurrency.html" title="enum in org.apache.ignite.transactions">TransactionConcurrency</a> concurrency, |
| <a href="../../../../../org/apache/ignite/transactions/TransactionIsolation.html" title="enum in org.apache.ignite.transactions">TransactionIsolation</a> isolation)</pre> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code>txStartEx</code> in interface <code>org.apache.ignite.internal.processors.cache.IgniteInternalCache<<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>concurrency</code> - Concurrency.</dd><dd><code>isolation</code> - Isolation.</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>New transaction.</dd></dl> |
| </li> |
| </ul> |
| <a name="txStart(org.apache.ignite.transactions.TransactionConcurrency, org.apache.ignite.transactions.TransactionIsolation, long, int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>txStart</h4> |
| <pre>public <a href="../../../../../org/apache/ignite/transactions/Transaction.html" title="interface in org.apache.ignite.transactions">Transaction</a> txStart(<a href="../../../../../org/apache/ignite/transactions/TransactionConcurrency.html" title="enum in org.apache.ignite.transactions">TransactionConcurrency</a> concurrency, |
| <a href="../../../../../org/apache/ignite/transactions/TransactionIsolation.html" title="enum in org.apache.ignite.transactions">TransactionIsolation</a> isolation, |
| long timeout, |
| int txSize)</pre> |
| <div class="block">Starts transaction with specified isolation, concurrency, timeout, invalidation flag, |
| and number of participating entries.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code>txStart</code> in interface <code>org.apache.ignite.internal.processors.cache.IgniteInternalCache<<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>concurrency</code> - Concurrency.</dd><dd><code>isolation</code> - Isolation.</dd><dd><code>timeout</code> - Timeout.</dd><dd><code>txSize</code> - Number of entries participating in transaction (may be approximate).</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>New transaction.</dd></dl> |
| </li> |
| </ul> |
| <a name="tx()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>tx</h4> |
| <pre>@Nullable |
| public org.apache.ignite.internal.processors.cache.distributed.near.GridNearTxLocal tx()</pre> |
| <div class="block">Gets transaction started by this thread or <code>null</code> if this thread does |
| not have a transaction.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code>tx</code> in interface <code>org.apache.ignite.internal.processors.cache.IgniteInternalCache<<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>></code></dd> |
| <dt><span class="strong">Returns:</span></dt><dd>Transaction started by this thread or <code>null</code> if this thread |
| does not have a transaction.</dd></dl> |
| </li> |
| </ul> |
| <a name="evict(java.lang.Object)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>evict</h4> |
| <pre>public boolean evict(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> key)</pre> |
| <div class="block">Evicts entry associated with given key from cache. Note, that entry will be evicted |
| only if it's not used (not participating in any locks or transactions).</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code>evict</code> in interface <code>org.apache.ignite.internal.processors.cache.IgniteInternalCache<<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>key</code> - Key to evict from cache.</dd> |
| <dt><span class="strong">Returns:</span></dt><dd><code>True</code> if entry could be evicted, <code>false</code> otherwise.</dd></dl> |
| </li> |
| </ul> |
| <a name="evictAll(java.util.Collection)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>evictAll</h4> |
| <pre>public void evictAll(@Nullable |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a> keys)</pre> |
| <div class="block">Attempts to evict all entries associated with keys. Note, |
| that entry will be evicted only if it's not used (not |
| participating in any locks or transactions).</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code>evictAll</code> in interface <code>org.apache.ignite.internal.processors.cache.IgniteInternalCache<<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>keys</code> - Keys to evict.</dd></dl> |
| </li> |
| </ul> |
| <a name="clearLocally(boolean, boolean, boolean)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>clearLocally</h4> |
| <pre>public void clearLocally(boolean srv, |
| boolean near, |
| boolean readers)</pre> |
| <div class="block">Clears all entries from this cache only if the entry is not |
| currently locked or participating in a transaction. |
| <p> |
| Note that this operation is local as it merely clears |
| entries from local cache. It does not remove entries from |
| remote caches or from underlying persistent storage.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code>clearLocally</code> in interface <code>org.apache.ignite.internal.processors.cache.IgniteInternalCache<<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>srv</code> - Whether to clear server cache.</dd><dd><code>near</code> - Whether to clear near cache.</dd><dd><code>readers</code> - Whether to clear readers.</dd></dl> |
| </li> |
| </ul> |
| <a name="clearLocally(java.lang.Object)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>clearLocally</h4> |
| <pre>public boolean clearLocally(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> key)</pre> |
| <div class="block">Clears an entry from this cache and swap storage only if the entry |
| is not currently locked, and is not participating in a transaction. |
| <p> |
| Note that this operation is local as it merely clears |
| an entry from local cache. It does not remove entries from |
| remote caches or from underlying persistent storage.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code>clearLocally</code> in interface <code>org.apache.ignite.internal.processors.cache.IgniteInternalCache<<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>key</code> - Key to clearLocally.</dd> |
| <dt><span class="strong">Returns:</span></dt><dd><code>True</code> if entry was successfully cleared from cache, <code>false</code> |
| if entry was in use at the time of this method invocation and could not be |
| cleared.</dd></dl> |
| </li> |
| </ul> |
| <a name="clearLocallyAll(java.util.Set, boolean, boolean, boolean)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>clearLocallyAll</h4> |
| <pre>public void clearLocallyAll(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a> keys, |
| boolean srv, |
| boolean near, |
| boolean readers)</pre> |
| <div class="block">Clears entries from this cache and swap storage only if the entry |
| is not currently locked, and is not participating in a transaction. |
| <p> |
| Note that this operation is local as it merely clears |
| an entry from local cache. It does not remove entries from |
| remote caches or from underlying persistent storage.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code>clearLocallyAll</code> in interface <code>org.apache.ignite.internal.processors.cache.IgniteInternalCache<<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>keys</code> - Keys to clearLocally.</dd><dd><code>srv</code> - Whether to clear server cache.</dd><dd><code>near</code> - Whether to clear near cache.</dd><dd><code>readers</code> - Whether to clear readers.</dd></dl> |
| </li> |
| </ul> |
| <a name="clear(java.lang.Object)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>clear</h4> |
| <pre>public void clear(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> key) |
| throws <a href="../../../../../org/apache/ignite/IgniteCheckedException.html" title="class in org.apache.ignite">IgniteCheckedException</a></pre> |
| <div class="block">Clears key on all nodes that store it's data. That is, caches are cleared on remote |
| nodes and local node, as opposed to <code>IgniteInternalCache.clearLocally(Object)</code> method which only |
| clears local node's cache. |
| <p> |
| Ignite will make the best attempt to clear caches on all nodes. If some caches |
| could not be cleared, then exception will be thrown.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code>clear</code> in interface <code>org.apache.ignite.internal.processors.cache.IgniteInternalCache<<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>key</code> - Key to clear.</dd> |
| <dt><span class="strong">Throws:</span></dt> |
| <dd><code><a href="../../../../../org/apache/ignite/IgniteCheckedException.html" title="class in org.apache.ignite">IgniteCheckedException</a></code> - In case of cache could not be cleared on any of the nodes.</dd></dl> |
| </li> |
| </ul> |
| <a name="clearAll(java.util.Set)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>clearAll</h4> |
| <pre>public void clearAll(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a> keys) |
| throws <a href="../../../../../org/apache/ignite/IgniteCheckedException.html" title="class in org.apache.ignite">IgniteCheckedException</a></pre> |
| <div class="block">Clears keys on all nodes that store it's data. That is, caches are cleared on remote |
| nodes and local node, as opposed to <code>IgniteInternalCache.clearLocallyAll(Set, boolean, boolean, boolean)</code> method which only |
| clears local node's cache. |
| <p> |
| Ignite will make the best attempt to clear caches on all nodes. If some caches |
| could not be cleared, then exception will be thrown.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code>clearAll</code> in interface <code>org.apache.ignite.internal.processors.cache.IgniteInternalCache<<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>keys</code> - Keys to clear.</dd> |
| <dt><span class="strong">Throws:</span></dt> |
| <dd><code><a href="../../../../../org/apache/ignite/IgniteCheckedException.html" title="class in org.apache.ignite">IgniteCheckedException</a></code> - In case of cache could not be cleared on any of the nodes.</dd></dl> |
| </li> |
| </ul> |
| <a name="clear()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>clear</h4> |
| <pre>public void clear() |
| throws <a href="../../../../../org/apache/ignite/IgniteCheckedException.html" title="class in org.apache.ignite">IgniteCheckedException</a></pre> |
| <div class="block">Clears cache on all nodes that store it's data. That is, caches are cleared on remote |
| nodes and local node, as opposed to <code>IgniteInternalCache.clearLocally(boolean, boolean, boolean)</code> method which only |
| clears local node's cache. |
| <p> |
| Ignite will make the best attempt to clear caches on all nodes. If some caches |
| could not be cleared, then exception will be thrown. |
| <p></div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code>clear</code> in interface <code>org.apache.ignite.internal.processors.cache.IgniteInternalCache<<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>></code></dd> |
| <dt><span class="strong">Throws:</span></dt> |
| <dd><code><a href="../../../../../org/apache/ignite/IgniteCheckedException.html" title="class in org.apache.ignite">IgniteCheckedException</a></code> - In case of cache could not be cleared on any of the nodes.</dd></dl> |
| </li> |
| </ul> |
| <a name="clearAsync()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>clearAsync</h4> |
| <pre>public org.apache.ignite.internal.IgniteInternalFuture<?> clearAsync()</pre> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code>clearAsync</code> in interface <code>org.apache.ignite.internal.processors.cache.IgniteInternalCache<<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>></code></dd> |
| <dt><span class="strong">Returns:</span></dt><dd>Clear future.</dd></dl> |
| </li> |
| </ul> |
| <a name="clearAsync(java.lang.Object)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>clearAsync</h4> |
| <pre>public org.apache.ignite.internal.IgniteInternalFuture<?> clearAsync(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> key)</pre> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code>clearAsync</code> in interface <code>org.apache.ignite.internal.processors.cache.IgniteInternalCache<<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>key</code> - Key to clear.</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>Clear future.</dd></dl> |
| </li> |
| </ul> |
| <a name="clearAllAsync(java.util.Set)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>clearAllAsync</h4> |
| <pre>public org.apache.ignite.internal.IgniteInternalFuture<?> clearAllAsync(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a> keys)</pre> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code>clearAllAsync</code> in interface <code>org.apache.ignite.internal.processors.cache.IgniteInternalCache<<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>keys</code> - Keys to clear.</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>Clear future.</dd></dl> |
| </li> |
| </ul> |
| <a name="getAndRemove(java.lang.Object)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getAndRemove</h4> |
| <pre>@Nullable |
| public <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> getAndRemove(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> key) |
| throws <a href="../../../../../org/apache/ignite/IgniteCheckedException.html" title="class in org.apache.ignite">IgniteCheckedException</a></pre> |
| <div class="block">Removes given key mapping from cache. If cache previously contained value for the given key, |
| then this value is returned. In case of <a href="../../../../../org/apache/ignite/cache/CacheMode.html#PARTITIONED"><code>CacheMode.PARTITIONED</code></a> or <a href="../../../../../org/apache/ignite/cache/CacheMode.html#REPLICATED"><code>CacheMode.REPLICATED</code></a> |
| caches, the value will be loaded from the primary node, which in its turn may load the value |
| from the disk-based swap storage, and consecutively, if it's not in swap, |
| from the underlying persistent storage. If value has to be loaded from persistent |
| storage, <code>CacheStore#load(Transaction, Object)</code> method will be used. |
| <p> |
| If the returned value is not needed, method <code>#removex(Object, org.apache.ignite.lang.IgnitePredicate[])</code> should |
| always be used instead of this one to avoid the overhead associated with returning of the |
| previous value. |
| <p> |
| If write-through is enabled, the value will be removed from <a href="../../../../../org/apache/ignite/cache/store/CacheStore.html" title="interface in org.apache.ignite.cache.store"><code>CacheStore</code></a> |
| via <code>CacheStore#remove(Transaction, Object)</code> method. |
| <h2 class="header">Transactions</h2> |
| This method is transactional and will enlist the entry into ongoing transaction |
| if there is one.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code>getAndRemove</code> in interface <code>org.apache.ignite.internal.processors.cache.IgniteInternalCache<<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>key</code> - Key whose mapping is to be removed from cache.</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>Previous value associated with specified key, or <code>null</code> |
| if there was no value for this key.</dd> |
| <dt><span class="strong">Throws:</span></dt> |
| <dd><code><a href="../../../../../org/apache/ignite/IgniteCheckedException.html" title="class in org.apache.ignite">IgniteCheckedException</a></code> - If remove operation failed.</dd></dl> |
| </li> |
| </ul> |
| <a name="getAndRemoveAsync(java.lang.Object)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getAndRemoveAsync</h4> |
| <pre>public org.apache.ignite.internal.IgniteInternalFuture getAndRemoveAsync(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> key)</pre> |
| <div class="block">Asynchronously removes given key mapping from cache. If cache previously contained value for the given key, |
| then this value is returned. In case of <a href="../../../../../org/apache/ignite/cache/CacheMode.html#PARTITIONED"><code>CacheMode.PARTITIONED</code></a> or <a href="../../../../../org/apache/ignite/cache/CacheMode.html#REPLICATED"><code>CacheMode.REPLICATED</code></a> |
| caches, the value will be loaded from the primary node, which in its turn may load the value |
| from the swap storage, and consecutively, if it's not in swap, |
| from the underlying persistent storage. If value has to be loaded from persistent |
| storage, <code>CacheStore#load(Transaction, Object)</code> method will be used. |
| <p> |
| If the returned value is not needed, method <code>#removex(Object, org.apache.ignite.lang.IgnitePredicate[])</code> should |
| always be used instead of this one to avoid the overhead associated with returning of the |
| previous value. |
| <p> |
| If write-through is enabled, the value will be removed from <a href="../../../../../org/apache/ignite/cache/store/CacheStore.html" title="interface in org.apache.ignite.cache.store"><code>CacheStore</code></a> |
| via <code>CacheStore#remove(Transaction, Object)</code> method. |
| <h2 class="header">Transactions</h2> |
| This method is transactional and will enlist the entry into ongoing transaction |
| if there is one.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code>getAndRemoveAsync</code> in interface <code>org.apache.ignite.internal.processors.cache.IgniteInternalCache<<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>key</code> - Key whose mapping is to be removed from cache.</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>Future for the remove operation.</dd></dl> |
| </li> |
| </ul> |
| <a name="remove(java.lang.Object)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>remove</h4> |
| <pre>public boolean remove(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> key) |
| throws <a href="../../../../../org/apache/ignite/IgniteCheckedException.html" title="class in org.apache.ignite">IgniteCheckedException</a></pre> |
| <div class="block">Removes given key mapping from cache. |
| <p> |
| This method will return <code>true</code> if remove did occur, which means that all optionally |
| provided filters have passed and there was something to remove, <code>false</code> otherwise. |
| <p> |
| If write-through is enabled, the value will be removed from <a href="../../../../../org/apache/ignite/cache/store/CacheStore.html" title="interface in org.apache.ignite.cache.store"><code>CacheStore</code></a> |
| via <code>CacheStore#remove(Transaction, Object)</code> method. |
| <h2 class="header">Transactions</h2> |
| This method is transactional and will enlist the entry into ongoing transaction |
| if there is one.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code>remove</code> in interface <code>org.apache.ignite.internal.processors.cache.IgniteInternalCache<<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>key</code> - Key whose mapping is to be removed from cache.</dd> |
| <dt><span class="strong">Returns:</span></dt><dd><code>True</code> if filter passed validation and entry was removed, <code>false</code> otherwise. |
| Note that if filter is not specified, this method will return <code>true</code>.</dd> |
| <dt><span class="strong">Throws:</span></dt> |
| <dd><code><a href="../../../../../org/apache/ignite/IgniteCheckedException.html" title="class in org.apache.ignite">IgniteCheckedException</a></code> - If remove failed.</dd></dl> |
| </li> |
| </ul> |
| <a name="removeAsync(java.lang.Object)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>removeAsync</h4> |
| <pre>public org.apache.ignite.internal.IgniteInternalFuture<<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a>> removeAsync(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> key)</pre> |
| <div class="block">Asynchronously removes given key mapping from cache. |
| <p> |
| This method will return <code>true</code> if remove did occur, which means that all optionally |
| provided filters have passed and there was something to remove, <code>false</code> otherwise. |
| <p> |
| If write-through is enabled, the value will be removed from <a href="../../../../../org/apache/ignite/cache/store/CacheStore.html" title="interface in org.apache.ignite.cache.store"><code>CacheStore</code></a> |
| via <code>CacheStore#remove(Transaction, Object)</code> method. |
| <h2 class="header">Transactions</h2> |
| This method is transactional and will enlist the entry into ongoing transaction |
| if there is one.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code>removeAsync</code> in interface <code>org.apache.ignite.internal.processors.cache.IgniteInternalCache<<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>key</code> - Key whose mapping is to be removed from cache.</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>Future for the remove operation. The future will return <code>true</code> |
| if optional filters passed validation and remove did occur, <code>false</code> otherwise. |
| Note that if filter is not specified, this method will return <code>true</code>.</dd></dl> |
| </li> |
| </ul> |
| <a name="remove(java.lang.Object, java.lang.Object)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>remove</h4> |
| <pre>public boolean remove(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> key, |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> val) |
| throws <a href="../../../../../org/apache/ignite/IgniteCheckedException.html" title="class in org.apache.ignite">IgniteCheckedException</a></pre> |
| <div class="block">Removes given key mapping from cache if one exists and value is equal to the passed in value. |
| <p> |
| If write-through is enabled, the value will be removed from <a href="../../../../../org/apache/ignite/cache/store/CacheStore.html" title="interface in org.apache.ignite.cache.store"><code>CacheStore</code></a> |
| via <code>CacheStore#remove(Transaction, Object)</code> method. |
| <h2 class="header">Transactions</h2> |
| This method is transactional and will enlist the entry into ongoing transaction |
| if there is one.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code>remove</code> in interface <code>org.apache.ignite.internal.processors.cache.IgniteInternalCache<<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>key</code> - Key whose mapping is to be removed from cache.</dd><dd><code>val</code> - Value to match against currently cached value.</dd> |
| <dt><span class="strong">Returns:</span></dt><dd><code>True</code> if entry was removed and passed in value matched the cached one, |
| <code>false</code> otherwise.</dd> |
| <dt><span class="strong">Throws:</span></dt> |
| <dd><code><a href="../../../../../org/apache/ignite/IgniteCheckedException.html" title="class in org.apache.ignite">IgniteCheckedException</a></code> - If remove failed.</dd></dl> |
| </li> |
| </ul> |
| <a name="removeAsync(java.lang.Object, java.lang.Object)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>removeAsync</h4> |
| <pre>public org.apache.ignite.internal.IgniteInternalFuture<<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a>> removeAsync(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> key, |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> val)</pre> |
| <div class="block">Asynchronously removes given key mapping from cache if one exists and value is equal to the passed in value. |
| <p> |
| This method will return <code>true</code> if remove did occur, which means that all optionally |
| provided filters have passed and there was something to remove, <code>false</code> otherwise. |
| <p> |
| If write-through is enabled, the value will be removed from <a href="../../../../../org/apache/ignite/cache/store/CacheStore.html" title="interface in org.apache.ignite.cache.store"><code>CacheStore</code></a> |
| via <code>CacheStore#remove(Transaction, Object)</code> method. |
| <h2 class="header">Transactions</h2> |
| This method is transactional and will enlist the entry into ongoing transaction |
| if there is one.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code>removeAsync</code> in interface <code>org.apache.ignite.internal.processors.cache.IgniteInternalCache<<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>key</code> - Key whose mapping is to be removed from cache.</dd><dd><code>val</code> - Value to match against currently cached value.</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>Future for the remove operation. The future will return <code>true</code> |
| if currently cached value will match the passed in one.</dd></dl> |
| </li> |
| </ul> |
| <a name="removeAll(java.util.Collection)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>removeAll</h4> |
| <pre>public void removeAll(@Nullable |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a> keys) |
| throws <a href="../../../../../org/apache/ignite/IgniteCheckedException.html" title="class in org.apache.ignite">IgniteCheckedException</a></pre> |
| <div class="block">Removes given key mappings from cache. |
| <p> |
| If write-through is enabled, the values will be removed from <a href="../../../../../org/apache/ignite/cache/store/CacheStore.html" title="interface in org.apache.ignite.cache.store"><code>CacheStore</code></a> via <a href="../../../../../org/apache/ignite/IgniteDataStreamer.html" title="interface in org.apache.ignite"><code>IgniteDataStreamer</code></a>. |
| <h2 class="header">Transactions</h2> |
| This method is transactional and will enlist the entry into ongoing transaction |
| if there is one.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code>removeAll</code> in interface <code>org.apache.ignite.internal.processors.cache.IgniteInternalCache<<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>keys</code> - Keys whose mappings are to be removed from cache.</dd> |
| <dt><span class="strong">Throws:</span></dt> |
| <dd><code><a href="../../../../../org/apache/ignite/IgniteCheckedException.html" title="class in org.apache.ignite">IgniteCheckedException</a></code> - If remove failed.</dd></dl> |
| </li> |
| </ul> |
| <a name="removeAllAsync(java.util.Collection)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>removeAllAsync</h4> |
| <pre>public org.apache.ignite.internal.IgniteInternalFuture<?> removeAllAsync(@Nullable |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a> keys)</pre> |
| <div class="block">Asynchronously removes given key mappings from cache for entries. |
| <p> |
| If write-through is enabled, the values will be removed from <a href="../../../../../org/apache/ignite/cache/store/CacheStore.html" title="interface in org.apache.ignite.cache.store"><code>CacheStore</code></a> via <a href="../../../../../org/apache/ignite/IgniteDataStreamer.html" title="interface in org.apache.ignite"><code>IgniteDataStreamer</code></a>. |
| <h2 class="header">Transactions</h2> |
| This method is transactional and will enlist the entry into ongoing transaction |
| if there is one.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code>removeAllAsync</code> in interface <code>org.apache.ignite.internal.processors.cache.IgniteInternalCache<<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>keys</code> - Keys whose mappings are to be removed from cache.</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>Future for the remove operation. The future will complete whenever |
| remove operation completes.</dd></dl> |
| </li> |
| </ul> |
| <a name="removeAll()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>removeAll</h4> |
| <pre>public void removeAll() |
| throws <a href="../../../../../org/apache/ignite/IgniteCheckedException.html" title="class in org.apache.ignite">IgniteCheckedException</a></pre> |
| <div class="block">Removes mappings from cache. |
| <p> |
| <b>USE WITH CARE</b> - if your cache has many entries then transaction will quickly become very heavy and slow. |
| <p> |
| If write-through is enabled, the values will be removed from <a href="../../../../../org/apache/ignite/cache/store/CacheStore.html" title="interface in org.apache.ignite.cache.store"><code>CacheStore</code></a> via <a href="../../../../../org/apache/ignite/IgniteDataStreamer.html" title="interface in org.apache.ignite"><code>IgniteDataStreamer</code></a>. |
| <h2 class="header">Transactions</h2> |
| This method is not transactional.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code>removeAll</code> in interface <code>org.apache.ignite.internal.processors.cache.IgniteInternalCache<<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>></code></dd> |
| <dt><span class="strong">Throws:</span></dt> |
| <dd><code><a href="../../../../../org/apache/ignite/IgniteCheckedException.html" title="class in org.apache.ignite">IgniteCheckedException</a></code> - If remove failed.</dd></dl> |
| </li> |
| </ul> |
| <a name="removeAllAsync()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>removeAllAsync</h4> |
| <pre>public org.apache.ignite.internal.IgniteInternalFuture<?> removeAllAsync()</pre> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code>removeAllAsync</code> in interface <code>org.apache.ignite.internal.processors.cache.IgniteInternalCache<<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>></code></dd> |
| <dt><span class="strong">Returns:</span></dt><dd>Remove future.</dd></dl> |
| </li> |
| </ul> |
| <a name="lock(java.lang.Object, long)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>lock</h4> |
| <pre>public boolean lock(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> key, |
| long timeout) |
| throws <a href="../../../../../org/apache/ignite/IgniteCheckedException.html" title="class in org.apache.ignite">IgniteCheckedException</a></pre> |
| <div class="block">Synchronously acquires lock on a cached object with given |
| key only if the passed in filter (if any) passes. This method |
| together with filter check will be executed as one atomic operation. |
| <h2 class="header">Transactions</h2> |
| Locks are not transactional and should not be used from within transactions. If you do |
| need explicit locking within transaction, then you should use |
| <a href="../../../../../org/apache/ignite/transactions/TransactionConcurrency.html#PESSIMISTIC"><code>TransactionConcurrency.PESSIMISTIC</code></a> concurrency control for transaction |
| which will acquire explicit locks for relevant cache operations.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code>lock</code> in interface <code>org.apache.ignite.internal.processors.cache.IgniteInternalCache<<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>key</code> - Key to lock.</dd><dd><code>timeout</code> - Timeout in milliseconds to wait for lock to be acquired |
| (<code>'0'</code> for no expiration), <code>-1</code> for immediate failure if |
| lock cannot be acquired immediately).</dd> |
| <dt><span class="strong">Returns:</span></dt><dd><code>True</code> if all filters passed and lock was acquired, |
| <code>false</code> otherwise.</dd> |
| <dt><span class="strong">Throws:</span></dt> |
| <dd><code><a href="../../../../../org/apache/ignite/IgniteCheckedException.html" title="class in org.apache.ignite">IgniteCheckedException</a></code> - If lock acquisition resulted in error.</dd></dl> |
| </li> |
| </ul> |
| <a name="lockAsync(java.lang.Object, long)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>lockAsync</h4> |
| <pre>public org.apache.ignite.internal.IgniteInternalFuture<<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a>> lockAsync(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> key, |
| long timeout)</pre> |
| <div class="block">Asynchronously acquires lock on a cached object with given |
| key only if the passed in filter (if any) passes. This method |
| together with filter check will be executed as one atomic operation. |
| <h2 class="header">Transactions</h2> |
| Locks are not transactional and should not be used from within transactions. If you do |
| need explicit locking within transaction, then you should use |
| <a href="../../../../../org/apache/ignite/transactions/TransactionConcurrency.html#PESSIMISTIC"><code>TransactionConcurrency.PESSIMISTIC</code></a> concurrency control for transaction |
| which will acquire explicit locks for relevant cache operations.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code>lockAsync</code> in interface <code>org.apache.ignite.internal.processors.cache.IgniteInternalCache<<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>key</code> - Key to lock.</dd><dd><code>timeout</code> - Timeout in milliseconds to wait for lock to be acquired |
| (<code>'0'</code> for no expiration, <code>-1</code> for immediate failure if |
| lock cannot be acquired immediately).</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>Future for the lock operation. The future will return <code>true</code> |
| whenever all filters pass and locks are acquired before timeout is expired, |
| <code>false</code> otherwise.</dd></dl> |
| </li> |
| </ul> |
| <a name="lockAll(java.util.Collection, long)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>lockAll</h4> |
| <pre>public boolean lockAll(@Nullable |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a> keys, |
| long timeout) |
| throws <a href="../../../../../org/apache/ignite/IgniteCheckedException.html" title="class in org.apache.ignite">IgniteCheckedException</a></pre> |
| <div class="block">All or nothing synchronous lock for passed in keys. This method |
| together with filter check will be executed as one atomic operation. |
| If at least one filter validation failed, no locks will be acquired. |
| <h2 class="header">Transactions</h2> |
| Locks are not transactional and should not be used from within transactions. If you do |
| need explicit locking within transaction, then you should use |
| <a href="../../../../../org/apache/ignite/transactions/TransactionConcurrency.html#PESSIMISTIC"><code>TransactionConcurrency.PESSIMISTIC</code></a> concurrency control for transaction |
| which will acquire explicit locks for relevant cache operations.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code>lockAll</code> in interface <code>org.apache.ignite.internal.processors.cache.IgniteInternalCache<<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>keys</code> - Keys to lock.</dd><dd><code>timeout</code> - Timeout in milliseconds to wait for lock to be acquired |
| (<code>'0'</code> for no expiration).</dd> |
| <dt><span class="strong">Returns:</span></dt><dd><code>True</code> if all filters passed and locks were acquired before |
| timeout has expired, <code>false</code> otherwise.</dd> |
| <dt><span class="strong">Throws:</span></dt> |
| <dd><code><a href="../../../../../org/apache/ignite/IgniteCheckedException.html" title="class in org.apache.ignite">IgniteCheckedException</a></code> - If lock acquisition resulted in error.</dd></dl> |
| </li> |
| </ul> |
| <a name="lockAllAsync(java.util.Collection, long)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>lockAllAsync</h4> |
| <pre>public org.apache.ignite.internal.IgniteInternalFuture<<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a>> lockAllAsync(@Nullable |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a> keys, |
| long timeout)</pre> |
| <div class="block">All or nothing synchronous lock for passed in keys. This method |
| together with filter check will be executed as one atomic operation. |
| If at least one filter validation failed, no locks will be acquired. |
| <h2 class="header">Transactions</h2> |
| Locks are not transactional and should not be used from within transactions. If you do |
| need explicit locking within transaction, then you should use |
| <a href="../../../../../org/apache/ignite/transactions/TransactionConcurrency.html#PESSIMISTIC"><code>TransactionConcurrency.PESSIMISTIC</code></a> concurrency control for transaction |
| which will acquire explicit locks for relevant cache operations.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code>lockAllAsync</code> in interface <code>org.apache.ignite.internal.processors.cache.IgniteInternalCache<<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>keys</code> - Keys to lock.</dd><dd><code>timeout</code> - Timeout in milliseconds to wait for lock to be acquired |
| (<code>'0'</code> for no expiration).</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>Future for the collection of locks. The future will return |
| <code>true</code> if all filters passed and locks were acquired before |
| timeout has expired, <code>false</code> otherwise.</dd></dl> |
| </li> |
| </ul> |
| <a name="unlock(java.lang.Object)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>unlock</h4> |
| <pre>public void unlock(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> key) |
| throws <a href="../../../../../org/apache/ignite/IgniteCheckedException.html" title="class in org.apache.ignite">IgniteCheckedException</a></pre> |
| <div class="block">Unlocks given key only if current thread owns the lock. If optional filter |
| will not pass, then unlock will not happen. If the key being unlocked was |
| never locked by current thread, then this method will do nothing. |
| <h2 class="header">Transactions</h2> |
| Locks are not transactional and should not be used from within transactions. If you do |
| need explicit locking within transaction, then you should use |
| <a href="../../../../../org/apache/ignite/transactions/TransactionConcurrency.html#PESSIMISTIC"><code>TransactionConcurrency.PESSIMISTIC</code></a> concurrency control for transaction |
| which will acquire explicit locks for relevant cache operations.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code>unlock</code> in interface <code>org.apache.ignite.internal.processors.cache.IgniteInternalCache<<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>key</code> - Key to unlock.</dd> |
| <dt><span class="strong">Throws:</span></dt> |
| <dd><code><a href="../../../../../org/apache/ignite/IgniteCheckedException.html" title="class in org.apache.ignite">IgniteCheckedException</a></code> - If unlock execution resulted in error.</dd></dl> |
| </li> |
| </ul> |
| <a name="unlockAll(java.util.Collection)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>unlockAll</h4> |
| <pre>public void unlockAll(@Nullable |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a> keys) |
| throws <a href="../../../../../org/apache/ignite/IgniteCheckedException.html" title="class in org.apache.ignite">IgniteCheckedException</a></pre> |
| <div class="block">Unlocks given keys only if current thread owns the locks. Only the keys |
| that have been locked by calling thread and pass through the filter (if any) |
| will be unlocked. If none of the key locks is owned by current thread, then |
| this method will do nothing. |
| <h2 class="header">Transactions</h2> |
| Locks are not transactional and should not be used from within transactions. If you do |
| need explicit locking within transaction, then you should use |
| <a href="../../../../../org/apache/ignite/transactions/TransactionConcurrency.html#PESSIMISTIC"><code>TransactionConcurrency.PESSIMISTIC</code></a> concurrency control for transaction |
| which will acquire explicit locks for relevant cache operations.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code>unlockAll</code> in interface <code>org.apache.ignite.internal.processors.cache.IgniteInternalCache<<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>keys</code> - Keys to unlock.</dd> |
| <dt><span class="strong">Throws:</span></dt> |
| <dd><code><a href="../../../../../org/apache/ignite/IgniteCheckedException.html" title="class in org.apache.ignite">IgniteCheckedException</a></code> - If unlock execution resulted in error.</dd></dl> |
| </li> |
| </ul> |
| <a name="isLocked(java.lang.Object)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isLocked</h4> |
| <pre>public boolean isLocked(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> key)</pre> |
| <div class="block">Checks if any node owns a lock for this key. |
| <p> |
| This is a local in-VM operation and does not involve any network trips |
| or access to persistent storage in any way.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code>isLocked</code> in interface <code>org.apache.ignite.internal.processors.cache.IgniteInternalCache<<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>key</code> - Key to check.</dd> |
| <dt><span class="strong">Returns:</span></dt><dd><code>True</code> if lock is owned by some node.</dd></dl> |
| </li> |
| </ul> |
| <a name="isLockedByThread(java.lang.Object)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isLockedByThread</h4> |
| <pre>public boolean isLockedByThread(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> key)</pre> |
| <div class="block">Checks if current thread owns a lock on this key. |
| <p> |
| This is a local in-VM operation and does not involve any network trips |
| or access to persistent storage in any way.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code>isLockedByThread</code> in interface <code>org.apache.ignite.internal.processors.cache.IgniteInternalCache<<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>key</code> - Key to check.</dd> |
| <dt><span class="strong">Returns:</span></dt><dd><code>True</code> if key is locked by current thread.</dd></dl> |
| </li> |
| </ul> |
| <a name="size()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>size</h4> |
| <pre>public int size()</pre> |
| <div class="block">Gets the number of all entries cached on this node. This method will return the count of |
| all cache entries and has O(1) complexity on base <code>IgniteInternalCache</code>. It is essentially the |
| size of cache key set and is semantically identical to {<code>Cache.keySet().size()</code>. |
| <p> |
| NOTE: this operation is not distributed and returns only the number of entries cached on this node.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code>size</code> in interface <code>org.apache.ignite.internal.processors.cache.IgniteInternalCache<<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>></code></dd> |
| <dt><span class="strong">Returns:</span></dt><dd>Size of cache on this node.</dd></dl> |
| </li> |
| </ul> |
| <a name="sizeLong()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>sizeLong</h4> |
| <pre>public long sizeLong()</pre> |
| <div class="block">Gets the number of all entries cached on this node as a long value. This method will return the count of |
| all cache entries and has O(1) complexity on base <code>IgniteInternalCache</code>. It is essentially the |
| size of cache key set and is semantically identical to {<code>Cache.keySet().size()</code>. |
| <p> |
| NOTE: this operation is not distributed and returns only the number of entries cached on this node.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code>sizeLong</code> in interface <code>org.apache.ignite.internal.processors.cache.IgniteInternalCache<<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>></code></dd> |
| <dt><span class="strong">Returns:</span></dt><dd>Size of cache on this node.</dd></dl> |
| </li> |
| </ul> |
| <a name="localSize(org.apache.ignite.cache.CachePeekMode[])"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>localSize</h4> |
| <pre>public int localSize(<a href="../../../../../org/apache/ignite/cache/CachePeekMode.html" title="enum in org.apache.ignite.cache">CachePeekMode</a>[] peekModes) |
| throws <a href="../../../../../org/apache/ignite/IgniteCheckedException.html" title="class in org.apache.ignite">IgniteCheckedException</a></pre> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code>localSize</code> in interface <code>org.apache.ignite.internal.processors.cache.IgniteInternalCache<<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>peekModes</code> - Peek modes.</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>Local cache size.</dd> |
| <dt><span class="strong">Throws:</span></dt> |
| <dd><code><a href="../../../../../org/apache/ignite/IgniteCheckedException.html" title="class in org.apache.ignite">IgniteCheckedException</a></code> - If failed.</dd></dl> |
| </li> |
| </ul> |
| <a name="localSizeLong(org.apache.ignite.cache.CachePeekMode[])"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>localSizeLong</h4> |
| <pre>public long localSizeLong(<a href="../../../../../org/apache/ignite/cache/CachePeekMode.html" title="enum in org.apache.ignite.cache">CachePeekMode</a>[] peekModes) |
| throws <a href="../../../../../org/apache/ignite/IgniteCheckedException.html" title="class in org.apache.ignite">IgniteCheckedException</a></pre> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code>localSizeLong</code> in interface <code>org.apache.ignite.internal.processors.cache.IgniteInternalCache<<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>peekModes</code> - Peek modes.</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>Local cache size as a long value.</dd> |
| <dt><span class="strong">Throws:</span></dt> |
| <dd><code><a href="../../../../../org/apache/ignite/IgniteCheckedException.html" title="class in org.apache.ignite">IgniteCheckedException</a></code> - If failed.</dd></dl> |
| </li> |
| </ul> |
| <a name="localSizeLong(int, org.apache.ignite.cache.CachePeekMode[])"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>localSizeLong</h4> |
| <pre>public long localSizeLong(int partition, |
| <a href="../../../../../org/apache/ignite/cache/CachePeekMode.html" title="enum in org.apache.ignite.cache">CachePeekMode</a>[] peekModes) |
| throws <a href="../../../../../org/apache/ignite/IgniteCheckedException.html" title="class in org.apache.ignite">IgniteCheckedException</a></pre> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code>localSizeLong</code> in interface <code>org.apache.ignite.internal.processors.cache.IgniteInternalCache<<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>partition</code> - partition.</dd><dd><code>peekModes</code> - Peek modes.</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>Local cache size as a long value.</dd> |
| <dt><span class="strong">Throws:</span></dt> |
| <dd><code><a href="../../../../../org/apache/ignite/IgniteCheckedException.html" title="class in org.apache.ignite">IgniteCheckedException</a></code> - If failed.</dd></dl> |
| </li> |
| </ul> |
| <a name="size(org.apache.ignite.cache.CachePeekMode[])"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>size</h4> |
| <pre>public 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/IgniteCheckedException.html" title="class in org.apache.ignite">IgniteCheckedException</a></pre> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code>size</code> in interface <code>org.apache.ignite.internal.processors.cache.IgniteInternalCache<<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>peekModes</code> - Peek modes.</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>Global cache size.</dd> |
| <dt><span class="strong">Throws:</span></dt> |
| <dd><code><a href="../../../../../org/apache/ignite/IgniteCheckedException.html" title="class in org.apache.ignite">IgniteCheckedException</a></code> - If failed.</dd></dl> |
| </li> |
| </ul> |
| <a name="sizeLong(org.apache.ignite.cache.CachePeekMode[])"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>sizeLong</h4> |
| <pre>public long sizeLong(<a href="../../../../../org/apache/ignite/cache/CachePeekMode.html" title="enum in org.apache.ignite.cache">CachePeekMode</a>[] peekModes) |
| throws <a href="../../../../../org/apache/ignite/IgniteCheckedException.html" title="class in org.apache.ignite">IgniteCheckedException</a></pre> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code>sizeLong</code> in interface <code>org.apache.ignite.internal.processors.cache.IgniteInternalCache<<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>peekModes</code> - Peek modes.</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>Global cache size as a long value.</dd> |
| <dt><span class="strong">Throws:</span></dt> |
| <dd><code><a href="../../../../../org/apache/ignite/IgniteCheckedException.html" title="class in org.apache.ignite">IgniteCheckedException</a></code> - If failed.</dd></dl> |
| </li> |
| </ul> |
| <a name="sizeLong(int, org.apache.ignite.cache.CachePeekMode[])"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>sizeLong</h4> |
| <pre>public long sizeLong(int partition, |
| <a href="../../../../../org/apache/ignite/cache/CachePeekMode.html" title="enum in org.apache.ignite.cache">CachePeekMode</a>[] peekModes) |
| throws <a href="../../../../../org/apache/ignite/IgniteCheckedException.html" title="class in org.apache.ignite">IgniteCheckedException</a></pre> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code>sizeLong</code> in interface <code>org.apache.ignite.internal.processors.cache.IgniteInternalCache<<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>partition</code> - partition</dd><dd><code>peekModes</code> - Peek modes.</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>Global cache size as a long value.</dd> |
| <dt><span class="strong">Throws:</span></dt> |
| <dd><code><a href="../../../../../org/apache/ignite/IgniteCheckedException.html" title="class in org.apache.ignite">IgniteCheckedException</a></code> - If failed.</dd></dl> |
| </li> |
| </ul> |
| <a name="sizeAsync(org.apache.ignite.cache.CachePeekMode[])"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>sizeAsync</h4> |
| <pre>public org.apache.ignite.internal.IgniteInternalFuture<<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</a>> sizeAsync(<a href="../../../../../org/apache/ignite/cache/CachePeekMode.html" title="enum in org.apache.ignite.cache">CachePeekMode</a>[] peekModes)</pre> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code>sizeAsync</code> in interface <code>org.apache.ignite.internal.processors.cache.IgniteInternalCache<<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>peekModes</code> - Peek modes.</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>Future.</dd></dl> |
| </li> |
| </ul> |
| <a name="sizeLongAsync(org.apache.ignite.cache.CachePeekMode[])"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>sizeLongAsync</h4> |
| <pre>public org.apache.ignite.internal.IgniteInternalFuture<<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang">Long</a>> sizeLongAsync(<a href="../../../../../org/apache/ignite/cache/CachePeekMode.html" title="enum in org.apache.ignite.cache">CachePeekMode</a>[] peekModes)</pre> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code>sizeLongAsync</code> in interface <code>org.apache.ignite.internal.processors.cache.IgniteInternalCache<<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>peekModes</code> - Peek modes.</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>Future.</dd></dl> |
| </li> |
| </ul> |
| <a name="sizeLongAsync(int, org.apache.ignite.cache.CachePeekMode[])"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>sizeLongAsync</h4> |
| <pre>public org.apache.ignite.internal.IgniteInternalFuture<<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang">Long</a>> sizeLongAsync(int partition, |
| <a href="../../../../../org/apache/ignite/cache/CachePeekMode.html" title="enum in org.apache.ignite.cache">CachePeekMode</a>[] peekModes)</pre> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code>sizeLongAsync</code> in interface <code>org.apache.ignite.internal.processors.cache.IgniteInternalCache<<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>partition</code> - partiton</dd><dd><code>peekModes</code> - Peek modes.</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>Future.</dd></dl> |
| </li> |
| </ul> |
| <a name="nearSize()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>nearSize</h4> |
| <pre>public int nearSize()</pre> |
| <div class="block">Gets size of near cache key set. This method will return count of all entries in near |
| cache and has O(1) complexity on base cache projection. |
| <p> |
| Note that for <code>LOCAL</code> non-distributed caches this method will always return <code>0</code></div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code>nearSize</code> in interface <code>org.apache.ignite.internal.processors.cache.IgniteInternalCache<<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>></code></dd> |
| <dt><span class="strong">Returns:</span></dt><dd>Size of near cache key set or <code>0</code> if cache is not <a href="../../../../../org/apache/ignite/cache/CacheMode.html#PARTITIONED"><code>CacheMode.PARTITIONED</code></a>.</dd></dl> |
| </li> |
| </ul> |
| <a name="primarySize()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>primarySize</h4> |
| <pre>public int primarySize()</pre> |
| <div class="block">Gets the number of all primary entries cached on this node. For <a href="../../../../../org/apache/ignite/cache/CacheMode.html#LOCAL"><code>CacheMode.LOCAL</code></a> non-distributed |
| cache mode, this method is identical to <code>IgniteInternalCache.size()</code>. |
| <p> |
| For <a href="../../../../../org/apache/ignite/cache/CacheMode.html#PARTITIONED"><code>CacheMode.PARTITIONED</code></a> and <a href="../../../../../org/apache/ignite/cache/CacheMode.html#REPLICATED"><code>CacheMode.REPLICATED</code></a> modes, this method will |
| return number of primary entries cached on this node (excluding any backups). The complexity of |
| this method is O(P), where P is the total number of partitions. |
| <p> |
| NOTE: this operation is not distributed and returns only the number of primary entries cached on this node.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code>primarySize</code> in interface <code>org.apache.ignite.internal.processors.cache.IgniteInternalCache<<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>></code></dd> |
| <dt><span class="strong">Returns:</span></dt><dd>Number of primary entries in cache.</dd></dl> |
| </li> |
| </ul> |
| <a name="primarySizeLong()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>primarySizeLong</h4> |
| <pre>public long primarySizeLong()</pre> |
| <div class="block">Gets the number of all primary entries cached on this node as a long value. For <a href="../../../../../org/apache/ignite/cache/CacheMode.html#LOCAL"><code>CacheMode.LOCAL</code></a> |
| non-distributed cache mode, this method is identical to <code>IgniteInternalCache.size()</code>. |
| <p> |
| For <a href="../../../../../org/apache/ignite/cache/CacheMode.html#PARTITIONED"><code>CacheMode.PARTITIONED</code></a> and <a href="../../../../../org/apache/ignite/cache/CacheMode.html#REPLICATED"><code>CacheMode.REPLICATED</code></a> modes, this method will |
| return number of primary entries cached on this node (excluding any backups). The complexity of |
| this method is O(P), where P is the total number of partitions. |
| <p> |
| NOTE: this operation is not distributed and returns only the number of primary entries cached on this node.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code>primarySizeLong</code> in interface <code>org.apache.ignite.internal.processors.cache.IgniteInternalCache<<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>></code></dd> |
| <dt><span class="strong">Returns:</span></dt><dd>Number of primary entries in cache.</dd></dl> |
| </li> |
| </ul> |
| <a name="configuration()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>configuration</h4> |
| <pre>public <a href="../../../../../org/apache/ignite/configuration/CacheConfiguration.html" title="class in org.apache.ignite.configuration">CacheConfiguration</a> configuration()</pre> |
| <div class="block">Gets configuration bean for this cache.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code>configuration</code> in interface <code>org.apache.ignite.internal.processors.cache.IgniteInternalCache<<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>></code></dd> |
| <dt><span class="strong">Returns:</span></dt><dd>Configuration bean for this cache.</dd></dl> |
| </li> |
| </ul> |
| <a name="affinity()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>affinity</h4> |
| <pre>public <a href="../../../../../org/apache/ignite/cache/affinity/Affinity.html" title="interface in org.apache.ignite.cache.affinity">Affinity</a> affinity()</pre> |
| <div class="block">Gets affinity service to provide information about data partitioning |
| and distribution.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code>affinity</code> in interface <code>org.apache.ignite.internal.processors.cache.IgniteInternalCache<<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>></code></dd> |
| <dt><span class="strong">Returns:</span></dt><dd>Cache data affinity service.</dd></dl> |
| </li> |
| </ul> |
| <a name="clusterMetrics()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>clusterMetrics</h4> |
| <pre>public <a href="../../../../../org/apache/ignite/cache/CacheMetrics.html" title="interface in org.apache.ignite.cache">CacheMetrics</a> clusterMetrics()</pre> |
| <div class="block">Gets whole cluster metrics (statistics) for this cache.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code>clusterMetrics</code> in interface <code>org.apache.ignite.internal.processors.cache.IgniteInternalCache<<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>></code></dd> |
| <dt><span class="strong">Returns:</span></dt><dd>Cache metrics.</dd></dl> |
| </li> |
| </ul> |
| <a name="clusterMetrics(org.apache.ignite.cluster.ClusterGroup)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>clusterMetrics</h4> |
| <pre>public <a href="../../../../../org/apache/ignite/cache/CacheMetrics.html" title="interface in org.apache.ignite.cache">CacheMetrics</a> clusterMetrics(<a href="../../../../../org/apache/ignite/cluster/ClusterGroup.html" title="interface in org.apache.ignite.cluster">ClusterGroup</a> grp)</pre> |
| <div class="block">Gets cluster group metrics (statistics) for this cache.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code>clusterMetrics</code> in interface <code>org.apache.ignite.internal.processors.cache.IgniteInternalCache<<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>grp</code> - Cluster group.</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>Cache metrics.</dd></dl> |
| </li> |
| </ul> |
| <a name="localMetrics()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>localMetrics</h4> |
| <pre>public <a href="../../../../../org/apache/ignite/cache/CacheMetrics.html" title="interface in org.apache.ignite.cache">CacheMetrics</a> localMetrics()</pre> |
| <div class="block">Gets local metrics (statistics) for this cache.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code>localMetrics</code> in interface <code>org.apache.ignite.internal.processors.cache.IgniteInternalCache<<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>></code></dd> |
| <dt><span class="strong">Returns:</span></dt><dd>Cache metrics.</dd></dl> |
| </li> |
| </ul> |
| <a name="clusterMxBean()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>clusterMxBean</h4> |
| <pre>public <a href="../../../../../org/apache/ignite/mxbean/CacheMetricsMXBean.html" title="interface in org.apache.ignite.mxbean">CacheMetricsMXBean</a> clusterMxBean()</pre> |
| <div class="block">Gets whole cluster metrics (statistics) for this cache.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code>clusterMxBean</code> in interface <code>org.apache.ignite.internal.processors.cache.IgniteInternalCache<<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>></code></dd> |
| <dt><span class="strong">Returns:</span></dt><dd>Cache metrics.</dd></dl> |
| </li> |
| </ul> |
| <a name="localMxBean()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>localMxBean</h4> |
| <pre>public <a href="../../../../../org/apache/ignite/mxbean/CacheMetricsMXBean.html" title="interface in org.apache.ignite.mxbean">CacheMetricsMXBean</a> localMxBean()</pre> |
| <div class="block">Gets local metrics (statistics) for this cache.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code>localMxBean</code> in interface <code>org.apache.ignite.internal.processors.cache.IgniteInternalCache<<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>></code></dd> |
| <dt><span class="strong">Returns:</span></dt><dd>Cache metrics.</dd></dl> |
| </li> |
| </ul> |
| <a name="offHeapEntriesCount()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>offHeapEntriesCount</h4> |
| <pre>public long offHeapEntriesCount()</pre> |
| <div class="block">Gets number of cache entries stored in off-heap memory.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code>offHeapEntriesCount</code> in interface <code>org.apache.ignite.internal.processors.cache.IgniteInternalCache<<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>></code></dd> |
| <dt><span class="strong">Returns:</span></dt><dd>Number of cache entries stored in off-heap memory.</dd></dl> |
| </li> |
| </ul> |
| <a name="offHeapAllocatedSize()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>offHeapAllocatedSize</h4> |
| <pre>public long offHeapAllocatedSize()</pre> |
| <div class="block">Gets memory size allocated in off-heap.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code>offHeapAllocatedSize</code> in interface <code>org.apache.ignite.internal.processors.cache.IgniteInternalCache<<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>></code></dd> |
| <dt><span class="strong">Returns:</span></dt><dd>Allocated memory size.</dd></dl> |
| </li> |
| </ul> |
| <a name="rebalance()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>rebalance</h4> |
| <pre>public org.apache.ignite.internal.IgniteInternalFuture<?> rebalance()</pre> |
| <div class="block">Forces this cache node to re-balance its partitions. This method is usually used when |
| <a href="../../../../../org/apache/ignite/configuration/CacheConfiguration.html#getRebalanceDelay()"><code>CacheConfiguration.getRebalanceDelay()</code></a> configuration parameter has non-zero value. |
| When many nodes are started or stopped almost concurrently, it is more efficient to delay |
| rebalancing until the node topology is stable to make sure that no redundant re-partitioning |
| happens. |
| <p> |
| In case of<a href="../../../../../org/apache/ignite/cache/CacheMode.html#PARTITIONED"><code>CacheMode.PARTITIONED</code></a> caches, for better efficiency user should |
| usually make sure that new nodes get placed on the same place of consistent hash ring as |
| the left nodes, and that nodes are restarted before |
| <a href="../../../../../org/apache/ignite/configuration/CacheConfiguration.html#getRebalanceDelay()"><code>rebalanceDelay</code></a> expires. To place nodes |
| on the same place in consistent hash ring, use |
| <a href="../../../../../org/apache/ignite/configuration/IgniteConfiguration.html#setConsistentId(java.io.Serializable)"><code>IgniteConfiguration.setConsistentId(Serializable)</code></a> to make sure that |
| a node maps to the same hash ID if re-started. |
| <p> |
| See <a href="../../../../../org/apache/ignite/configuration/CacheConfiguration.html#getRebalanceDelay()"><code>CacheConfiguration.getRebalanceDelay()</code></a> for more information on how to configure |
| rebalance re-partition delay. |
| <p></div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code>rebalance</code> in interface <code>org.apache.ignite.internal.processors.cache.IgniteInternalCache<<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>></code></dd> |
| <dt><span class="strong">Returns:</span></dt><dd>Future that will be completed when rebalancing is finished.</dd></dl> |
| </li> |
| </ul> |
| <a name="forSubjectId(java.util.UUID)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>forSubjectId</h4> |
| <pre>public org.apache.ignite.internal.processors.cache.IgniteInternalCache forSubjectId(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/UUID.html?is-external=true" title="class or interface in java.util">UUID</a> subjId)</pre> |
| <div class="block">Creates projection for specified subject ID.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code>forSubjectId</code> in interface <code>org.apache.ignite.internal.processors.cache.IgniteInternalCache<<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>subjId</code> - Client ID.</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>Internal projection.</dd></dl> |
| </li> |
| </ul> |
| <a name="getForcePrimary(java.lang.Object)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getForcePrimary</h4> |
| <pre>@Nullable |
| public <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> getForcePrimary(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> key) |
| throws <a href="../../../../../org/apache/ignite/IgniteCheckedException.html" title="class in org.apache.ignite">IgniteCheckedException</a></pre> |
| <div class="block">Gets value from cache. Will go to primary node even if this is a backup.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code>getForcePrimary</code> in interface <code>org.apache.ignite.internal.processors.cache.IgniteInternalCache<<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>key</code> - Key to get value for.</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>Value.</dd> |
| <dt><span class="strong">Throws:</span></dt> |
| <dd><code><a href="../../../../../org/apache/ignite/IgniteCheckedException.html" title="class in org.apache.ignite">IgniteCheckedException</a></code> - If failed.</dd></dl> |
| </li> |
| </ul> |
| <a name="getForcePrimaryAsync(java.lang.Object)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getForcePrimaryAsync</h4> |
| <pre>public org.apache.ignite.internal.IgniteInternalFuture getForcePrimaryAsync(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> key)</pre> |
| <div class="block">Asynchronously gets value from cache. Will go to primary node even if this is a backup.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code>getForcePrimaryAsync</code> in interface <code>org.apache.ignite.internal.processors.cache.IgniteInternalCache<<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>key</code> - Key to get value for.</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>Future with result.</dd></dl> |
| </li> |
| </ul> |
| <a name="getAllOutTx(java.util.Set)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getAllOutTx</h4> |
| <pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a> getAllOutTx(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a> keys) |
| throws <a href="../../../../../org/apache/ignite/IgniteCheckedException.html" title="class in org.apache.ignite">IgniteCheckedException</a></pre> |
| <div class="block">Gets values from cache. Will bypass started transaction, if any, i.e. will not enlist entries |
| and will not lock any keys if pessimistic transaction is started by thread.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code>getAllOutTx</code> in interface <code>org.apache.ignite.internal.processors.cache.IgniteInternalCache<<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>keys</code> - Keys to get values for.</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>Value.</dd> |
| <dt><span class="strong">Throws:</span></dt> |
| <dd><code><a href="../../../../../org/apache/ignite/IgniteCheckedException.html" title="class in org.apache.ignite">IgniteCheckedException</a></code> - If failed.</dd></dl> |
| </li> |
| </ul> |
| <a name="getAllOutTxAsync(java.util.Set)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getAllOutTxAsync</h4> |
| <pre>public org.apache.ignite.internal.IgniteInternalFuture<<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>>> getAllOutTxAsync(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a> keys)</pre> |
| <div class="block">Gets values from cache. Will bypass started transaction, if any, i.e. will not enlist entries |
| and will not lock any keys if pessimistic transaction is started by thread.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code>getAllOutTxAsync</code> in interface <code>org.apache.ignite.internal.processors.cache.IgniteInternalCache<<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>keys</code> - Keys to get values for.</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>Future for getAllOutTx operation.</dd></dl> |
| </li> |
| </ul> |
| <a name="isIgfsDataCache()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isIgfsDataCache</h4> |
| <pre>public boolean isIgfsDataCache()</pre> |
| <div class="block">Checks whether this cache is IGFS data cache.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code>isIgfsDataCache</code> in interface <code>org.apache.ignite.internal.processors.cache.IgniteInternalCache<<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>></code></dd> |
| <dt><span class="strong">Returns:</span></dt><dd><code>True</code> in case this cache is IGFS data cache.</dd></dl> |
| </li> |
| </ul> |
| <a name="igfsDataSpaceUsed()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>igfsDataSpaceUsed</h4> |
| <pre>public long igfsDataSpaceUsed()</pre> |
| <div class="block">Get current amount of used IGFS space in bytes.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code>igfsDataSpaceUsed</code> in interface <code>org.apache.ignite.internal.processors.cache.IgniteInternalCache<<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>></code></dd> |
| <dt><span class="strong">Returns:</span></dt><dd>Amount of used IGFS space in bytes.</dd></dl> |
| </li> |
| </ul> |
| <a name="isMongoDataCache()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isMongoDataCache</h4> |
| <pre>public boolean isMongoDataCache()</pre> |
| <div class="block">Checks whether this cache is Mongo data cache.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code>isMongoDataCache</code> in interface <code>org.apache.ignite.internal.processors.cache.IgniteInternalCache<<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>></code></dd> |
| <dt><span class="strong">Returns:</span></dt><dd><code>True</code> if this cache is mongo data cache.</dd></dl> |
| </li> |
| </ul> |
| <a name="isMongoMetaCache()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isMongoMetaCache</h4> |
| <pre>public boolean isMongoMetaCache()</pre> |
| <div class="block">Checks whether this cache is Mongo meta cache.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code>isMongoMetaCache</code> in interface <code>org.apache.ignite.internal.processors.cache.IgniteInternalCache<<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>></code></dd> |
| <dt><span class="strong">Returns:</span></dt><dd><code>True</code> if this cache is mongo meta cache.</dd></dl> |
| </li> |
| </ul> |
| <a name="expiry()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>expiry</h4> |
| <pre>@Nullable |
| public javax.cache.expiry.ExpiryPolicy expiry()</pre> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code>expiry</code> in interface <code>org.apache.ignite.internal.processors.cache.IgniteInternalCache<<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>></code></dd> |
| <dt><span class="strong">Returns:</span></dt><dd><code>ExpiryPolicy</code> associated with this projection.</dd></dl> |
| </li> |
| </ul> |
| <a name="withExpiryPolicy(javax.cache.expiry.ExpiryPolicy)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>withExpiryPolicy</h4> |
| <pre>public org.apache.ignite.internal.processors.cache.IgniteInternalCache withExpiryPolicy(javax.cache.expiry.ExpiryPolicy plc)</pre> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code>withExpiryPolicy</code> in interface <code>org.apache.ignite.internal.processors.cache.IgniteInternalCache<<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>plc</code> - <code>ExpiryPolicy</code> to associate with this projection.</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>New projection based on this one, but with the specified expiry policy.</dd></dl> |
| </li> |
| </ul> |
| <a name="withNoRetries()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>withNoRetries</h4> |
| <pre>public org.apache.ignite.internal.processors.cache.IgniteInternalCache withNoRetries()</pre> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code>withNoRetries</code> in interface <code>org.apache.ignite.internal.processors.cache.IgniteInternalCache<<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>></code></dd> |
| <dt><span class="strong">Returns:</span></dt><dd>Cache with no-retries behavior enabled.</dd></dl> |
| </li> |
| </ul> |
| <a name="context()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>context</h4> |
| <pre>public org.apache.ignite.internal.processors.cache.GridCacheContext context()</pre> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code>context</code> in interface <code>org.apache.ignite.internal.processors.cache.IgniteInternalCache<<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>></code></dd> |
| <dt><span class="strong">Returns:</span></dt><dd>Context.</dd></dl> |
| </li> |
| </ul> |
| <a name="localLoadCache(org.apache.ignite.lang.IgniteBiPredicate, java.lang.Object...)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>localLoadCache</h4> |
| <pre>public void localLoadCache(@Nullable |
| <a href="../../../../../org/apache/ignite/lang/IgniteBiPredicate.html" title="interface in org.apache.ignite.lang">IgniteBiPredicate</a> p, |
| @Nullable |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>... args) |
| throws <a href="../../../../../org/apache/ignite/IgniteCheckedException.html" title="class in org.apache.ignite">IgniteCheckedException</a></pre> |
| <div class="block">Delegates to <a href="../../../../../org/apache/ignite/cache/store/CacheStore.html#loadCache(org.apache.ignite.lang.IgniteBiInClosure,%20java.lang.Object...)"><code>CacheStore.loadCache(IgniteBiInClosure, Object...)</code></a> method |
| to load state from the underlying persistent storage. The loaded values |
| will then be given to the optionally passed in predicate, and, if the predicate returns |
| <code>true</code>, will be stored in cache. If predicate is <code>null</code>, then |
| all loaded values will be stored in cache. |
| <p> |
| Note that this method does not receive keys as a parameter, so it is up to |
| <a href="../../../../../org/apache/ignite/cache/store/CacheStore.html" title="interface in org.apache.ignite.cache.store"><code>CacheStore</code></a> implementation to provide all the data to be loaded. |
| <p> |
| This method is not transactional and may end up loading a stale value into |
| cache if another thread has updated the value immediately after it has been |
| loaded. It is mostly useful when pre-loading the cache from underlying |
| data store before start, or for read-only caches.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code>localLoadCache</code> in interface <code>org.apache.ignite.internal.processors.cache.IgniteInternalCache<<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>p</code> - Optional predicate (may be <code>null</code>). If provided, will be used to |
| filter values to be put into cache.</dd><dd><code>args</code> - Optional user arguments to be passed into |
| <a href="../../../../../org/apache/ignite/cache/store/CacheStore.html#loadCache(org.apache.ignite.lang.IgniteBiInClosure,%20java.lang.Object...)"><code>CacheStore.loadCache(IgniteBiInClosure, Object...)</code></a> method.</dd> |
| <dt><span class="strong">Throws:</span></dt> |
| <dd><code><a href="../../../../../org/apache/ignite/IgniteCheckedException.html" title="class in org.apache.ignite">IgniteCheckedException</a></code> - If loading failed.</dd></dl> |
| </li> |
| </ul> |
| <a name="localLoadCacheAsync(org.apache.ignite.lang.IgniteBiPredicate, java.lang.Object...)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>localLoadCacheAsync</h4> |
| <pre>public org.apache.ignite.internal.IgniteInternalFuture<?> localLoadCacheAsync(@Nullable |
| <a href="../../../../../org/apache/ignite/lang/IgniteBiPredicate.html" title="interface in org.apache.ignite.lang">IgniteBiPredicate</a> p, |
| @Nullable |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>... args)</pre> |
| <div class="block">Asynchronously delegates to <a href="../../../../../org/apache/ignite/cache/store/CacheStore.html#loadCache(org.apache.ignite.lang.IgniteBiInClosure,%20java.lang.Object...)"><code>CacheStore.loadCache(IgniteBiInClosure, Object...)</code></a> method |
| to reload state from the underlying persistent storage. The reloaded values |
| will then be given to the optionally passed in predicate, and if the predicate returns |
| <code>true</code>, will be stored in cache. If predicate is <code>null</code>, then |
| all reloaded values will be stored in cache. |
| <p> |
| Note that this method does not receive keys as a parameter, so it is up to |
| <a href="../../../../../org/apache/ignite/cache/store/CacheStore.html" title="interface in org.apache.ignite.cache.store"><code>CacheStore</code></a> implementation to provide all the data to be loaded. |
| <p> |
| This method is not transactional and may end up loading a stale value into |
| cache if another thread has updated the value immediately after it has been |
| loaded. It is mostly useful when pre-loading the cache from underlying |
| data store before start, or for read-only caches.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code>localLoadCacheAsync</code> in interface <code>org.apache.ignite.internal.processors.cache.IgniteInternalCache<<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>p</code> - Optional predicate (may be <code>null</code>). If provided, will be used to |
| filter values to be put into cache.</dd><dd><code>args</code> - Optional user arguments to be passed into |
| <a href="../../../../../org/apache/ignite/cache/store/CacheStore.html#loadCache(org.apache.ignite.lang.IgniteBiInClosure,%20java.lang.Object...)"><code>CacheStore.loadCache(IgniteBiInClosure, Object...)</code></a> method.</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>Future to be completed whenever loading completes.</dd></dl> |
| </li> |
| </ul> |
| <a name="getTopologySafe(java.lang.Object)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getTopologySafe</h4> |
| <pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> getTopologySafe(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> key) |
| throws <a href="../../../../../org/apache/ignite/IgniteCheckedException.html" title="class in org.apache.ignite">IgniteCheckedException</a></pre> |
| <div class="block">Gets value without waiting for toplogy changes.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code>getTopologySafe</code> in interface <code>org.apache.ignite.internal.processors.cache.IgniteInternalCache<<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>key</code> - Key.</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>Value.</dd> |
| <dt><span class="strong">Throws:</span></dt> |
| <dd><code><a href="../../../../../org/apache/ignite/IgniteCheckedException.html" title="class in org.apache.ignite">IgniteCheckedException</a></code> - If failed.</dd></dl> |
| </li> |
| </ul> |
| <a name="lostPartitions()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>lostPartitions</h4> |
| <pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a><<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</a>> lostPartitions()</pre> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code>lostPartitions</code> in interface <code>org.apache.ignite.internal.processors.cache.IgniteInternalCache<<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>></code></dd> |
| <dt><span class="strong">Returns:</span></dt><dd>A collection of lost partitions if a cache is in recovery state.</dd></dl> |
| </li> |
| </ul> |
| <a name="invoke(org.apache.ignite.internal.processors.affinity.AffinityTopologyVersion, java.lang.Object, javax.cache.processor.EntryProcessor, java.lang.Object...)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>invoke</h4> |
| <pre>@Nullable |
| public javax.cache.processor.EntryProcessorResult invoke(@Nullable |
| org.apache.ignite.internal.processors.affinity.AffinityTopologyVersion topVer, |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> key, |
| javax.cache.processor.EntryProcessor entryProcessor, |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>... args) |
| throws <a href="../../../../../org/apache/ignite/IgniteCheckedException.html" title="class in org.apache.ignite">IgniteCheckedException</a></pre> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code>invoke</code> in interface <code>org.apache.ignite.internal.processors.cache.IgniteInternalCache<<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>topVer</code> - Locked topology version.</dd><dd><code>key</code> - Key.</dd><dd><code>entryProcessor</code> - Entry processor.</dd><dd><code>args</code> - Arguments.</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>Invoke result.</dd> |
| <dt><span class="strong">Throws:</span></dt> |
| <dd><code><a href="../../../../../org/apache/ignite/IgniteCheckedException.html" title="class in org.apache.ignite">IgniteCheckedException</a></code> - If failed.</dd></dl> |
| </li> |
| </ul> |
| <a name="invokeAllAsync(java.util.Map, java.lang.Object...)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>invokeAllAsync</h4> |
| <pre>public org.apache.ignite.internal.IgniteInternalFuture<<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>> invokeAllAsync(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a> map, |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>... args)</pre> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code>invokeAllAsync</code> in interface <code>org.apache.ignite.internal.processors.cache.IgniteInternalCache<<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>map</code> - Map containing keys and entry processors to be applied to values.</dd><dd><code>args</code> - Arguments.</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>Future.</dd></dl> |
| </li> |
| </ul> |
| <a name="invokeAll(java.util.Map, java.lang.Object...)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>invokeAll</h4> |
| <pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a> invokeAll(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a> map, |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>... args) |
| throws <a href="../../../../../org/apache/ignite/IgniteCheckedException.html" title="class in org.apache.ignite">IgniteCheckedException</a></pre> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code>invokeAll</code> in interface <code>org.apache.ignite.internal.processors.cache.IgniteInternalCache<<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>map</code> - Map containing keys and entry processors to be applied to values.</dd><dd><code>args</code> - Arguments.</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>Invoke results.</dd> |
| <dt><span class="strong">Throws:</span></dt> |
| <dd><code><a href="../../../../../org/apache/ignite/IgniteCheckedException.html" title="class in org.apache.ignite">IgniteCheckedException</a></code> - If failed.</dd></dl> |
| </li> |
| </ul> |
| <a name="invokeAllAsync(java.util.Set, javax.cache.processor.EntryProcessor, java.lang.Object...)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>invokeAllAsync</h4> |
| <pre>public org.apache.ignite.internal.IgniteInternalFuture<<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>> invokeAllAsync(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a> keys, |
| javax.cache.processor.EntryProcessor entryProcessor, |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>... args)</pre> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code>invokeAllAsync</code> in interface <code>org.apache.ignite.internal.processors.cache.IgniteInternalCache<<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>keys</code> - Keys.</dd><dd><code>entryProcessor</code> - Entry processor.</dd><dd><code>args</code> - Arguments.</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>Future.</dd></dl> |
| </li> |
| </ul> |
| <a name="invokeAll(java.util.Set, javax.cache.processor.EntryProcessor, java.lang.Object...)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>invokeAll</h4> |
| <pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a> invokeAll(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a> keys, |
| javax.cache.processor.EntryProcessor entryProcessor, |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>... args) |
| throws <a href="../../../../../org/apache/ignite/IgniteCheckedException.html" title="class in org.apache.ignite">IgniteCheckedException</a></pre> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code>invokeAll</code> in interface <code>org.apache.ignite.internal.processors.cache.IgniteInternalCache<<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>keys</code> - Keys.</dd><dd><code>entryProcessor</code> - Entry processor.</dd><dd><code>args</code> - Arguments.</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>Invoke results.</dd> |
| <dt><span class="strong">Throws:</span></dt> |
| <dd><code><a href="../../../../../org/apache/ignite/IgniteCheckedException.html" title="class in org.apache.ignite">IgniteCheckedException</a></code> - If failed.</dd></dl> |
| </li> |
| </ul> |
| <a name="invokeAsync(java.lang.Object, javax.cache.processor.EntryProcessor, java.lang.Object...)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>invokeAsync</h4> |
| <pre>public org.apache.ignite.internal.IgniteInternalFuture<javax.cache.processor.EntryProcessorResult> invokeAsync(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> key, |
| javax.cache.processor.EntryProcessor entryProcessor, |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>... args)</pre> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code>invokeAsync</code> in interface <code>org.apache.ignite.internal.processors.cache.IgniteInternalCache<<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>key</code> - Key.</dd><dd><code>entryProcessor</code> - Entry processor.</dd><dd><code>args</code> - Arguments.</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>Future.</dd></dl> |
| </li> |
| </ul> |
| <a name="invoke(java.lang.Object, javax.cache.processor.EntryProcessor, java.lang.Object...)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>invoke</h4> |
| <pre>@Nullable |
| public javax.cache.processor.EntryProcessorResult invoke(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> key, |
| javax.cache.processor.EntryProcessor entryProcessor, |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>... args) |
| throws <a href="../../../../../org/apache/ignite/IgniteCheckedException.html" title="class in org.apache.ignite">IgniteCheckedException</a></pre> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code>invoke</code> in interface <code>org.apache.ignite.internal.processors.cache.IgniteInternalCache<<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>key</code> - Key.</dd><dd><code>entryProcessor</code> - Entry processor.</dd><dd><code>args</code> - Arguments.</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>Invoke result.</dd> |
| <dt><span class="strong">Throws:</span></dt> |
| <dd><code><a href="../../../../../org/apache/ignite/IgniteCheckedException.html" title="class in org.apache.ignite">IgniteCheckedException</a></code> - If failed.</dd></dl> |
| </li> |
| </ul> |
| <a name="scanIterator(boolean, org.apache.ignite.lang.IgniteBiPredicate)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>scanIterator</h4> |
| <pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Iterator.html?is-external=true" title="class or interface in java.util">Iterator</a><javax.cache.Cache.Entry<<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>>> scanIterator(boolean keepBinary, |
| @Nullable |
| <a href="../../../../../org/apache/ignite/lang/IgniteBiPredicate.html" title="interface in org.apache.ignite.lang">IgniteBiPredicate</a> p) |
| throws <a href="../../../../../org/apache/ignite/IgniteCheckedException.html" title="class in org.apache.ignite">IgniteCheckedException</a></pre> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code>scanIterator</code> in interface <code>org.apache.ignite.internal.processors.cache.IgniteInternalCache<<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>keepBinary</code> - Keep binary flag.</dd><dd><code>p</code> - Optional key/value predicate.</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>Scan query iterator.</dd> |
| <dt><span class="strong">Throws:</span></dt> |
| <dd><code><a href="../../../../../org/apache/ignite/IgniteCheckedException.html" title="class in org.apache.ignite">IgniteCheckedException</a></code> - If failed.</dd></dl> |
| </li> |
| </ul> |
| <a name="removeAllConflictAsync(java.util.Map)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>removeAllConflictAsync</h4> |
| <pre>public org.apache.ignite.internal.IgniteInternalFuture<?> removeAllConflictAsync(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a> drMap) |
| throws <a href="../../../../../org/apache/ignite/IgniteCheckedException.html" title="class in org.apache.ignite">IgniteCheckedException</a></pre> |
| <div class="block">Removes DR data asynchronously.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code>removeAllConflictAsync</code> in interface <code>org.apache.ignite.internal.processors.cache.IgniteInternalCache<<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>drMap</code> - DR map.</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>Future.</dd> |
| <dt><span class="strong">Throws:</span></dt> |
| <dd><code><a href="../../../../../org/apache/ignite/IgniteCheckedException.html" title="class in org.apache.ignite">IgniteCheckedException</a></code> - If remove failed.</dd></dl> |
| </li> |
| </ul> |
| <a name="removeAllConflict(java.util.Map)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>removeAllConflict</h4> |
| <pre>public void removeAllConflict(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a> drMap) |
| throws <a href="../../../../../org/apache/ignite/IgniteCheckedException.html" title="class in org.apache.ignite">IgniteCheckedException</a></pre> |
| <div class="block">Removes DR data.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code>removeAllConflict</code> in interface <code>org.apache.ignite.internal.processors.cache.IgniteInternalCache<<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>drMap</code> - DR map.</dd> |
| <dt><span class="strong">Throws:</span></dt> |
| <dd><code><a href="../../../../../org/apache/ignite/IgniteCheckedException.html" title="class in org.apache.ignite">IgniteCheckedException</a></code> - If remove failed.</dd></dl> |
| </li> |
| </ul> |
| <a name="putAllConflictAsync(java.util.Map)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>putAllConflictAsync</h4> |
| <pre>public org.apache.ignite.internal.IgniteInternalFuture<?> putAllConflictAsync(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a> drMap) |
| throws <a href="../../../../../org/apache/ignite/IgniteCheckedException.html" title="class in org.apache.ignite">IgniteCheckedException</a></pre> |
| <div class="block">Store DR data asynchronously.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code>putAllConflictAsync</code> in interface <code>org.apache.ignite.internal.processors.cache.IgniteInternalCache<<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>drMap</code> - DR map.</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>Future.</dd> |
| <dt><span class="strong">Throws:</span></dt> |
| <dd><code><a href="../../../../../org/apache/ignite/IgniteCheckedException.html" title="class in org.apache.ignite">IgniteCheckedException</a></code> - If put operation failed.</dd></dl> |
| </li> |
| </ul> |
| <a name="putAllConflict(java.util.Map)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>putAllConflict</h4> |
| <pre>public void putAllConflict(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a> drMap) |
| throws <a href="../../../../../org/apache/ignite/IgniteCheckedException.html" title="class in org.apache.ignite">IgniteCheckedException</a></pre> |
| <div class="block">Store DR data.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code>putAllConflict</code> in interface <code>org.apache.ignite.internal.processors.cache.IgniteInternalCache<<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>drMap</code> - DR map.</dd> |
| <dt><span class="strong">Throws:</span></dt> |
| <dd><code><a href="../../../../../org/apache/ignite/IgniteCheckedException.html" title="class in org.apache.ignite">IgniteCheckedException</a></code> - If put operation failed.</dd></dl> |
| </li> |
| </ul> |
| <a name="keepBinary()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>keepBinary</h4> |
| <pre>public org.apache.ignite.internal.processors.cache.IgniteInternalCache keepBinary()</pre> |
| <div class="block">Creates projection that will operate with binary objects. |
| <p> |
| Projection returned by this method will force cache not to deserialize binary objects, |
| so keys and values will be returned from cache API methods without changes. Therefore, |
| signature of the projection can contain only following types: |
| <ul> |
| <li><code>org.gridgain.grid.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="http://docs.oracle.com/javase/7/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="http://docs.oracle.com/javase/7/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="http://docs.oracle.com/javase/7/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="http://docs.oracle.com/javase/7/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="http://docs.oracle.com/javase/7/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="http://docs.oracle.com/javase/7/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="http://docs.oracle.com/javase/7/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="http://docs.oracle.com/javase/7/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="http://docs.oracle.com/javase/7/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> |
| IgniteInternalCache<Integer, GridBinaryObject> prj = cache.keepBinary(); |
| |
| // Value is not deserialized and returned in binary format. |
| GridBinaryObject po = prj.get(1); |
| </pre> |
| <p> |
| Note that this method makes sense only if cache is working in binary mode |
| (<code>org.apache.ignite.configuration.CacheConfiguration#isBinaryEnabled()</code> returns <code>true</code>. If not, |
| this method is no-op and will return current projection.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code>keepBinary</code> in interface <code>org.apache.ignite.internal.processors.cache.IgniteInternalCache<<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>></code></dd> |
| <dt><span class="strong">Returns:</span></dt><dd>New internal cache instance for binary objects.</dd></dl> |
| </li> |
| </ul> |
| <a name="cache()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>cache</h4> |
| <pre>public org.apache.ignite.internal.processors.cache.IgniteInternalCache cache()</pre> |
| <div class="block">Gets base cache for this projection.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code>cache</code> in interface <code>org.apache.ignite.internal.processors.cache.IgniteInternalCache<<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>></code></dd> |
| <dt><span class="strong">Returns:</span></dt><dd>Base cache for this projection.</dd></dl> |
| </li> |
| </ul> |
| <a name="iterator()"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>iterator</h4> |
| <pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Iterator.html?is-external=true" title="class or interface in java.util">Iterator</a> iterator()</pre> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Iterable.html?is-external=true#iterator()" title="class or interface in java.lang">iterator</a></code> in interface <code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a><javax.cache.Cache.Entry<<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>>></code></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><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../../overview-summary.html">Overview</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="navBarCell1Rev">Class</li> |
| <li><a href="class-use/HibernateCacheProxy.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 class="aboutLanguage"><em>Ignite - In-Memory Data Fabric</em></div> |
| </div> |
| <div class="subNav"> |
| <ul class="navList"> |
| <li><a href="../../../../../org/apache/ignite/cache/hibernate/HibernateAccessStrategyFactory.html" title="class in org.apache.ignite.cache.hibernate"><span class="strong">Prev Class</span></a></li> |
| <li><a href="../../../../../org/apache/ignite/cache/hibernate/HibernateExceptionConverter.html" title="interface in org.apache.ignite.cache.hibernate"><span class="strong">Next Class</span></a></li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../../index.html?org/apache/ignite/cache/hibernate/HibernateCacheProxy.html" target="_top">Frames</a></li> |
| <li><a href="HibernateCacheProxy.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>2017 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 Fabric</b> </td> <td>: ver. <strong>2.1.0</strong> </td> </tr> <tr style="padding: 0; margin: 0"> <td> <b>Release Date</b> </td> <td>: July 20 2017 </td> </tr> </tbody> </table> </td> </tr> </table></small></p> |
| </body> |
| </html> |