com.hazelcast.config
EvictionConfig
instead of this@Deprecated public class CacheEvictionConfig extends EvictionConfig
EvictionConfig
,
Serialized FormModifier and Type | Class and Description |
---|---|
static class |
CacheEvictionConfig.CacheMaxSizePolicy
Deprecated.
Cache Maximum Size Policy
|
EvictionConfig.MaxSizePolicy
DEFAULT_EVICTION_POLICY, DEFAULT_MAX_ENTRY_COUNT, evictionPolicy, maxSizePolicy, readOnly, size
Constructor and Description |
---|
CacheEvictionConfig()
Deprecated.
|
CacheEvictionConfig(EvictionConfig config)
Deprecated.
|
CacheEvictionConfig(int size,
CacheEvictionConfig.CacheMaxSizePolicy cacheMaxSizePolicy,
EvictionPolicy evictionPolicy)
Deprecated.
|
CacheEvictionConfig(int size,
EvictionConfig.MaxSizePolicy maxSizePolicy,
EvictionPolicy evictionPolicy)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
EvictionConfig |
getAsReadOnly()
Deprecated.
|
CacheEvictionConfig.CacheMaxSizePolicy |
getMaxSizePolicy()
Deprecated.
Use
EvictionConfig.getMaximumSizePolicy() instead of this |
CacheEvictionConfig |
setEvictionPolicy(EvictionPolicy evictionPolicy)
Deprecated.
|
CacheEvictionConfig |
setMaximumSizePolicy(EvictionConfig.MaxSizePolicy maxSizePolicy)
Deprecated.
|
CacheEvictionConfig |
setMaxSizePolicy(CacheEvictionConfig.CacheMaxSizePolicy cacheMaxSizePolicy)
Deprecated.
Use
EvictionConfig.setMaximumSizePolicy(MaxSizePolicy) instead of this |
CacheEvictionConfig |
setSize(int size)
Deprecated.
|
String |
toString()
Deprecated.
|
getEvictionPolicy, getEvictionPolicyType, getEvictionStrategyType, getMaximumSizePolicy, getSize, readData, writeData
public CacheEvictionConfig()
public CacheEvictionConfig(int size, EvictionConfig.MaxSizePolicy maxSizePolicy, EvictionPolicy evictionPolicy)
public CacheEvictionConfig(int size, CacheEvictionConfig.CacheMaxSizePolicy cacheMaxSizePolicy, EvictionPolicy evictionPolicy)
public CacheEvictionConfig(EvictionConfig config)
public EvictionConfig getAsReadOnly()
getAsReadOnly
in class EvictionConfig
public CacheEvictionConfig.CacheMaxSizePolicy getMaxSizePolicy()
EvictionConfig.getMaximumSizePolicy()
instead of thispublic CacheEvictionConfig setMaxSizePolicy(CacheEvictionConfig.CacheMaxSizePolicy cacheMaxSizePolicy)
EvictionConfig.setMaximumSizePolicy(MaxSizePolicy)
instead of thisEvictionConfig.MaxSizePolicy
by using specified
CacheEvictionConfig.CacheMaxSizePolicy
.cacheMaxSizePolicy
- CacheEvictionConfig.CacheMaxSizePolicy
to be converted
and set as EvictionConfig.MaxSizePolicy
CacheEvictionConfig
public CacheEvictionConfig setMaximumSizePolicy(EvictionConfig.MaxSizePolicy maxSizePolicy)
setMaximumSizePolicy
in class EvictionConfig
public CacheEvictionConfig setEvictionPolicy(EvictionPolicy evictionPolicy)
setEvictionPolicy
in class EvictionConfig
public CacheEvictionConfig setSize(int size)
setSize
in class EvictionConfig
public String toString()
toString
in class EvictionConfig
Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.