Package | Description |
---|---|
com.hazelcast.client.config |
Contains classes related to config for com.hazelcast.client
|
com.hazelcast.client.impl.protocol.task.dynamicconfig | |
com.hazelcast.config |
Provides classes for configuring HazelcastInstance.
|
com.hazelcast.internal.config |
Contains functionality for Hazelcast configurations.
|
com.hazelcast.internal.nearcache |
Near Cache support.
|
com.hazelcast.internal.nearcache.impl |
Near Cache implementations.
|
com.hazelcast.internal.nearcache.impl.store |
Near Cache store implementations.
|
Modifier and Type | Method and Description |
---|---|
NearCacheConfig |
ClientConfig.getNearCacheConfig(String name)
Gets the
NearCacheConfig configured for the map / cache with name |
Modifier and Type | Method and Description |
---|---|
Map<String,NearCacheConfig> |
ClientConfig.getNearCacheConfigMap()
Map of all configured NearCacheConfig's with the name key and configuration as the value
|
Modifier and Type | Method and Description |
---|---|
ClientConfig |
ClientConfig.addNearCacheConfig(NearCacheConfig nearCacheConfig)
Helper method to add a new NearCacheConfig
|
ClientConfig |
ClientConfig.addNearCacheConfig(String name,
NearCacheConfig nearCacheConfig)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
ClientConfig |
ClientConfig.setNearCacheConfigMap(Map<String,NearCacheConfig> nearCacheConfigMap)
Sets all
NearCacheConfig 's with the provided map |
Modifier and Type | Method and Description |
---|---|
NearCacheConfig |
NearCacheConfigHolder.asNearCacheConfig(SerializationService serializationService) |
Modifier and Type | Method and Description |
---|---|
static NearCacheConfigHolder |
NearCacheConfigHolder.of(NearCacheConfig config,
SerializationService serializationService) |
Modifier and Type | Class and Description |
---|---|
class |
NearCacheConfigReadOnly
Deprecated.
this class will be removed in 4.0; it is meant for internal usage only.
|
Modifier and Type | Method and Description |
---|---|
NearCacheConfig |
MapConfig.getNearCacheConfig()
Returns the Near Cache configuration
|
NearCacheConfig |
MapConfigReadOnly.getNearCacheConfig()
Deprecated.
|
NearCacheConfig |
NearCacheConfig.setCacheLocalEntries(boolean cacheLocalEntries)
Sets if local entries are also cached in the Near Cache.
|
NearCacheConfig |
NearCacheConfigReadOnly.setCacheLocalEntries(boolean cacheLocalEntries)
Deprecated.
|
NearCacheConfig |
NearCacheConfig.setEvictionConfig(EvictionConfig evictionConfig)
Sets the eviction configuration for this Near Cache.
|
NearCacheConfig |
NearCacheConfigReadOnly.setEvictionConfig(EvictionConfig evictionConfig)
Deprecated.
|
NearCacheConfig |
NearCacheConfig.setEvictionPolicy(String evictionPolicy)
Deprecated.
since 3.8, please use
getEvictionConfig() and EvictionConfig.setEvictionPolicy(EvictionPolicy) |
NearCacheConfig |
NearCacheConfigReadOnly.setEvictionPolicy(String evictionPolicy)
Deprecated.
|
NearCacheConfig |
NearCacheConfig.setInMemoryFormat(InMemoryFormat inMemoryFormat)
Sets the data type used to store entries.
|
NearCacheConfig |
NearCacheConfigReadOnly.setInMemoryFormat(InMemoryFormat inMemoryFormat)
Deprecated.
|
NearCacheConfig |
NearCacheConfig.setInMemoryFormat(String inMemoryFormat) |
NearCacheConfig |
NearCacheConfigReadOnly.setInMemoryFormat(String inMemoryFormat)
Deprecated.
|
NearCacheConfig |
NearCacheConfig.setInvalidateOnChange(boolean invalidateOnChange)
Sets if Near Cache entries are invalidated when the entries in the backing data structure are changed
(updated or removed).
|
NearCacheConfig |
NearCacheConfigReadOnly.setInvalidateOnChange(boolean invalidateOnChange)
Deprecated.
|
NearCacheConfig |
NearCacheConfig.setLocalUpdatePolicy(NearCacheConfig.LocalUpdatePolicy localUpdatePolicy)
Sets the
NearCacheConfig.LocalUpdatePolicy of this Near Cache. |
NearCacheConfig |
NearCacheConfigReadOnly.setLocalUpdatePolicy(NearCacheConfig.LocalUpdatePolicy localUpdatePolicy)
Deprecated.
|
NearCacheConfig |
NearCacheConfig.setMaxIdleSeconds(int maxIdleSeconds)
Set the maximum number of seconds each entry can stay in the Near Cache as untouched (not-read).
|
NearCacheConfig |
NearCacheConfigReadOnly.setMaxIdleSeconds(int maxIdleSeconds)
Deprecated.
|
NearCacheConfig |
NearCacheConfig.setMaxSize(int maxSize)
Deprecated.
since 3.8, please use
setEvictionConfig(EvictionConfig) and EvictionConfig.setSize(int) |
NearCacheConfig |
NearCacheConfigReadOnly.setMaxSize(int maxSize)
Deprecated.
|
NearCacheConfig |
NearCacheConfig.setName(String name)
Sets the name of the Near Cache.
|
NearCacheConfig |
NearCacheConfigReadOnly.setName(String name)
Deprecated.
|
NearCacheConfig |
NearCacheConfig.setPreloaderConfig(NearCachePreloaderConfig preloaderConfig)
Sets the
NearCachePreloaderConfig of this Near Cache. |
NearCacheConfig |
NearCacheConfigReadOnly.setPreloaderConfig(NearCachePreloaderConfig preloaderConfig)
Deprecated.
|
NearCacheConfig |
NearCacheConfig.setSerializeKeys(boolean serializeKeys)
Sets if the Near Cache key is stored in serialized format or by-reference.
|
NearCacheConfig |
NearCacheConfigReadOnly.setSerializeKeys(boolean serializeKeys)
Deprecated.
|
NearCacheConfig |
NearCacheConfig.setTimeToLiveSeconds(int timeToLiveSeconds)
Returns the maximum number of seconds for each entry to stay in the Near Cache (time to live).
|
NearCacheConfig |
NearCacheConfigReadOnly.setTimeToLiveSeconds(int timeToLiveSeconds)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static void |
NearCacheConfigAccessor.initDefaultMaxSizeForOnHeapMaps(NearCacheConfig nearCacheConfig) |
MapConfig |
MapConfig.setNearCacheConfig(NearCacheConfig nearCacheConfig)
Sets the Near Cache configuration
|
MapConfig |
MapConfigReadOnly.setNearCacheConfig(NearCacheConfig nearCacheConfig)
Deprecated.
|
Constructor and Description |
---|
NearCacheConfig(NearCacheConfig config) |
NearCacheConfigReadOnly(NearCacheConfig config)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static void |
ConfigValidator.checkNearCacheConfig(String mapName,
NearCacheConfig nearCacheConfig,
NativeMemoryConfig nativeMemoryConfig,
boolean isClient)
Checks preconditions to create a map proxy with Near Cache.
|
Modifier and Type | Method and Description |
---|---|
<K,V> NearCache<K,V> |
NearCacheManager.getOrCreateNearCache(String name,
NearCacheConfig nearCacheConfig)
Creates a new
NearCache with given configurations
or returns existing one. |
<K,V> NearCache<K,V> |
NearCacheManager.getOrCreateNearCache(String name,
NearCacheConfig nearCacheConfig,
DataStructureAdapter dataStructureAdapter)
Creates a new
NearCache with given configurations or returns existing one. |
Modifier and Type | Field and Description |
---|---|
protected NearCacheConfig |
DefaultNearCache.nearCacheConfig |
Modifier and Type | Method and Description |
---|---|
protected <K,V> NearCache<K,V> |
DefaultNearCacheManager.createNearCache(String name,
NearCacheConfig nearCacheConfig) |
protected NearCacheRecordStore<K,V> |
DefaultNearCache.createNearCacheRecordStore(String name,
NearCacheConfig nearCacheConfig) |
<K,V> NearCache<K,V> |
DefaultNearCacheManager.getOrCreateNearCache(String name,
NearCacheConfig nearCacheConfig) |
<K,V> NearCache<K,V> |
DefaultNearCacheManager.getOrCreateNearCache(String name,
NearCacheConfig nearCacheConfig,
DataStructureAdapter dataStructureAdapter) |
Constructor and Description |
---|
DefaultNearCache(String name,
NearCacheConfig nearCacheConfig,
NearCacheRecordStore<K,V> nearCacheRecordStore,
SerializationService serializationService,
TaskScheduler scheduler,
ClassLoader classLoader) |
DefaultNearCache(String name,
NearCacheConfig nearCacheConfig,
SerializationService serializationService,
TaskScheduler scheduler,
ClassLoader classLoader) |
Modifier and Type | Field and Description |
---|---|
protected NearCacheConfig |
AbstractNearCacheRecordStore.nearCacheConfig |
Modifier and Type | Method and Description |
---|---|
protected EvictionChecker |
BaseHeapNearCacheRecordStore.createNearCacheEvictionChecker(EvictionConfig evictionConfig,
NearCacheConfig nearCacheConfig) |
protected abstract EvictionChecker |
AbstractNearCacheRecordStore.createNearCacheEvictionChecker(EvictionConfig evictionConfig,
NearCacheConfig nearCacheConfig) |
protected HeapNearCacheRecordMap<K,R> |
BaseHeapNearCacheRecordStore.createNearCacheRecordMap(NearCacheConfig nearCacheConfig) |
protected abstract NCRM |
AbstractNearCacheRecordStore.createNearCacheRecordMap(NearCacheConfig nearCacheConfig) |
Constructor and Description |
---|
AbstractNearCacheRecordStore(NearCacheConfig nearCacheConfig,
NearCacheStatsImpl nearCacheStats,
SerializationService serializationService,
ClassLoader classLoader) |
AbstractNearCacheRecordStore(NearCacheConfig nearCacheConfig,
SerializationService serializationService,
ClassLoader classLoader) |
NearCacheDataRecordStore(String name,
NearCacheConfig nearCacheConfig,
SerializationService serializationService,
ClassLoader classLoader) |
NearCacheObjectRecordStore(String name,
NearCacheConfig nearCacheConfig,
SerializationService serializationService,
ClassLoader classLoader) |
Copyright © 2017 Hazelcast, Inc.. All Rights Reserved.