| <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| <html xmlns="http://www.w3.org/1999/xhtml"> |
| <head> |
| <META NAME="ROBOTS" CONTENT="NOINDEX"> |
| <link rel="canonical" href="https://ignite.apache.org/releases/1.6.0/dotnetdoc/namespace_apache_1_1_ignite_1_1_core_1_1_cache_1_1_configuration.html" /> |
| <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> |
| <meta http-equiv="X-UA-Compatible" content="IE=9"/> |
| <meta name="generator" content="Doxygen 1.8.9.1"/> |
| <title>Apache Ignite.NET: Package Apache.Ignite.Core.Cache.Configuration</title> |
| <link href="tabs.css" rel="stylesheet" type="text/css"/> |
| <script type="text/javascript" src="jquery.js"></script> |
| <script type="text/javascript" src="dynsections.js"></script> |
| <link href="navtree.css" rel="stylesheet" type="text/css"/> |
| <script type="text/javascript" src="resize.js"></script> |
| <script type="text/javascript" src="navtreedata.js"></script> |
| <script type="text/javascript" src="navtree.js"></script> |
| <script type="text/javascript"> |
| $(document).ready(initResizable); |
| $(window).load(resizeHeight); |
| </script> |
| <link href="doxygen.css" rel="stylesheet" type="text/css" /> |
| |
| <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> |
| <div id="top"><!-- do not remove this div, it is closed by doxygen! --> |
| <div id="titlearea"> |
| <table cellspacing="0" cellpadding="0"> |
| <tbody> |
| <tr style="height: 56px;"> |
| <td id="projectlogo"><img alt="Logo" src="ignite_logo.png"/></td> |
| <td style="padding-left: 0.5em;"> |
| <div id="projectname">Apache Ignite.NET |
| </div> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| </div> |
| <!-- end header part --> |
| <!-- Generated by Doxygen 1.8.9.1 --> |
| </div><!-- top --> |
| <div id="side-nav" class="ui-resizable side-nav-resizable"> |
| <div id="nav-tree"> |
| <div id="nav-tree-contents"> |
| <div id="nav-sync" class="sync"></div> |
| </div> |
| </div> |
| <div id="splitbar" style="-moz-user-select:none;" |
| class="ui-resizable-handle"> |
| </div> |
| </div> |
| <script type="text/javascript"> |
| $(document).ready(function(){initNavTree('namespace_apache_1_1_ignite_1_1_core_1_1_cache_1_1_configuration.html','');}); |
| </script> |
| <div id="doc-content"> |
| <div class="header"> |
| <div class="summary"> |
| <a href="#nested-classes">Classes</a> | |
| <a href="#enum-members">Enumerations</a> </div> |
| <div class="headertitle"> |
| <div class="title">Package Apache.Ignite.Core.Cache.Configuration</div> </div> |
| </div><!--header--> |
| <div class="contents"> |
| <table class="memberdecls"> |
| <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a> |
| Classes</h2></td></tr> |
| <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="class_apache_1_1_ignite_1_1_core_1_1_cache_1_1_configuration_1_1_cache_configuration.html">CacheConfiguration</a></td></tr> |
| <tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">Defines grid cache configuration. <a href="class_apache_1_1_ignite_1_1_core_1_1_cache_1_1_configuration_1_1_cache_configuration.html#details">More...</a><br /></td></tr> |
| <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="class_apache_1_1_ignite_1_1_core_1_1_cache_1_1_configuration_1_1_near_cache_configuration.html">NearCacheConfiguration</a></td></tr> |
| <tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">Defines near cache configuration. <a href="class_apache_1_1_ignite_1_1_core_1_1_cache_1_1_configuration_1_1_near_cache_configuration.html#details">More...</a><br /></td></tr> |
| <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="class_apache_1_1_ignite_1_1_core_1_1_cache_1_1_configuration_1_1_query_alias.html">QueryAlias</a></td></tr> |
| <tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">Represents cache query configuration alias. <a href="class_apache_1_1_ignite_1_1_core_1_1_cache_1_1_configuration_1_1_query_alias.html#details">More...</a><br /></td></tr> |
| <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="class_apache_1_1_ignite_1_1_core_1_1_cache_1_1_configuration_1_1_query_entity.html">QueryEntity</a></td></tr> |
| <tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">Query entity is a description of cache entry (composed of key and value) in a way of how it must be indexed and can be queried. <a href="class_apache_1_1_ignite_1_1_core_1_1_cache_1_1_configuration_1_1_query_entity.html#details">More...</a><br /></td></tr> |
| <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="class_apache_1_1_ignite_1_1_core_1_1_cache_1_1_configuration_1_1_query_field.html">QueryField</a></td></tr> |
| <tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">Represents a queryable field. <a href="class_apache_1_1_ignite_1_1_core_1_1_cache_1_1_configuration_1_1_query_field.html#details">More...</a><br /></td></tr> |
| <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="class_apache_1_1_ignite_1_1_core_1_1_cache_1_1_configuration_1_1_query_index.html">QueryIndex</a></td></tr> |
| <tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">Represents cache query index configuration. <a href="class_apache_1_1_ignite_1_1_core_1_1_cache_1_1_configuration_1_1_query_index.html#details">More...</a><br /></td></tr> |
| <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="class_apache_1_1_ignite_1_1_core_1_1_cache_1_1_configuration_1_1_query_index_field.html">QueryIndexField</a></td></tr> |
| <tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">Represents an indexed field. <a href="class_apache_1_1_ignite_1_1_core_1_1_cache_1_1_configuration_1_1_query_index_field.html#details">More...</a><br /></td></tr> |
| <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="class_apache_1_1_ignite_1_1_core_1_1_cache_1_1_configuration_1_1_query_sql_field_attribute.html">QuerySqlFieldAttribute</a></td></tr> |
| <tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">Marks field or property for SQL queries. <a href="class_apache_1_1_ignite_1_1_core_1_1_cache_1_1_configuration_1_1_query_sql_field_attribute.html#details">More...</a><br /></td></tr> |
| <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="class_apache_1_1_ignite_1_1_core_1_1_cache_1_1_configuration_1_1_query_text_field_attribute.html">QueryTextFieldAttribute</a></td></tr> |
| <tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">Marks field or property for Text queries. <a href="class_apache_1_1_ignite_1_1_core_1_1_cache_1_1_configuration_1_1_query_text_field_attribute.html#details">More...</a><br /></td></tr> |
| <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> |
| </table><table class="memberdecls"> |
| <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="enum-members"></a> |
| Enumerations</h2></td></tr> |
| <tr class="memitem:aae310bca47d0ce3f2e6bbfebcf37dbdd"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_apache_1_1_ignite_1_1_core_1_1_cache_1_1_configuration.html#aae310bca47d0ce3f2e6bbfebcf37dbdd">CacheAtomicityMode</a> { <a class="el" href="namespace_apache_1_1_ignite_1_1_core_1_1_cache_1_1_configuration.html#aae310bca47d0ce3f2e6bbfebcf37dbddad7140284ac92d169d24484726d8a2f10">CacheAtomicityMode.Transactional</a>, |
| <a class="el" href="namespace_apache_1_1_ignite_1_1_core_1_1_cache_1_1_configuration.html#aae310bca47d0ce3f2e6bbfebcf37dbdda557eccd321b7f10f5127c1ef27aaac7d">CacheAtomicityMode.Atomic</a> |
| }</td></tr> |
| <tr class="memdesc:aae310bca47d0ce3f2e6bbfebcf37dbdd"><td class="mdescLeft"> </td><td class="mdescRight">Cache atomicity mode. <a href="namespace_apache_1_1_ignite_1_1_core_1_1_cache_1_1_configuration.html#aae310bca47d0ce3f2e6bbfebcf37dbdd">More...</a><br /></td></tr> |
| <tr class="separator:aae310bca47d0ce3f2e6bbfebcf37dbdd"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:a08656f003bb9f5dddedb0b252dd45a16"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_apache_1_1_ignite_1_1_core_1_1_cache_1_1_configuration.html#a08656f003bb9f5dddedb0b252dd45a16">CacheAtomicWriteOrderMode</a> { <a class="el" href="namespace_apache_1_1_ignite_1_1_core_1_1_cache_1_1_configuration.html#a08656f003bb9f5dddedb0b252dd45a16a98a892aea3359481ae30e7b66c44d7a8">CacheAtomicWriteOrderMode.Clock</a>, |
| <a class="el" href="namespace_apache_1_1_ignite_1_1_core_1_1_cache_1_1_configuration.html#a08656f003bb9f5dddedb0b252dd45a16a074de7e7c226d5c60f8af14c20725352">CacheAtomicWriteOrderMode.Primary</a> |
| }</td></tr> |
| <tr class="memdesc:a08656f003bb9f5dddedb0b252dd45a16"><td class="mdescLeft"> </td><td class="mdescRight">Cache write ordering mode. This enumeration is taken into account only in CacheAtomicityMode.Atomic atomicity mode. Write ordering mode determines which node assigns the write version, sender or the primary node. <a href="namespace_apache_1_1_ignite_1_1_core_1_1_cache_1_1_configuration.html#a08656f003bb9f5dddedb0b252dd45a16">More...</a><br /></td></tr> |
| <tr class="separator:a08656f003bb9f5dddedb0b252dd45a16"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:a584fe24858c4776b82056f7635646842"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_apache_1_1_ignite_1_1_core_1_1_cache_1_1_configuration.html#a584fe24858c4776b82056f7635646842">CacheMemoryMode</a> { <a class="el" href="namespace_apache_1_1_ignite_1_1_core_1_1_cache_1_1_configuration.html#a584fe24858c4776b82056f7635646842a6502d54fcd3ded89d993ecd02c338f11">CacheMemoryMode.OnheapTiered</a>, |
| <a class="el" href="namespace_apache_1_1_ignite_1_1_core_1_1_cache_1_1_configuration.html#a584fe24858c4776b82056f7635646842ab93ab33c914590b87eed80dafcf1adc4">CacheMemoryMode.OffheapTiered</a>, |
| <a class="el" href="namespace_apache_1_1_ignite_1_1_core_1_1_cache_1_1_configuration.html#a584fe24858c4776b82056f7635646842a410789b819e1e70ecf50d6d93f98aa2b">CacheMemoryMode.OffheapValues</a> |
| }</td></tr> |
| <tr class="memdesc:a584fe24858c4776b82056f7635646842"><td class="mdescLeft"> </td><td class="mdescRight">Memory modes define whether cache entries are stored on heap memory, offheap memory, or in swap space. <a href="namespace_apache_1_1_ignite_1_1_core_1_1_cache_1_1_configuration.html#a584fe24858c4776b82056f7635646842">More...</a><br /></td></tr> |
| <tr class="separator:a584fe24858c4776b82056f7635646842"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:a5c4a4d2d3deb49e7de0f45e2d2ffd233"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_apache_1_1_ignite_1_1_core_1_1_cache_1_1_configuration.html#a5c4a4d2d3deb49e7de0f45e2d2ffd233">CacheMode</a> { <a class="el" href="namespace_apache_1_1_ignite_1_1_core_1_1_cache_1_1_configuration.html#a5c4a4d2d3deb49e7de0f45e2d2ffd233a509820290d57f333403f490dde7316f4">CacheMode.Local</a>, |
| <a class="el" href="namespace_apache_1_1_ignite_1_1_core_1_1_cache_1_1_configuration.html#a5c4a4d2d3deb49e7de0f45e2d2ffd233acde9e6576d2cd1bb93387925d982000d">CacheMode.Replicated</a>, |
| <a class="el" href="namespace_apache_1_1_ignite_1_1_core_1_1_cache_1_1_configuration.html#a5c4a4d2d3deb49e7de0f45e2d2ffd233a220f17cf2abf05802b7b523c17657f04">CacheMode.Partitioned</a> |
| }</td></tr> |
| <tr class="memdesc:a5c4a4d2d3deb49e7de0f45e2d2ffd233"><td class="mdescLeft"> </td><td class="mdescRight">Caching modes. <a href="namespace_apache_1_1_ignite_1_1_core_1_1_cache_1_1_configuration.html#a5c4a4d2d3deb49e7de0f45e2d2ffd233">More...</a><br /></td></tr> |
| <tr class="separator:a5c4a4d2d3deb49e7de0f45e2d2ffd233"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:aa2b9bd6402989f7c6c4a1af97990f04c"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_apache_1_1_ignite_1_1_core_1_1_cache_1_1_configuration.html#aa2b9bd6402989f7c6c4a1af97990f04c">CacheRebalanceMode</a> { <a class="el" href="namespace_apache_1_1_ignite_1_1_core_1_1_cache_1_1_configuration.html#aa2b9bd6402989f7c6c4a1af97990f04cad8e87c0927539672f54462c837be0b7f">CacheRebalanceMode.Sync</a>, |
| <a class="el" href="namespace_apache_1_1_ignite_1_1_core_1_1_cache_1_1_configuration.html#aa2b9bd6402989f7c6c4a1af97990f04ca24aa4117da86c41684ad25742832dfa6">CacheRebalanceMode.Async</a>, |
| <a class="el" href="namespace_apache_1_1_ignite_1_1_core_1_1_cache_1_1_configuration.html#aa2b9bd6402989f7c6c4a1af97990f04ca6adf97f83acf6453d4a6a4b1070f3754">CacheRebalanceMode.None</a> |
| }</td></tr> |
| <tr class="memdesc:aa2b9bd6402989f7c6c4a1af97990f04c"><td class="mdescLeft"> </td><td class="mdescRight">Cache rebalance mode. When rebalancing is enabled (i.e. has value other than None), distributed caches will attempt to rebalance all necessary values from other grid nodes. <a href="namespace_apache_1_1_ignite_1_1_core_1_1_cache_1_1_configuration.html#aa2b9bd6402989f7c6c4a1af97990f04c">More...</a><br /></td></tr> |
| <tr class="separator:aa2b9bd6402989f7c6c4a1af97990f04c"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:a9169f9a9c6b44f62dbaa35070664f498"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_apache_1_1_ignite_1_1_core_1_1_cache_1_1_configuration.html#a9169f9a9c6b44f62dbaa35070664f498">CacheWriteSynchronizationMode</a> { <a class="el" href="namespace_apache_1_1_ignite_1_1_core_1_1_cache_1_1_configuration.html#a9169f9a9c6b44f62dbaa35070664f498a276bb1c1f3c2c95f52baf626a748ed25">CacheWriteSynchronizationMode.FullSync</a>, |
| <a class="el" href="namespace_apache_1_1_ignite_1_1_core_1_1_cache_1_1_configuration.html#a9169f9a9c6b44f62dbaa35070664f498a52b68c2a43b0a3f0457946ed846158df">CacheWriteSynchronizationMode.FullAsync</a>, |
| <a class="el" href="namespace_apache_1_1_ignite_1_1_core_1_1_cache_1_1_configuration.html#a9169f9a9c6b44f62dbaa35070664f498a97eaa2c122a94839be3f6f08751b5fa1">CacheWriteSynchronizationMode.PrimarySync</a> |
| }</td></tr> |
| <tr class="memdesc:a9169f9a9c6b44f62dbaa35070664f498"><td class="mdescLeft"> </td><td class="mdescRight">Mode indicating how Ignite should wait for write replies from other nodes. <a href="namespace_apache_1_1_ignite_1_1_core_1_1_cache_1_1_configuration.html#a9169f9a9c6b44f62dbaa35070664f498">More...</a><br /></td></tr> |
| <tr class="separator:a9169f9a9c6b44f62dbaa35070664f498"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:a7f409038dfdc58ec797b5e2f6fcc9fe8"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_apache_1_1_ignite_1_1_core_1_1_cache_1_1_configuration.html#a7f409038dfdc58ec797b5e2f6fcc9fe8">QueryIndexType</a> { <a class="el" href="namespace_apache_1_1_ignite_1_1_core_1_1_cache_1_1_configuration.html#a7f409038dfdc58ec797b5e2f6fcc9fe8a4a1c2d294b4e16ce4e9b563011068033">QueryIndexType.Sorted</a>, |
| <a class="el" href="namespace_apache_1_1_ignite_1_1_core_1_1_cache_1_1_configuration.html#a7f409038dfdc58ec797b5e2f6fcc9fe8a1bcf159aa5ff6c1a04b8db08698d6e84">QueryIndexType.FullText</a>, |
| <a class="el" href="namespace_apache_1_1_ignite_1_1_core_1_1_cache_1_1_configuration.html#a7f409038dfdc58ec797b5e2f6fcc9fe8ac9347b71a3267e8041b68e9b1d32b8c6">QueryIndexType.Geospatial</a> |
| }</td></tr> |
| <tr class="memdesc:a7f409038dfdc58ec797b5e2f6fcc9fe8"><td class="mdescLeft"> </td><td class="mdescRight">Query index type. <a href="namespace_apache_1_1_ignite_1_1_core_1_1_cache_1_1_configuration.html#a7f409038dfdc58ec797b5e2f6fcc9fe8">More...</a><br /></td></tr> |
| <tr class="separator:a7f409038dfdc58ec797b5e2f6fcc9fe8"><td class="memSeparator" colspan="2"> </td></tr> |
| </table> |
| <h2 class="groupheader">Enumeration Type Documentation</h2> |
| <a class="anchor" id="aae310bca47d0ce3f2e6bbfebcf37dbdd"></a> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">enum <a class="el" href="namespace_apache_1_1_ignite_1_1_core_1_1_cache_1_1_configuration.html#aae310bca47d0ce3f2e6bbfebcf37dbdd">Apache.Ignite.Core.Cache.Configuration.CacheAtomicityMode</a></td> |
| </tr> |
| </table> |
| </div><div class="memdoc"> |
| <table class="fieldtable"> |
| <tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a class="anchor" id="aae310bca47d0ce3f2e6bbfebcf37dbddad7140284ac92d169d24484726d8a2f10"></a>Transactional </td><td class="fielddoc"> |
| <p>Specifies fully ACID-compliant transactional cache behavior. </p> |
| </td></tr> |
| <tr><td class="fieldname"><a class="anchor" id="aae310bca47d0ce3f2e6bbfebcf37dbdda557eccd321b7f10f5127c1ef27aaac7d"></a>Atomic </td><td class="fielddoc"> |
| <p>Specifies atomic-only cache behaviour. In this mode distributed transactions and distributed locking are not supported. Disabling transactions and locking allows to achieve much higher performance and throughput ratios. </p> |
| <p>In addition to transactions and locking, one of the main differences to <a class="el" href="namespace_apache_1_1_ignite_1_1_core_1_1_cache_1_1_configuration.html#aae310bca47d0ce3f2e6bbfebcf37dbdda557eccd321b7f10f5127c1ef27aaac7d" title="Specifies atomic-only cache behaviour. In this mode distributed transactions and distributed locking ...">Atomic</a> mode is that bulk writes, such as <a class="el" href="interface_apache_1_1_ignite_1_1_core_1_1_cache_1_1_i_cache.html#a2221e9b06fa50bb789dc949b8bcc9de3" title="Stores given key-value pairs in cache. If write-through is enabled, the stored values will be persist...">ICache<TK,TV>.PutAll</a> and ICache<TK,TV>.RemoveAll(System.Collections.Generic.IEnumerable<TK>) methods, become simple batch operations which can partially fail. In case of partial failure, <a class="el" href="class_apache_1_1_ignite_1_1_core_1_1_cache_1_1_cache_partial_update_exception.html" title="Exception thrown from non-transactional cache in case when update succeeded only partially. ">CachePartialUpdateException</a>will be thrown which will contain a list of keys for which the update failed. It is recommended that bulk writes are used whenever multiple keys need to be inserted or updated in cache, as they reduce number of network trips and provide better performance. </p> |
| <p>Note that even without locking and transactions, <a class="el" href="namespace_apache_1_1_ignite_1_1_core_1_1_cache_1_1_configuration.html#aae310bca47d0ce3f2e6bbfebcf37dbdda557eccd321b7f10f5127c1ef27aaac7d" title="Specifies atomic-only cache behaviour. In this mode distributed transactions and distributed locking ...">Atomic</a> mode still provides full consistency guarantees across all cache nodes. </p> |
| <p>Also note that all data modifications in <a class="el" href="namespace_apache_1_1_ignite_1_1_core_1_1_cache_1_1_configuration.html#aae310bca47d0ce3f2e6bbfebcf37dbdda557eccd321b7f10f5127c1ef27aaac7d" title="Specifies atomic-only cache behaviour. In this mode distributed transactions and distributed locking ...">Atomic</a> mode are guaranteed to be atomic and consistent with writes to the underlying persistent store, if one is configured. </p> |
| </td></tr> |
| </table> |
| |
| </div> |
| </div> |
| <a class="anchor" id="a08656f003bb9f5dddedb0b252dd45a16"></a> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">enum <a class="el" href="namespace_apache_1_1_ignite_1_1_core_1_1_cache_1_1_configuration.html#a08656f003bb9f5dddedb0b252dd45a16">Apache.Ignite.Core.Cache.Configuration.CacheAtomicWriteOrderMode</a></td> |
| </tr> |
| </table> |
| </div><div class="memdoc"> |
| <table class="fieldtable"> |
| <tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a class="anchor" id="a08656f003bb9f5dddedb0b252dd45a16a98a892aea3359481ae30e7b66c44d7a8"></a>Clock </td><td class="fielddoc"> |
| <p>In this mode, write versions are assigned on a sender node which generally leads to better performance in CacheWriteSynchronizationMode.FullSync synchronization mode, since in this case sender can send write requests to primary and backups at the same time. </p> |
| <p>This mode will be automatically configured only with CacheWriteSynchronizationMode.FullSync write synchronization mode, as for other synchronization modes it does not render better performance. </p> |
| </td></tr> |
| <tr><td class="fieldname"><a class="anchor" id="a08656f003bb9f5dddedb0b252dd45a16a074de7e7c226d5c60f8af14c20725352"></a>Primary </td><td class="fielddoc"> |
| <p>Cache version is assigned only on primary node. This means that sender will only send write request to primary node, which in turn will assign write version and forward it to backups. </p> |
| </td></tr> |
| </table> |
| |
| </div> |
| </div> |
| <a class="anchor" id="a584fe24858c4776b82056f7635646842"></a> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">enum <a class="el" href="namespace_apache_1_1_ignite_1_1_core_1_1_cache_1_1_configuration.html#a584fe24858c4776b82056f7635646842">Apache.Ignite.Core.Cache.Configuration.CacheMemoryMode</a></td> |
| </tr> |
| </table> |
| </div><div class="memdoc"> |
| <table class="fieldtable"> |
| <tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a class="anchor" id="a584fe24858c4776b82056f7635646842a6502d54fcd3ded89d993ecd02c338f11"></a>OnheapTiered </td><td class="fielddoc"> |
| <p>Entries will be stored on-heap first. The onheap tiered storage works as follows: </p><ul> |
| <li> |
| Entries are cached on heap memory first. </li> |
| <li> |
| If offheap memory is enabled and eviction policy evicts an entry from heap memory, entry will be moved to offheap memory. If offheap memory is disabled, then entry is simply discarded. </li> |
| <li> |
| If swap space is enabled and offheap memory fills up, then entry will be evicted into swap space. If swap space is disabled, then entry will be discarded. If swap is enabled and offheap memory is disabled, then entry will be evicted directly from heap memory into swap. </li> |
| </ul> |
| <p>Note that heap memory evictions are handled by configured EvictionPolicy implementation. By default, no eviction policy is enabled, so entries never leave heap memory space unless explicitly removed. </p> |
| </td></tr> |
| <tr><td class="fieldname"><a class="anchor" id="a584fe24858c4776b82056f7635646842ab93ab33c914590b87eed80dafcf1adc4"></a>OffheapTiered </td><td class="fielddoc"> |
| <p>Works the same as <a class="el" href="namespace_apache_1_1_ignite_1_1_core_1_1_cache_1_1_configuration.html#a584fe24858c4776b82056f7635646842a6502d54fcd3ded89d993ecd02c338f11" title="Entries will be stored on-heap first. The onheap tiered storage works as follows: Entries are cached ...">OnheapTiered</a>, except that entries never end up in heap memory and get stored in offheap memory right away. Entries get cached in offheap memory first and then get evicted to swap, if one is configured. </p> |
| </td></tr> |
| <tr><td class="fieldname"><a class="anchor" id="a584fe24858c4776b82056f7635646842a410789b819e1e70ecf50d6d93f98aa2b"></a>OffheapValues </td><td class="fielddoc"> |
| <p>Entry keys will be stored on heap memory, and values will be stored in offheap memory. Note that in this mode entries can be evicted only to swap. </p> |
| </td></tr> |
| </table> |
| |
| </div> |
| </div> |
| <a class="anchor" id="a5c4a4d2d3deb49e7de0f45e2d2ffd233"></a> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">enum <a class="el" href="namespace_apache_1_1_ignite_1_1_core_1_1_cache_1_1_configuration.html#a5c4a4d2d3deb49e7de0f45e2d2ffd233">Apache.Ignite.Core.Cache.Configuration.CacheMode</a></td> |
| </tr> |
| </table> |
| </div><div class="memdoc"> |
| <table class="fieldtable"> |
| <tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a class="anchor" id="a5c4a4d2d3deb49e7de0f45e2d2ffd233a509820290d57f333403f490dde7316f4"></a>Local </td><td class="fielddoc"> |
| <p>Specifies local-only cache behaviour. In this mode caches residing on different grid nodes will not know about each other. </p> |
| <p>Other than distribution, <a class="el" href="namespace_apache_1_1_ignite_1_1_core_1_1_cache_1_1_configuration.html#a5c4a4d2d3deb49e7de0f45e2d2ffd233a509820290d57f333403f490dde7316f4" title="Specifies local-only cache behaviour. In this mode caches residing on different grid nodes will not k...">Local</a> caches still have all the caching features, such as eviction, expiration, swapping, querying, etc... This mode is very useful when caching read-only data or data that automatically expires at a certain interval and then automatically reloaded from persistence store. </p> |
| </td></tr> |
| <tr><td class="fieldname"><a class="anchor" id="a5c4a4d2d3deb49e7de0f45e2d2ffd233acde9e6576d2cd1bb93387925d982000d"></a>Replicated </td><td class="fielddoc"> |
| <p>Specifies fully replicated cache behavior. In this mode all the keys are distributed to all participating nodes. </p> |
| </td></tr> |
| <tr><td class="fieldname"><a class="anchor" id="a5c4a4d2d3deb49e7de0f45e2d2ffd233a220f17cf2abf05802b7b523c17657f04"></a>Partitioned </td><td class="fielddoc"> |
| <p>Specifies partitioned cache behaviour. In this mode the overall key set will be divided into partitions and all partitions will be split equally between participating nodes. </p> |
| <p>Note that partitioned cache is always fronted by local 'near' cache which stores most recent data. </p> |
| </td></tr> |
| </table> |
| |
| </div> |
| </div> |
| <a class="anchor" id="aa2b9bd6402989f7c6c4a1af97990f04c"></a> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">enum <a class="el" href="namespace_apache_1_1_ignite_1_1_core_1_1_cache_1_1_configuration.html#aa2b9bd6402989f7c6c4a1af97990f04c">Apache.Ignite.Core.Cache.Configuration.CacheRebalanceMode</a></td> |
| </tr> |
| </table> |
| </div><div class="memdoc"> |
| <p>Replicated caches will try to load the full set of cache entries from other nodes, while partitioned caches will only load the entries for which current node is primary or backup. </p> |
| <p>Note that rebalance mode only makes sense for CacheMode.Replicated and CacheMode.Partitioned caches. Caches with CacheMode.Local mode are local by definition and therefore cannot rebalance any values from neighboring nodes. </p> |
| <table class="fieldtable"> |
| <tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a class="anchor" id="aa2b9bd6402989f7c6c4a1af97990f04cad8e87c0927539672f54462c837be0b7f"></a>Sync </td><td class="fielddoc"> |
| <p>Synchronous rebalance mode. Distributed caches will not start until all necessary data is loaded from other available grid nodes. </p> |
| </td></tr> |
| <tr><td class="fieldname"><a class="anchor" id="aa2b9bd6402989f7c6c4a1af97990f04ca24aa4117da86c41684ad25742832dfa6"></a>Async </td><td class="fielddoc"> |
| <p>Asynchronous rebalance mode. Distributed caches will start immediately and will load all necessary data from other available grid nodes in the background. </p> |
| </td></tr> |
| <tr><td class="fieldname"><a class="anchor" id="aa2b9bd6402989f7c6c4a1af97990f04ca6adf97f83acf6453d4a6a4b1070f3754"></a>None </td><td class="fielddoc"> |
| <p>In this mode no rebalancing will take place which means that caches will be either loaded on demand from persistent store whenever data is accessed, or will be populated explicitly. </p> |
| </td></tr> |
| </table> |
| |
| </div> |
| </div> |
| <a class="anchor" id="a9169f9a9c6b44f62dbaa35070664f498"></a> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">enum <a class="el" href="namespace_apache_1_1_ignite_1_1_core_1_1_cache_1_1_configuration.html#a9169f9a9c6b44f62dbaa35070664f498">Apache.Ignite.Core.Cache.Configuration.CacheWriteSynchronizationMode</a></td> |
| </tr> |
| </table> |
| </div><div class="memdoc"> |
| <table class="fieldtable"> |
| <tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a class="anchor" id="a9169f9a9c6b44f62dbaa35070664f498a276bb1c1f3c2c95f52baf626a748ed25"></a>FullSync </td><td class="fielddoc"> |
| <p>Mode indicating that Ignite should wait for write or commit replies from all nodes. This behavior guarantees that whenever any of the atomic or transactional writes complete, all other participating nodes which cache the written data have been updated. </p> |
| </td></tr> |
| <tr><td class="fieldname"><a class="anchor" id="a9169f9a9c6b44f62dbaa35070664f498a52b68c2a43b0a3f0457946ed846158df"></a>FullAsync </td><td class="fielddoc"> |
| <p>Flag indicating that Ignite will not wait for write or commit responses from participating nodes, which means that remote nodes may get their state updated a bit after any of the cache write methods complete, or after <a class="el" href="">Transaction#commit()</a> method completes. </p> |
| </td></tr> |
| <tr><td class="fieldname"><a class="anchor" id="a9169f9a9c6b44f62dbaa35070664f498a97eaa2c122a94839be3f6f08751b5fa1"></a>PrimarySync </td><td class="fielddoc"> |
| <p>This flag only makes sense for <a class="el" href="">CacheMode#PARTITIONED</a> mode. When enabled, Ignite will wait for write or commit to complete on primary node, but will not wait for backups to be updated. </p> |
| </td></tr> |
| </table> |
| |
| </div> |
| </div> |
| <a class="anchor" id="a7f409038dfdc58ec797b5e2f6fcc9fe8"></a> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">enum <a class="el" href="namespace_apache_1_1_ignite_1_1_core_1_1_cache_1_1_configuration.html#a7f409038dfdc58ec797b5e2f6fcc9fe8">Apache.Ignite.Core.Cache.Configuration.QueryIndexType</a></td> |
| </tr> |
| </table> |
| </div><div class="memdoc"> |
| <table class="fieldtable"> |
| <tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a class="anchor" id="a7f409038dfdc58ec797b5e2f6fcc9fe8a4a1c2d294b4e16ce4e9b563011068033"></a>Sorted </td><td class="fielddoc"> |
| <p>Sorted index. </p> |
| </td></tr> |
| <tr><td class="fieldname"><a class="anchor" id="a7f409038dfdc58ec797b5e2f6fcc9fe8a1bcf159aa5ff6c1a04b8db08698d6e84"></a>FullText </td><td class="fielddoc"> |
| <p>Fulltext index. </p> |
| </td></tr> |
| <tr><td class="fieldname"><a class="anchor" id="a7f409038dfdc58ec797b5e2f6fcc9fe8ac9347b71a3267e8041b68e9b1d32b8c6"></a>Geospatial </td><td class="fielddoc"> |
| <p>Geo-spatial index. </p> |
| </td></tr> |
| </table> |
| |
| </div> |
| </div> |
| </div><!-- contents --> |
| </div><!-- doc-content --> |
| <!-- start footer part --> |
| <div id="nav-path" class="navpath"><!-- id is needed for treeview function! --> |
| <ul> |
| <li class="navelem"><a class="el" href="namespace_apache.html">Apache</a></li><li class="navelem"><a class="el" href="namespace_apache_1_1_ignite.html">Ignite</a></li><li class="navelem"><a class="el" href="namespace_apache_1_1_ignite_1_1_core.html">Core</a></li><li class="navelem"><a class="el" href="namespace_apache_1_1_ignite_1_1_core_1_1_cache.html">Cache</a></li><li class="navelem"><a class="el" href="namespace_apache_1_1_ignite_1_1_core_1_1_cache_1_1_configuration.html">Configuration</a></li> |
| <li class="footer">Generated on Wed May 18 2016 16:44:12 for Apache Ignite.NET by |
| <a href="http://www.doxygen.org/index.html"> |
| <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.9.1 </li> |
| </ul> |
| </div> |
| </body> |
| </html> |