com.hazelcast.config
Class NearCacheConfigReadOnly
java.lang.Object
com.hazelcast.config.NearCacheConfig
com.hazelcast.config.NearCacheConfigReadOnly
- All Implemented Interfaces:
- DataSerializable, Serializable
public class NearCacheConfigReadOnly
- extends NearCacheConfig
Contains configuration for an NearCache(Read-Only).
- See Also:
- Serialized Form
Methods inherited from class com.hazelcast.config.NearCacheConfig |
getAsReadOnly, getEvictionPolicy, getInMemoryFormat, getLocalUpdatePolicy, getMaxIdleSeconds, getMaxSize, getName, getTimeToLiveSeconds, isCacheLocalEntries, isInvalidateOnChange, readData, setLocalUpdatePolicy, toString, writeData |
NearCacheConfigReadOnly
public NearCacheConfigReadOnly(NearCacheConfig config)
setName
public NearCacheConfig setName(String name)
- Overrides:
setName
in class NearCacheConfig
setTimeToLiveSeconds
public NearCacheConfig setTimeToLiveSeconds(int timeToLiveSeconds)
- Overrides:
setTimeToLiveSeconds
in class NearCacheConfig
setMaxSize
public NearCacheConfig setMaxSize(int maxSize)
- Overrides:
setMaxSize
in class NearCacheConfig
setEvictionPolicy
public NearCacheConfig setEvictionPolicy(String evictionPolicy)
- Overrides:
setEvictionPolicy
in class NearCacheConfig
setMaxIdleSeconds
public NearCacheConfig setMaxIdleSeconds(int maxIdleSeconds)
- Overrides:
setMaxIdleSeconds
in class NearCacheConfig
setInvalidateOnChange
public NearCacheConfig setInvalidateOnChange(boolean invalidateOnChange)
- Overrides:
setInvalidateOnChange
in class NearCacheConfig
setInMemoryFormat
public NearCacheConfig setInMemoryFormat(InMemoryFormat inMemoryFormat)
- Overrides:
setInMemoryFormat
in class NearCacheConfig
setInMemoryFormat
public NearCacheConfig setInMemoryFormat(String inMemoryFormat)
- Overrides:
setInMemoryFormat
in class NearCacheConfig
setCacheLocalEntries
public NearCacheConfig setCacheLocalEntries(boolean cacheLocalEntries)
- Overrides:
setCacheLocalEntries
in class NearCacheConfig
Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.