public class EvictionConfigReadOnly extends EvictionConfig
EvictionConfig
.EvictionConfig.MaxSizePolicy
comparator, comparatorClassName, DEFAULT_EVICTION_POLICY, DEFAULT_MAX_ENTRY_COUNT, DEFAULT_MAX_ENTRY_COUNT_FOR_ON_HEAP_MAP, DEFAULT_MAX_SIZE_POLICY, evictionPolicy, maxSizePolicy, readOnly, size
Constructor and Description |
---|
EvictionConfigReadOnly(EvictionConfig config)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
EvictionConfig |
setComparator(EvictionPolicyComparator comparator)
Deprecated.
|
EvictionConfig |
setComparatorClassName(String comparatorClassName)
Deprecated.
|
EvictionConfigReadOnly |
setEvictionPolicy(EvictionPolicy evictionPolicy)
Deprecated.
|
EvictionConfigReadOnly |
setMaximumSizePolicy(EvictionConfig.MaxSizePolicy maxSizePolicy)
Deprecated.
|
EvictionConfigReadOnly |
setSize(int size)
Deprecated.
|
getAsReadOnly, getComparator, getComparatorClassName, getEvictionPolicy, getEvictionPolicyType, getEvictionStrategyType, getMaximumSizePolicy, getSize, readData, toString, writeData
public EvictionConfigReadOnly(EvictionConfig config)
public EvictionConfigReadOnly setSize(int size)
setSize
in class EvictionConfig
public EvictionConfigReadOnly setMaximumSizePolicy(EvictionConfig.MaxSizePolicy maxSizePolicy)
setMaximumSizePolicy
in class EvictionConfig
public EvictionConfigReadOnly setEvictionPolicy(EvictionPolicy evictionPolicy)
setEvictionPolicy
in class EvictionConfig
public EvictionConfig setComparatorClassName(String comparatorClassName)
setComparatorClassName
in class EvictionConfig
public EvictionConfig setComparator(EvictionPolicyComparator comparator)
setComparator
in class EvictionConfig
Copyright © 2017 Hazelcast, Inc.. All Rights Reserved.