com.hazelcast.config
Class CacheEvictionConfigReadOnly
java.lang.Object
com.hazelcast.config.CacheEvictionConfig
com.hazelcast.config.CacheEvictionConfigReadOnly
- All Implemented Interfaces:
- EvictionConfig, DataSerializable, Serializable
public class CacheEvictionConfigReadOnly
- extends CacheEvictionConfig
Contains the configuration for a size of cache.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CacheEvictionConfigReadOnly
public CacheEvictionConfigReadOnly(CacheEvictionConfig config)
setSize
public CacheEvictionConfig setSize(int size)
- Overrides:
setSize
in class CacheEvictionConfig
setMaxSizePolicy
public CacheEvictionConfig setMaxSizePolicy(CacheEvictionConfig.CacheMaxSizePolicy maxSizePolicy)
- Overrides:
setMaxSizePolicy
in class CacheEvictionConfig
setEvictionPolicy
public CacheEvictionConfig setEvictionPolicy(EvictionPolicy evictionPolicy)
- Overrides:
setEvictionPolicy
in class CacheEvictionConfig
Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.