com.hazelcast.config
public class EvictionConfigReadOnly extends EvictionConfig
EvictionConfig
.EvictionConfig.MaxSizePolicy
DEFAULT_EVICTION_POLICY, DEFAULT_MAX_ENTRY_COUNT, evictionPolicy, maxSizePolicy, readOnly, size
Constructor and Description |
---|
EvictionConfigReadOnly(EvictionConfig config) |
Modifier and Type | Method and Description |
---|---|
EvictionConfigReadOnly |
setEvictionPolicy(EvictionPolicy evictionPolicy) |
EvictionConfigReadOnly |
setMaximumSizePolicy(EvictionConfig.MaxSizePolicy maxSizePolicy) |
EvictionConfigReadOnly |
setSize(int size) |
getAsReadOnly, 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
Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.