EvictionConfigReadOnly
instead of this@Deprecated public class CacheEvictionConfigReadOnly extends CacheEvictionConfig
CacheEvictionConfig
.CacheEvictionConfig.CacheMaxSizePolicy
EvictionConfig.MaxSizePolicy
comparator, comparatorClassName, DEFAULT_EVICTION_POLICY, DEFAULT_MAX_ENTRY_COUNT, DEFAULT_MAX_SIZE_POLICY, evictionPolicy, maxSizePolicy, readOnly, size
Constructor and Description |
---|
CacheEvictionConfigReadOnly(EvictionConfig config)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
CacheEvictionConfig |
setComparator(EvictionPolicyComparator comparator)
Deprecated.
|
CacheEvictionConfig |
setComparatorClassName(String comparatorClassName)
Deprecated.
|
CacheEvictionConfigReadOnly |
setEvictionPolicy(EvictionPolicy evictionPolicy)
Deprecated.
|
CacheEvictionConfigReadOnly |
setMaximumSizePolicy(EvictionConfig.MaxSizePolicy maxSizePolicy)
Deprecated.
|
CacheEvictionConfig |
setMaxSizePolicy(CacheEvictionConfig.CacheMaxSizePolicy cacheMaxSizePolicy)
Deprecated.
Sets the
EvictionConfig.MaxSizePolicy by using specified
CacheEvictionConfig.CacheMaxSizePolicy . |
CacheEvictionConfigReadOnly |
setSize(int size)
Deprecated.
|
getAsReadOnly, getMaxSizePolicy, toString
getComparator, getComparatorClassName, getEvictionPolicy, getEvictionPolicyType, getEvictionStrategyType, getMaximumSizePolicy, getSize, readData, writeData
public CacheEvictionConfigReadOnly(EvictionConfig config)
public CacheEvictionConfigReadOnly setSize(int size)
setSize
in class CacheEvictionConfig
public CacheEvictionConfigReadOnly setMaximumSizePolicy(EvictionConfig.MaxSizePolicy maxSizePolicy)
setMaximumSizePolicy
in class CacheEvictionConfig
public CacheEvictionConfig setMaxSizePolicy(CacheEvictionConfig.CacheMaxSizePolicy cacheMaxSizePolicy)
CacheEvictionConfig
EvictionConfig.MaxSizePolicy
by using specified
CacheEvictionConfig.CacheMaxSizePolicy
.setMaxSizePolicy
in class CacheEvictionConfig
cacheMaxSizePolicy
- CacheEvictionConfig.CacheMaxSizePolicy
to be converted
and set as EvictionConfig.MaxSizePolicy
CacheEvictionConfig
public CacheEvictionConfigReadOnly setEvictionPolicy(EvictionPolicy evictionPolicy)
setEvictionPolicy
in class CacheEvictionConfig
public CacheEvictionConfig setComparatorClassName(String comparatorClassName)
setComparatorClassName
in class CacheEvictionConfig
public CacheEvictionConfig setComparator(EvictionPolicyComparator comparator)
setComparator
in class CacheEvictionConfig
Copyright © 2016 Hazelcast, Inc.. All Rights Reserved.