blob: 465c163e12355a4f9c52329e38d01791fecd355e [file] [log] [blame]
<!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>
<link rel="canonical" href="https://ignite.apache.org/releases/2.2.0/dotnetdoc/class_apache_1_1_ignite_1_1_core_1_1_cache_1_1_configuration_1_1_memory_policy_configuration.html" />
<META NAME="ROBOTS" CONTENT="NOINDEX">
<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: Apache.Ignite.Core.Cache.Configuration.MemoryPolicyConfiguration Class Reference</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('class_apache_1_1_ignite_1_1_core_1_1_cache_1_1_configuration_1_1_memory_policy_configuration.html','');});
</script>
<div id="doc-content">
<div class="header">
<div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a> &#124;
<a href="#pub-static-attribs">Static Public Attributes</a> &#124;
<a href="#properties">Properties</a> &#124;
<a href="class_apache_1_1_ignite_1_1_core_1_1_cache_1_1_configuration_1_1_memory_policy_configuration-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">Apache.Ignite.Core.Cache.Configuration.MemoryPolicyConfiguration Class Reference</div> </div>
</div><!--header-->
<div class="contents">
<p>Defines page memory policy configuration. See <a class="el" href="class_apache_1_1_ignite_1_1_core_1_1_cache_1_1_configuration_1_1_memory_configuration.html#ad489984c0b08b12456f51d8c19464d5c" title="Gets or sets the memory policies. ">MemoryConfiguration.MemoryPolicies</a>.
<a href="class_apache_1_1_ignite_1_1_core_1_1_cache_1_1_configuration_1_1_memory_policy_configuration.html#details">More...</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a00162da014d54bd8e671ef3c8037774e"><td class="memItemLeft" align="right" valign="top">&#160;</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_memory_policy_configuration.html#a00162da014d54bd8e671ef3c8037774e">MemoryPolicyConfiguration</a> ()</td></tr>
<tr class="memdesc:a00162da014d54bd8e671ef3c8037774e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Initializes a new instance of the <a class="el" href="class_apache_1_1_ignite_1_1_core_1_1_cache_1_1_configuration_1_1_memory_policy_configuration.html" title="Defines page memory policy configuration. See MemoryConfiguration.MemoryPolicies. ...">MemoryPolicyConfiguration</a> class. <a href="#a00162da014d54bd8e671ef3c8037774e">More...</a><br /></td></tr>
<tr class="separator:a00162da014d54bd8e671ef3c8037774e"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:aa901e328fe38ec49b22e0f0e97d208cd"><td class="memItemLeft" align="right" valign="top">const double&#160;</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_memory_policy_configuration.html#aa901e328fe38ec49b22e0f0e97d208cd">DefaultEvictionThreshold</a> = 0.9</td></tr>
<tr class="memdesc:aa901e328fe38ec49b22e0f0e97d208cd"><td class="mdescLeft">&#160;</td><td class="mdescRight">The default eviction threshold. <a href="#aa901e328fe38ec49b22e0f0e97d208cd">More...</a><br /></td></tr>
<tr class="separator:aa901e328fe38ec49b22e0f0e97d208cd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa80db2aca607000cb64f772daa8c7cf0"><td class="memItemLeft" align="right" valign="top">const int&#160;</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_memory_policy_configuration.html#aa80db2aca607000cb64f772daa8c7cf0">DefaultEmptyPagesPoolSize</a> = 100</td></tr>
<tr class="memdesc:aa80db2aca607000cb64f772daa8c7cf0"><td class="mdescLeft">&#160;</td><td class="mdescRight">The default empty pages pool size. <a href="#aa80db2aca607000cb64f772daa8c7cf0">More...</a><br /></td></tr>
<tr class="separator:aa80db2aca607000cb64f772daa8c7cf0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a048bd4f498a6d3eba1b1c9fa806c96d3"><td class="memItemLeft" align="right" valign="top">const long&#160;</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_memory_policy_configuration.html#a048bd4f498a6d3eba1b1c9fa806c96d3">DefaultInitialSize</a> = 256 * 1024 * 1024</td></tr>
<tr class="memdesc:a048bd4f498a6d3eba1b1c9fa806c96d3"><td class="mdescLeft">&#160;</td><td class="mdescRight">The default initial size. <a href="#a048bd4f498a6d3eba1b1c9fa806c96d3">More...</a><br /></td></tr>
<tr class="separator:a048bd4f498a6d3eba1b1c9fa806c96d3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a98fdbfb0d4ebbe22397ccba3d76957ef"><td class="memItemLeft" align="right" valign="top">const int&#160;</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_memory_policy_configuration.html#a98fdbfb0d4ebbe22397ccba3d76957ef">DefaultSubIntervals</a> = 5</td></tr>
<tr class="memdesc:a98fdbfb0d4ebbe22397ccba3d76957ef"><td class="mdescLeft">&#160;</td><td class="mdescRight">The default sub intervals. <a href="#a98fdbfb0d4ebbe22397ccba3d76957ef">More...</a><br /></td></tr>
<tr class="separator:a98fdbfb0d4ebbe22397ccba3d76957ef"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-attribs"></a>
Static Public Attributes</h2></td></tr>
<tr class="memitem:a2274da0aae73ed8fb9f1887a74eb8f05"><td class="memItemLeft" align="right" valign="top">static readonly long&#160;</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_memory_policy_configuration.html#a2274da0aae73ed8fb9f1887a74eb8f05">DefaultMaxSize</a> = (long) ((long) NativeMethods.GetTotalPhysicalMemory() * 0.2)</td></tr>
<tr class="memdesc:a2274da0aae73ed8fb9f1887a74eb8f05"><td class="mdescLeft">&#160;</td><td class="mdescRight">The default maximum size, equals to 20% of total RAM. <a href="#a2274da0aae73ed8fb9f1887a74eb8f05">More...</a><br /></td></tr>
<tr class="separator:a2274da0aae73ed8fb9f1887a74eb8f05"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa2efb4010b4ce9d2b3786d7ffcb456f5"><td class="memItemLeft" align="right" valign="top">static readonly TimeSpan&#160;</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_memory_policy_configuration.html#aa2efb4010b4ce9d2b3786d7ffcb456f5">DefaultRateTimeInterval</a> = TimeSpan.FromSeconds(60)</td></tr>
<tr class="memdesc:aa2efb4010b4ce9d2b3786d7ffcb456f5"><td class="mdescLeft">&#160;</td><td class="mdescRight">The default rate time interval. <a href="#aa2efb4010b4ce9d2b3786d7ffcb456f5">More...</a><br /></td></tr>
<tr class="separator:aa2efb4010b4ce9d2b3786d7ffcb456f5"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="properties"></a>
Properties</h2></td></tr>
<tr class="memitem:ae87832b793f5e990f95cc99813b5a7af"><td class="memItemLeft" align="right" valign="top">string&#160;</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_memory_policy_configuration.html#ae87832b793f5e990f95cc99813b5a7af">Name</a><code> [get, set]</code></td></tr>
<tr class="memdesc:ae87832b793f5e990f95cc99813b5a7af"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets or sets the memory policy name. Defaults to <a class="el" href="class_apache_1_1_ignite_1_1_core_1_1_cache_1_1_configuration_1_1_memory_configuration.html#a75f42414534086b1be732cd384e0e570" title="The default value for DefaultMemoryPolicyName. ">MemoryConfiguration.DefaultDefaultMemoryPolicyName</a>. <a href="#ae87832b793f5e990f95cc99813b5a7af">More...</a><br /></td></tr>
<tr class="separator:ae87832b793f5e990f95cc99813b5a7af"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a62dafe26fe701bf77c8e72d7879a7218"><td class="memItemLeft" align="right" valign="top">long&#160;</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_memory_policy_configuration.html#a62dafe26fe701bf77c8e72d7879a7218">InitialSize</a><code> [get, set]</code></td></tr>
<tr class="memdesc:a62dafe26fe701bf77c8e72d7879a7218"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets or sets initial memory region size defined by this memory policy. When the used memory size exceeds this value, new chunks of memory will be allocated. <a href="#a62dafe26fe701bf77c8e72d7879a7218">More...</a><br /></td></tr>
<tr class="separator:a62dafe26fe701bf77c8e72d7879a7218"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab70d8419bd82bb52ed1ea166e0cbd5fb"><td class="memItemLeft" align="right" valign="top">long&#160;</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_memory_policy_configuration.html#ab70d8419bd82bb52ed1ea166e0cbd5fb">MaxSize</a><code> [get, set]</code></td></tr>
<tr class="memdesc:ab70d8419bd82bb52ed1ea166e0cbd5fb"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets maximum memory region size defined by this memory policy. The total size should not be less than 10 MB due to internal data structures overhead. <a href="#ab70d8419bd82bb52ed1ea166e0cbd5fb">More...</a><br /></td></tr>
<tr class="separator:ab70d8419bd82bb52ed1ea166e0cbd5fb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0919d85e260241e1e136af08475cd06f"><td class="memItemLeft" align="right" valign="top">string&#160;</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_memory_policy_configuration.html#a0919d85e260241e1e136af08475cd06f">SwapFilePath</a><code> [get, set]</code></td></tr>
<tr class="memdesc:a0919d85e260241e1e136af08475cd06f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets or sets the the path to the memory-mapped file the memory region defined by this memory policy will be mapped to. Having the path set, allows relying on swapping capabilities of an underlying operating system for the memory region. <a href="#a0919d85e260241e1e136af08475cd06f">More...</a><br /></td></tr>
<tr class="separator:a0919d85e260241e1e136af08475cd06f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4d522392615a33ef6fac7319543344a7"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespace_apache_1_1_ignite_1_1_core_1_1_cache_1_1_configuration.html#a5eb109859cd0dce6d1fb72a2c9b980fc">DataPageEvictionMode</a>&#160;</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_memory_policy_configuration.html#a4d522392615a33ef6fac7319543344a7">PageEvictionMode</a><code> [get, set]</code></td></tr>
<tr class="memdesc:a4d522392615a33ef6fac7319543344a7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets or sets the page eviction mode. If DataPageEvictionMode.Disabled is used (default) then an out of memory exception will be thrown if the memory region usage, defined by this memory policy, goes beyond <a class="el" href="class_apache_1_1_ignite_1_1_core_1_1_cache_1_1_configuration_1_1_memory_policy_configuration.html#ab70d8419bd82bb52ed1ea166e0cbd5fb" title="Sets maximum memory region size defined by this memory policy. The total size should not be less than...">MaxSize</a>. <a href="#a4d522392615a33ef6fac7319543344a7">More...</a><br /></td></tr>
<tr class="separator:a4d522392615a33ef6fac7319543344a7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a755b8963474f421ae84b878ae831ed63"><td class="memItemLeft" align="right" valign="top">double&#160;</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_memory_policy_configuration.html#a755b8963474f421ae84b878ae831ed63">EvictionThreshold</a><code> [get, set]</code></td></tr>
<tr class="memdesc:a755b8963474f421ae84b878ae831ed63"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets or sets the threshold for memory pages eviction initiation. For instance, if the threshold is 0.9 it means that the page memory will start the eviction only after 90% of the memory region (defined by this policy) is occupied. <a href="#a755b8963474f421ae84b878ae831ed63">More...</a><br /></td></tr>
<tr class="separator:a755b8963474f421ae84b878ae831ed63"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a46fcda50b5340476eedda50010a2bf2c"><td class="memItemLeft" align="right" valign="top">int&#160;</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_memory_policy_configuration.html#a46fcda50b5340476eedda50010a2bf2c">EmptyPagesPoolSize</a><code> [get, set]</code></td></tr>
<tr class="memdesc:a46fcda50b5340476eedda50010a2bf2c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets or sets the minimal number of empty pages to be present in reuse lists for this memory policy. This parameter ensures that Ignite will be able to successfully evict old data entries when the size of (key, value) pair is slightly larger than page size / 2. Increase this parameter if cache can contain very big entries (total size of pages in this pool should be enough to contain largest cache entry). <a href="#a46fcda50b5340476eedda50010a2bf2c">More...</a><br /></td></tr>
<tr class="separator:a46fcda50b5340476eedda50010a2bf2c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad718659c7c80e7488431391c1744b832"><td class="memItemLeft" align="right" valign="top">bool&#160;</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_memory_policy_configuration.html#ad718659c7c80e7488431391c1744b832">MetricsEnabled</a><code> [get, set]</code></td></tr>
<tr class="memdesc:ad718659c7c80e7488431391c1744b832"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets or sets a value indicating whether memory metrics should be enabled. <a href="#ad718659c7c80e7488431391c1744b832">More...</a><br /></td></tr>
<tr class="separator:ad718659c7c80e7488431391c1744b832"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acfeefe4fbc9c76e8da9cc4ed93cdf610"><td class="memItemLeft" align="right" valign="top">TimeSpan&#160;</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_memory_policy_configuration.html#acfeefe4fbc9c76e8da9cc4ed93cdf610">RateTimeInterval</a><code> [get, set]</code></td></tr>
<tr class="memdesc:acfeefe4fbc9c76e8da9cc4ed93cdf610"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets or sets the rate time interval for <a class="el" href="interface_apache_1_1_ignite_1_1_core_1_1_cache_1_1_i_memory_metrics.html#a5ea0e00785de64fa6cadbc08d0bd602f" title="Gets the allocation rate, in pages per second. ">IMemoryMetrics.AllocationRate</a> and <a class="el" href="interface_apache_1_1_ignite_1_1_core_1_1_cache_1_1_i_memory_metrics.html#a8991597c51a6ee733e09012a5a24077d" title="Gets the eviction rate, in pages per second. ">IMemoryMetrics.EvictionRate</a> monitoring purposes. <a href="#acfeefe4fbc9c76e8da9cc4ed93cdf610">More...</a><br /></td></tr>
<tr class="separator:acfeefe4fbc9c76e8da9cc4ed93cdf610"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a00e04356db7bd8f601cf79b0354dea0e"><td class="memItemLeft" align="right" valign="top">int&#160;</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_memory_policy_configuration.html#a00e04356db7bd8f601cf79b0354dea0e">SubIntervals</a><code> [get, set]</code></td></tr>
<tr class="memdesc:a00e04356db7bd8f601cf79b0354dea0e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets or sets the number of sub intervals to split <a class="el" href="class_apache_1_1_ignite_1_1_core_1_1_cache_1_1_configuration_1_1_memory_policy_configuration.html#acfeefe4fbc9c76e8da9cc4ed93cdf610" title="Gets or sets the rate time interval for IMemoryMetrics.AllocationRate and IMemoryMetrics.EvictionRate monitoring purposes. ">RateTimeInterval</a> into to calculate <a class="el" href="interface_apache_1_1_ignite_1_1_core_1_1_cache_1_1_i_memory_metrics.html#a5ea0e00785de64fa6cadbc08d0bd602f" title="Gets the allocation rate, in pages per second. ">IMemoryMetrics.AllocationRate</a> and <a class="el" href="interface_apache_1_1_ignite_1_1_core_1_1_cache_1_1_i_memory_metrics.html#a8991597c51a6ee733e09012a5a24077d" title="Gets the eviction rate, in pages per second. ">IMemoryMetrics.EvictionRate</a>. <a href="#a00e04356db7bd8f601cf79b0354dea0e">More...</a><br /></td></tr>
<tr class="separator:a00e04356db7bd8f601cf79b0354dea0e"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"></div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a00162da014d54bd8e671ef3c8037774e"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">Apache.Ignite.Core.Cache.Configuration.MemoryPolicyConfiguration.MemoryPolicyConfiguration </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a class="anchor" id="aa80db2aca607000cb64f772daa8c7cf0"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">const int Apache.Ignite.Core.Cache.Configuration.MemoryPolicyConfiguration.DefaultEmptyPagesPoolSize = 100</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="aa901e328fe38ec49b22e0f0e97d208cd"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">const double Apache.Ignite.Core.Cache.Configuration.MemoryPolicyConfiguration.DefaultEvictionThreshold = 0.9</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="a048bd4f498a6d3eba1b1c9fa806c96d3"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">const long Apache.Ignite.Core.Cache.Configuration.MemoryPolicyConfiguration.DefaultInitialSize = 256 * 1024 * 1024</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="a2274da0aae73ed8fb9f1887a74eb8f05"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">readonly long Apache.Ignite.Core.Cache.Configuration.MemoryPolicyConfiguration.DefaultMaxSize = (long) ((long) NativeMethods.GetTotalPhysicalMemory() * 0.2)</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="aa2efb4010b4ce9d2b3786d7ffcb456f5"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">readonly TimeSpan Apache.Ignite.Core.Cache.Configuration.MemoryPolicyConfiguration.DefaultRateTimeInterval = TimeSpan.FromSeconds(60)</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="a98fdbfb0d4ebbe22397ccba3d76957ef"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">const int Apache.Ignite.Core.Cache.Configuration.MemoryPolicyConfiguration.DefaultSubIntervals = 5</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<h2 class="groupheader">Property Documentation</h2>
<a class="anchor" id="a46fcda50b5340476eedda50010a2bf2c"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">int Apache.Ignite.Core.Cache.Configuration.MemoryPolicyConfiguration.EmptyPagesPoolSize</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">get</span><span class="mlabel">set</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="a755b8963474f421ae84b878ae831ed63"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">double Apache.Ignite.Core.Cache.Configuration.MemoryPolicyConfiguration.EvictionThreshold</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">get</span><span class="mlabel">set</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="a62dafe26fe701bf77c8e72d7879a7218"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">long Apache.Ignite.Core.Cache.Configuration.MemoryPolicyConfiguration.InitialSize</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">get</span><span class="mlabel">set</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="ab70d8419bd82bb52ed1ea166e0cbd5fb"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">long Apache.Ignite.Core.Cache.Configuration.MemoryPolicyConfiguration.MaxSize</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">get</span><span class="mlabel">set</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="ad718659c7c80e7488431391c1744b832"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">bool Apache.Ignite.Core.Cache.Configuration.MemoryPolicyConfiguration.MetricsEnabled</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">get</span><span class="mlabel">set</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Metrics can be retrieved with <a class="el" href="interface_apache_1_1_ignite_1_1_core_1_1_i_ignite.html#a76eb0636493b1d096c27b58621c0f6d2" title="Gets a collection of memory metrics, one for each MemoryConfiguration.MemoryPolicies. ">IIgnite.GetMemoryMetrics()</a> method. </p>
</div>
</div>
<a class="anchor" id="ae87832b793f5e990f95cc99813b5a7af"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">string Apache.Ignite.Core.Cache.Configuration.MemoryPolicyConfiguration.Name</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">get</span><span class="mlabel">set</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="a4d522392615a33ef6fac7319543344a7"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="namespace_apache_1_1_ignite_1_1_core_1_1_cache_1_1_configuration.html#a5eb109859cd0dce6d1fb72a2c9b980fc">DataPageEvictionMode</a> Apache.Ignite.Core.Cache.Configuration.MemoryPolicyConfiguration.PageEvictionMode</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">get</span><span class="mlabel">set</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="acfeefe4fbc9c76e8da9cc4ed93cdf610"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">TimeSpan Apache.Ignite.Core.Cache.Configuration.MemoryPolicyConfiguration.RateTimeInterval</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">get</span><span class="mlabel">set</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>For instance, after setting the interval to 60 seconds, subsequent calls to <a class="el" href="interface_apache_1_1_ignite_1_1_core_1_1_cache_1_1_i_memory_metrics.html#a5ea0e00785de64fa6cadbc08d0bd602f" title="Gets the allocation rate, in pages per second. ">IMemoryMetrics.AllocationRate</a> will return average allocation rate (pages per second) for the last minute. </p>
</div>
</div>
<a class="anchor" id="a00e04356db7bd8f601cf79b0354dea0e"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">int Apache.Ignite.Core.Cache.Configuration.MemoryPolicyConfiguration.SubIntervals</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">get</span><span class="mlabel">set</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Bigger value results in more accurate metrics. </p>
</div>
</div>
<a class="anchor" id="a0919d85e260241e1e136af08475cd06f"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">string Apache.Ignite.Core.Cache.Configuration.MemoryPolicyConfiguration.SwapFilePath</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">get</span><span class="mlabel">set</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Null for no swap. </p>
</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="navelem"><a class="el" href="class_apache_1_1_ignite_1_1_core_1_1_cache_1_1_configuration_1_1_memory_policy_configuration.html">MemoryPolicyConfiguration</a></li>
<li class="footer">Generated on Fri Sep 15 2017 11:37:29 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>