## Uses of Class
org.apache.ignite.configuration.MemoryPolicyConfiguration

Packages that use MemoryPolicyConfiguration
Package | Description
--- | ---
org.apache.ignite.configuration | Contains configuration-related classes.
org.apache.ignite.internal.pagemem.impl |
org.apache.ignite.internal.processors.cache.persistence |
org.apache.ignite.internal.processors.cache.persistence.evict |
org.apache.ignite.internal.visor.node |

### Uses of MemoryPolicyConfiguration in org.apache.ignite.configuration

Methods in org.apache.ignite.configuration that return MemoryPolicyConfiguration
Modifier and Type | Method and Description
--- | ---
`MemoryPolicyConfiguration` | MemoryConfiguration.`createDefaultPolicyConfig()` Creates a configuration for the default memory policy that will instantiate the default memory region.
`MemoryPolicyConfiguration[]` | MemoryConfiguration.`getMemoryPolicies()` Gets an array of all memory policies configured.
`MemoryPolicyConfiguration` | MemoryPolicyConfiguration.`setEmptyPagesPoolSize(int emptyPagesPoolSize)` Specifies the minimal number of empty pages to be present in reuse lists for this memory policy.
`MemoryPolicyConfiguration` | MemoryPolicyConfiguration.`setEvictionThreshold(double evictionThreshold)` Sets memory pages eviction threshold.
`MemoryPolicyConfiguration` | MemoryPolicyConfiguration.`setInitialSize(long initialSize)` Sets initial memory region size defined by this memory policy.
`MemoryPolicyConfiguration` | MemoryPolicyConfiguration.`setMaxSize(long maxSize)` Sets maximum memory region size defined by this memory policy.
`MemoryPolicyConfiguration` | MemoryPolicyConfiguration.`setMetricsEnabled(boolean metricsEnabled)` Sets memory metrics enabled flag.
`MemoryPolicyConfiguration` | MemoryPolicyConfiguration.`setName(String name)` Sets memory policy name.
`MemoryPolicyConfiguration` | MemoryPolicyConfiguration.`setPageEvictionMode(DataPageEvictionMode evictionMode)` Sets memory pages eviction mode.
`MemoryPolicyConfiguration` | MemoryPolicyConfiguration.`setRateTimeInterval(long rateTimeInterval)` Sets time interval for `MemoryMetrics.getAllocationRate()` and `MemoryMetrics.getEvictionRate()` monitoring purposes.
`MemoryPolicyConfiguration` | MemoryPolicyConfiguration.`setSubIntervals(int subIntervals)` Sets a number of sub-intervals the whole `setRateTimeInterval(long)` will be split into to calculate `MemoryMetrics.getAllocationRate()` and `MemoryMetrics.getEvictionRate()` rates (5 by default).
`MemoryPolicyConfiguration` | MemoryPolicyConfiguration.`setSwapFilePath(String swapFilePath)` Sets a path to the memory-mapped file.

Methods in org.apache.ignite.configuration with parameters of type MemoryPolicyConfiguration
Modifier and Type | Method and Description
--- | ---
`MemoryConfiguration` | MemoryConfiguration.`setMemoryPolicies(MemoryPolicyConfiguration... memPlcs)` Sets memory policies configurations.

### Uses of MemoryPolicyConfiguration in org.apache.ignite.internal.pagemem.impl

Constructors in org.apache.ignite.internal.pagemem.impl with parameters of type MemoryPolicyConfiguration
Constructor and Description
`PageMemoryNoStoreImpl(IgniteLogger log, DirectMemoryProvider directMemoryProvider, GridCacheSharedContext<?,?> sharedCtx, int pageSize, MemoryPolicyConfiguration memPlcCfg, MemoryMetricsImpl memMetrics, boolean trackAcquiredPages)`

### Uses of MemoryPolicyConfiguration in org.apache.ignite.internal.processors.cache.persistence

Methods in org.apache.ignite.internal.processors.cache.persistence that return MemoryPolicyConfiguration
Modifier and Type | Method and Description
--- | ---
`MemoryPolicyConfiguration` | MemoryPolicy.`config()`

Methods in org.apache.ignite.internal.processors.cache.persistence with parameters of type MemoryPolicyConfiguration
Modifier and Type | Method and Description
--- | ---
`protected File` | IgniteCacheDatabaseSharedManager.`buildAllocPath(MemoryPolicyConfiguration plc)` Builds allocation path for memory mapped file to be used with PageMemory.
`protected void` | IgniteCacheDatabaseSharedManager.`checkPolicyEvictionProperties(MemoryPolicyConfiguration plcCfg, MemoryConfiguration dbCfg)`
`protected void` | GridCacheDatabaseSharedManager.`checkPolicyEvictionProperties(MemoryPolicyConfiguration plcCfg, MemoryConfiguration dbCfg)`
`protected PageMemory` | IgniteCacheDatabaseSharedManager.`createPageMemory(DirectMemoryProvider memProvider, MemoryConfiguration memCfg, MemoryPolicyConfiguration memPlcCfg, MemoryMetricsImpl memMetrics)` Creates PageMemory with given size and memory provider.
`protected PageMemory` | GridCacheDatabaseSharedManager.`createPageMemory(DirectMemoryProvider memProvider, MemoryConfiguration memCfg, MemoryPolicyConfiguration plcCfg, MemoryMetricsImpl memMetrics)` Creates PageMemory with given size and memory provider.

Constructors in org.apache.ignite.internal.processors.cache.persistence with parameters of type MemoryPolicyConfiguration
Constructor and Description
`MemoryMetricsImpl(MemoryPolicyConfiguration memPlcCfg)`
`MemoryPolicy(PageMemory pageMem, MemoryPolicyConfiguration cfg, MemoryMetricsImpl memMetrics, PageEvictionTracker evictionTracker)`

### Uses of MemoryPolicyConfiguration in org.apache.ignite.internal.processors.cache.persistence.evict

Constructors in org.apache.ignite.internal.processors.cache.persistence.evict with parameters of type MemoryPolicyConfiguration
Constructor and Description
`FairFifoPageEvictionTracker(PageMemoryNoStoreImpl pageMem, MemoryPolicyConfiguration plcCfg, GridCacheSharedContext sharedCtx)`
`Random2LruPageEvictionTracker(PageMemoryNoStoreImpl pageMem, MemoryPolicyConfiguration plcCfg, GridCacheSharedContext<?,?> sharedCtx)`
`RandomLruPageEvictionTracker(PageMemory pageMem, MemoryPolicyConfiguration plcCfg, GridCacheSharedContext<?,?> sharedCtx)`

### Uses of MemoryPolicyConfiguration in org.apache.ignite.internal.visor.node

Constructors in org.apache.ignite.internal.visor.node with parameters of type MemoryPolicyConfiguration
Constructor and Description
`VisorMemoryPolicyConfiguration(MemoryPolicyConfiguration plc)` Constructor.

2017 Copyright © Apache Software Foundation

Follow @ApacheIgnite

Ignite Fabric | : ver. 2.2.0
Release Date | : September 15 2017