public class CacheEvictionConfigReadOnly extends CacheEvictionConfig
CacheEvictionConfig.CacheMaxSizePolicy
DEFAULT_MAX_ENTRY_COUNT
Constructor and Description |
---|
CacheEvictionConfigReadOnly(CacheEvictionConfig config) |
Modifier and Type | Method and Description |
---|---|
CacheEvictionConfig |
setEvictionPolicy(EvictionPolicy evictionPolicy) |
CacheEvictionConfig |
setMaxSizePolicy(CacheEvictionConfig.CacheMaxSizePolicy maxSizePolicy) |
CacheEvictionConfig |
setSize(int size) |
getAsReadOnly, getEvictionPolicy, getEvictionPolicyType, getEvictionStrategyType, getMaxSizePolicy, getSize, readData, writeData
public CacheEvictionConfigReadOnly(CacheEvictionConfig config)
public CacheEvictionConfig setSize(int size)
setSize
in class CacheEvictionConfig
public CacheEvictionConfig setMaxSizePolicy(CacheEvictionConfig.CacheMaxSizePolicy maxSizePolicy)
setMaxSizePolicy
in class CacheEvictionConfig
public CacheEvictionConfig setEvictionPolicy(EvictionPolicy evictionPolicy)
setEvictionPolicy
in class CacheEvictionConfig
Copyright © 2014 Hazelcast, Inc.. All Rights Reserved.