com.hazelcast.config
EvictionConfigReadOnly
instead of this@Deprecated public class CacheEvictionConfigReadOnly extends CacheEvictionConfig
CacheEvictionConfig
.CacheEvictionConfig.CacheMaxSizePolicy
EvictionConfig.MaxSizePolicy
DEFAULT_EVICTION_POLICY, DEFAULT_MAX_ENTRY_COUNT, evictionPolicy, maxSizePolicy, readOnly, size
Constructor and Description |
---|
CacheEvictionConfigReadOnly(EvictionConfig config)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
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
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
Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.