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()
GridGain In-Memory Computing Platform : ver. 8.9.14 Release Date : November 5 2024