public class NearCacheConfigHolder extends Object
Constructor and Description |
---|
NearCacheConfigHolder(String name,
String inMemoryFormat,
boolean serializeKeys,
boolean invalidateOnChange,
int timeToLiveSeconds,
int maxIdleSeconds,
EvictionConfigHolder evictionConfigHolder,
boolean cacheLocalEntries,
String localUpdatePolicy,
NearCachePreloaderConfig preloaderConfig) |
Modifier and Type | Method and Description |
---|---|
NearCacheConfig |
asNearCacheConfig(SerializationService serializationService) |
EvictionConfigHolder |
getEvictionConfigHolder() |
String |
getInMemoryFormat() |
String |
getLocalUpdatePolicy() |
int |
getMaxIdleSeconds() |
String |
getName() |
NearCachePreloaderConfig |
getPreloaderConfig() |
int |
getTimeToLiveSeconds() |
boolean |
isCacheLocalEntries() |
boolean |
isInvalidateOnChange() |
boolean |
isSerializeKeys() |
static NearCacheConfigHolder |
of(NearCacheConfig config,
SerializationService serializationService) |
public NearCacheConfigHolder(String name, String inMemoryFormat, boolean serializeKeys, boolean invalidateOnChange, int timeToLiveSeconds, int maxIdleSeconds, EvictionConfigHolder evictionConfigHolder, boolean cacheLocalEntries, String localUpdatePolicy, NearCachePreloaderConfig preloaderConfig)
public String getName()
public String getInMemoryFormat()
public boolean isSerializeKeys()
public boolean isInvalidateOnChange()
public int getTimeToLiveSeconds()
public int getMaxIdleSeconds()
public EvictionConfigHolder getEvictionConfigHolder()
public boolean isCacheLocalEntries()
public String getLocalUpdatePolicy()
public NearCachePreloaderConfig getPreloaderConfig()
public NearCacheConfig asNearCacheConfig(SerializationService serializationService)
public static NearCacheConfigHolder of(NearCacheConfig config, SerializationService serializationService)
Copyright © 2020 Hazelcast, Inc.. All Rights Reserved.