com.hazelcast.config
Class NearCacheConfig
java.lang.Object
com.hazelcast.config.NearCacheConfig
public class NearCacheConfig
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
NearCacheConfig
public NearCacheConfig(int timeToLiveSeconds,
int maxSize,
String evictionPolicy,
int maxIdleSeconds,
boolean invalidateOnChange)
NearCacheConfig
public NearCacheConfig()
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)
Copyright © 2008-2012 Hazel Ltd. All Rights Reserved.