com.hazelcast.config
Class NearCacheConfigReadOnly

java.lang.Object
  extended by com.hazelcast.config.NearCacheConfig
      extended by 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

Nested Class Summary
 
Nested classes/interfaces inherited from class com.hazelcast.config.NearCacheConfig
NearCacheConfig.LocalUpdatePolicy
 
Field Summary
 
Fields inherited from class com.hazelcast.config.NearCacheConfig
DEFAULT_EVICTION_POLICY, DEFAULT_MAX_IDLE_SECONDS, DEFAULT_MAX_SIZE, DEFAULT_MEMORY_FORMAT, DEFAULT_TTL_SECONDS
 
Constructor Summary
NearCacheConfigReadOnly(NearCacheConfig config)
           
 
Method Summary
 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)
           
 
Methods inherited from class com.hazelcast.config.NearCacheConfig
getAsReadOnly, getEvictionPolicy, getInMemoryFormat, getLocalUpdatePolicy, getMaxIdleSeconds, getMaxSize, getName, getTimeToLiveSeconds, isCacheLocalEntries, isInvalidateOnChange, readData, setLocalUpdatePolicy, toString, writeData
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NearCacheConfigReadOnly

public NearCacheConfigReadOnly(NearCacheConfig config)
Method Detail

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.