Apache Ignite.NET
Apache.Ignite.Core.Cache.Eviction.EvictionPolicyBase Class Reference

Base class for predefined eviction policies. More...

Inheritance diagram for Apache.Ignite.Core.Cache.Eviction.EvictionPolicyBase:
Apache.Ignite.Core.Cache.Eviction.IEvictionPolicy

Public Attributes

const int DefaultBatchSize = 1
 Default batch cache size. More...
 
const int DefaultMaxSize = CacheConfiguration.DefaultCacheSize
 Default max cache size. More...
 
const long DefaultMaxMemorySize = 0
 Default max cache size in bytes. More...
 

Properties

int BatchSize [get, set]
 Gets or sets the size of the eviction batch. Batch eviction is enabled only if maximum memory limit isn't set (MaxMemorySize == 0). More...
 
int MaxSize [get, set]
 Gets or sets the maximum allowed cache size (entry count). 0 for unlimited. More...
 
long MaxMemorySize [get, set]
 Gets or sets the maximum allowed cache size in bytes. 0 for unlimited. More...
 

Detailed Description

Member Data Documentation

const int Apache.Ignite.Core.Cache.Eviction.EvictionPolicyBase.DefaultBatchSize = 1
const long Apache.Ignite.Core.Cache.Eviction.EvictionPolicyBase.DefaultMaxMemorySize = 0
const int Apache.Ignite.Core.Cache.Eviction.EvictionPolicyBase.DefaultMaxSize = CacheConfiguration.DefaultCacheSize

Property Documentation

int Apache.Ignite.Core.Cache.Eviction.EvictionPolicyBase.BatchSize
getset
long Apache.Ignite.Core.Cache.Eviction.EvictionPolicyBase.MaxMemorySize
getset
int Apache.Ignite.Core.Cache.Eviction.EvictionPolicyBase.MaxSize
getset