com.hazelcast.config
Class NearCacheConfig
java.lang.Object
com.hazelcast.config.NearCacheConfig
public class NearCacheConfig
- extends Object
DEFAULT_TTL_SECONDS
public static final int DEFAULT_TTL_SECONDS
- See Also:
- Constant Field Values
DEFAULT_MAX_IDLE_SECONDS
public static final int DEFAULT_MAX_IDLE_SECONDS
- See Also:
- Constant Field Values
DEFAULT_MAX_SIZE
public static final int DEFAULT_MAX_SIZE
- See Also:
- Constant Field Values
DEFAULT_EVICTION_POLICY
public static final String DEFAULT_EVICTION_POLICY
- See Also:
- Constant Field Values
DEFAULT_MEMORY_FORMAT
public static final MapConfig.InMemoryFormat DEFAULT_MEMORY_FORMAT
NearCacheConfig
public NearCacheConfig(int timeToLiveSeconds,
int maxSize,
String evictionPolicy,
int maxIdleSeconds,
boolean invalidateOnChange,
MapConfig.InMemoryFormat inMemoryFormat)
NearCacheConfig
public NearCacheConfig()
getName
public String getName()
setName
public void setName(String name)
getTimeToLiveSeconds
public int getTimeToLiveSeconds()
setTimeToLiveSeconds
public NearCacheConfig setTimeToLiveSeconds(int timeToLiveSeconds)
getMaxSize
public int getMaxSize()
setMaxSize
public NearCacheConfig setMaxSize(int maxSize)
getEvictionPolicy
public String getEvictionPolicy()
setEvictionPolicy
public NearCacheConfig setEvictionPolicy(String evictionPolicy)
getMaxIdleSeconds
public int getMaxIdleSeconds()
setMaxIdleSeconds
public NearCacheConfig setMaxIdleSeconds(int maxIdleSeconds)
isInvalidateOnChange
public boolean isInvalidateOnChange()
setInvalidateOnChange
public NearCacheConfig setInvalidateOnChange(boolean invalidateOnChange)
getInMemoryFormat
public MapConfig.InMemoryFormat getInMemoryFormat()
setInMemoryFormat
public NearCacheConfig setInMemoryFormat(MapConfig.InMemoryFormat inMemoryFormat)
setInMemoryFormat
public NearCacheConfig setInMemoryFormat(String inMemoryFormat)
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2013 Hazelcast, Inc.. All Rights Reserved.