blob: 02de57135d98420570cd7006cd8fc0dc89b31c26 [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_eviction_1_1_eviction_policy_base.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.Eviction.EvictionPolicyBase 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_eviction_1_1_eviction_policy_base.html','');});
</script>
<div id="doc-content">
<div class="header">
<div class="summary">
<a href="#pub-attribs">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_eviction_1_1_eviction_policy_base-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">Apache.Ignite.Core.Cache.Eviction.EvictionPolicyBase Class Reference</div> </div>
</div><!--header-->
<div class="contents">
<p>Base class for predefined eviction policies.
<a href="class_apache_1_1_ignite_1_1_core_1_1_cache_1_1_eviction_1_1_eviction_policy_base.html#details">More...</a></p>
<div class="dynheader">
Inheritance diagram for Apache.Ignite.Core.Cache.Eviction.EvictionPolicyBase:</div>
<div class="dyncontent">
<div class="center">
<img src="class_apache_1_1_ignite_1_1_core_1_1_cache_1_1_eviction_1_1_eviction_policy_base.png" usemap="#Apache.Ignite.Core.Cache.Eviction.EvictionPolicyBase_map" alt=""/>
<map id="Apache.Ignite.Core.Cache.Eviction.EvictionPolicyBase_map" name="Apache.Ignite.Core.Cache.Eviction.EvictionPolicyBase_map">
<area href="interface_apache_1_1_ignite_1_1_core_1_1_cache_1_1_eviction_1_1_i_eviction_policy.html" title="Represents a cache eviction policy. Only predefined implementations are supported now: LruEvictionPol..." alt="Apache.Ignite.Core.Cache.Eviction.IEvictionPolicy" shape="rect" coords="0,0,324,24"/>
</map>
</div></div>
<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:a44be7f76816168101470b8376b8720b9"><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_eviction_1_1_eviction_policy_base.html#a44be7f76816168101470b8376b8720b9">DefaultBatchSize</a> = 1</td></tr>
<tr class="memdesc:a44be7f76816168101470b8376b8720b9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Default batch cache size. <a href="#a44be7f76816168101470b8376b8720b9">More...</a><br /></td></tr>
<tr class="separator:a44be7f76816168101470b8376b8720b9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad48ef17461108bbb85c2f7c5f6a06fe1"><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_eviction_1_1_eviction_policy_base.html#ad48ef17461108bbb85c2f7c5f6a06fe1">DefaultMaxSize</a> = <a class="el" href="class_apache_1_1_ignite_1_1_core_1_1_cache_1_1_configuration_1_1_cache_configuration.html#a6c9d6e00e39bdf9adae0173785f03d99">CacheConfiguration.DefaultCacheSize</a></td></tr>
<tr class="memdesc:ad48ef17461108bbb85c2f7c5f6a06fe1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Default max cache size. <a href="#ad48ef17461108bbb85c2f7c5f6a06fe1">More...</a><br /></td></tr>
<tr class="separator:ad48ef17461108bbb85c2f7c5f6a06fe1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5529751b34ee7d4e4c5e34970c7e934b"><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_eviction_1_1_eviction_policy_base.html#a5529751b34ee7d4e4c5e34970c7e934b">DefaultMaxMemorySize</a> = 0</td></tr>
<tr class="memdesc:a5529751b34ee7d4e4c5e34970c7e934b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Default max cache size in bytes. <a href="#a5529751b34ee7d4e4c5e34970c7e934b">More...</a><br /></td></tr>
<tr class="separator:a5529751b34ee7d4e4c5e34970c7e934b"><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:a212a23da34ee77b5f5b2e9b07cd59de4"><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_eviction_1_1_eviction_policy_base.html#a212a23da34ee77b5f5b2e9b07cd59de4">BatchSize</a><code> [get, set]</code></td></tr>
<tr class="memdesc:a212a23da34ee77b5f5b2e9b07cd59de4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets or sets the size of the eviction batch. Batch eviction is enabled only if maximum memory limit isn't set (<a class="el" href="class_apache_1_1_ignite_1_1_core_1_1_cache_1_1_eviction_1_1_eviction_policy_base.html#a73f7725f20af3af1c9560f13fa2c4ec7" title="Gets or sets the maximum allowed cache size in bytes. 0 for unlimited. ">MaxMemorySize</a> == 0). <a href="#a212a23da34ee77b5f5b2e9b07cd59de4">More...</a><br /></td></tr>
<tr class="separator:a212a23da34ee77b5f5b2e9b07cd59de4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa0ccc9ab3f63d7ff3232c50831039af5"><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_eviction_1_1_eviction_policy_base.html#aa0ccc9ab3f63d7ff3232c50831039af5">MaxSize</a><code> [get, set]</code></td></tr>
<tr class="memdesc:aa0ccc9ab3f63d7ff3232c50831039af5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets or sets the maximum allowed cache size (entry count). 0 for unlimited. <a href="#aa0ccc9ab3f63d7ff3232c50831039af5">More...</a><br /></td></tr>
<tr class="separator:aa0ccc9ab3f63d7ff3232c50831039af5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a73f7725f20af3af1c9560f13fa2c4ec7"><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_eviction_1_1_eviction_policy_base.html#a73f7725f20af3af1c9560f13fa2c4ec7">MaxMemorySize</a><code> [get, set]</code></td></tr>
<tr class="memdesc:a73f7725f20af3af1c9560f13fa2c4ec7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets or sets the maximum allowed cache size in bytes. 0 for unlimited. <a href="#a73f7725f20af3af1c9560f13fa2c4ec7">More...</a><br /></td></tr>
<tr class="separator:a73f7725f20af3af1c9560f13fa2c4ec7"><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">Member Data Documentation</h2>
<a class="anchor" id="a44be7f76816168101470b8376b8720b9"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">const int Apache.Ignite.Core.Cache.Eviction.EvictionPolicyBase.DefaultBatchSize = 1</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="a5529751b34ee7d4e4c5e34970c7e934b"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">const long Apache.Ignite.Core.Cache.Eviction.EvictionPolicyBase.DefaultMaxMemorySize = 0</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="ad48ef17461108bbb85c2f7c5f6a06fe1"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">const int Apache.Ignite.Core.Cache.Eviction.EvictionPolicyBase.DefaultMaxSize = <a class="el" href="class_apache_1_1_ignite_1_1_core_1_1_cache_1_1_configuration_1_1_cache_configuration.html#a6c9d6e00e39bdf9adae0173785f03d99">CacheConfiguration.DefaultCacheSize</a></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<h2 class="groupheader">Property Documentation</h2>
<a class="anchor" id="a212a23da34ee77b5f5b2e9b07cd59de4"></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.Eviction.EvictionPolicyBase.BatchSize</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="a73f7725f20af3af1c9560f13fa2c4ec7"></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.Eviction.EvictionPolicyBase.MaxMemorySize</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="aa0ccc9ab3f63d7ff3232c50831039af5"></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.Eviction.EvictionPolicyBase.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>
</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_eviction.html">Eviction</a></li><li class="navelem"><a class="el" href="class_apache_1_1_ignite_1_1_core_1_1_cache_1_1_eviction_1_1_eviction_policy_base.html">EvictionPolicyBase</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>