public class NearCacheConfigReadOnly extends NearCacheConfig
DEFAULT_EVICTION_POLICY, DEFAULT_MAX_IDLE_SECONDS, DEFAULT_MAX_SIZE, DEFAULT_MEMORY_FORMAT, DEFAULT_TTL_SECONDS
Constructor and Description |
---|
NearCacheConfigReadOnly(NearCacheConfig config) |
Modifier and Type | Method and Description |
---|---|
NearCacheConfig |
setCacheLocalEntries(boolean cacheLocalEntries) |
NearCacheConfig |
setEvictionPolicy(String evictionPolicy) |
NearCacheConfig |
setInMemoryFormat(InMemoryFormat inMemoryFormat) |
NearCacheConfig |
setInMemoryFormat(String inMemoryFormat) |
NearCacheConfig |
setInvalidateOnChange(boolean invalidateOnChange) |
NearCacheConfig |
setMaxIdleSeconds(int maxIdleSeconds) |
NearCacheConfig |
setMaxSize(int maxSize) |
void |
setName(String name) |
NearCacheConfig |
setTimeToLiveSeconds(int timeToLiveSeconds) |
getAsReadOnly, getEvictionPolicy, getInMemoryFormat, getMaxIdleSeconds, getMaxSize, getName, getTimeToLiveSeconds, isCacheLocalEntries, isInvalidateOnChange, toString
public NearCacheConfigReadOnly(NearCacheConfig config)
public void setName(String name)
setName
in class NearCacheConfig
public NearCacheConfig setTimeToLiveSeconds(int timeToLiveSeconds)
setTimeToLiveSeconds
in class NearCacheConfig
public NearCacheConfig setMaxSize(int maxSize)
setMaxSize
in class NearCacheConfig
public NearCacheConfig setEvictionPolicy(String evictionPolicy)
setEvictionPolicy
in class NearCacheConfig
public NearCacheConfig setMaxIdleSeconds(int maxIdleSeconds)
setMaxIdleSeconds
in class NearCacheConfig
public NearCacheConfig setInvalidateOnChange(boolean invalidateOnChange)
setInvalidateOnChange
in class NearCacheConfig
public NearCacheConfig setInMemoryFormat(InMemoryFormat inMemoryFormat)
setInMemoryFormat
in class NearCacheConfig
public NearCacheConfig setInMemoryFormat(String inMemoryFormat)
setInMemoryFormat
in class NearCacheConfig
public NearCacheConfig setCacheLocalEntries(boolean cacheLocalEntries)
setCacheLocalEntries
in class NearCacheConfig
Copyright © 2014 Hazelcast, Inc.. All Rights Reserved.