com.hazelcast.config
public class NearCacheConfigReadOnly extends NearCacheConfig
NearCacheConfig.LocalUpdatePolicy
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) |
NearCacheConfig |
setName(String name) |
NearCacheConfig |
setTimeToLiveSeconds(int timeToLiveSeconds) |
getAsReadOnly, getEvictionConfig, getEvictionPolicy, getInMemoryFormat, getLocalUpdatePolicy, getMaxIdleSeconds, getMaxSize, getName, getTimeToLiveSeconds, isCacheLocalEntries, isInvalidateOnChange, readData, setEvictionConfig, setLocalUpdatePolicy, toString, writeData
public NearCacheConfigReadOnly(NearCacheConfig config)
public NearCacheConfig 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 © 2015 Hazelcast, Inc.. All Rights Reserved.