public abstract class AbstractEvictionPolicyFactory<T> extends Object implements javax.cache.configuration.Factory<T>
Constructor and Description |
---|
AbstractEvictionPolicyFactory() |
Modifier and Type | Method and Description |
---|---|
int |
getBatchSize()
Gets batch size.
|
long |
getMaxMemorySize()
Gets maximum allowed cache size in bytes.
|
int |
getMaxSize()
Gets maximum allowed size of cache before entry will start getting evicted.
|
AbstractEvictionPolicyFactory |
setBatchSize(int batchSize)
Sets batch size.
|
AbstractEvictionPolicyFactory |
setMaxMemorySize(long maxMemSize)
Sets maximum allowed cache size in bytes.
|
AbstractEvictionPolicyFactory |
setMaxSize(int max)
Sets maximum allowed size of cache before entry will start getting evicted.
|
public AbstractEvictionPolicyFactory setMaxSize(int max)
max
- Maximum allowed size of cache before entry will start getting evicted.this
for chaining.public int getMaxSize()
public AbstractEvictionPolicyFactory setBatchSize(int batchSize)
batchSize
- Batch size.this
for chaining.public int getBatchSize()
public AbstractEvictionPolicyFactory setMaxMemorySize(long maxMemSize)
this
for chaining.public long getMaxMemorySize()
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.7.2 Release Date : February 6 2019