Package | Description |
---|---|
com.hazelcast.client.config |
Contains classes related to config for com.hazelcast.client
|
com.hazelcast.config |
Provides classes for configuring HazelcastInstance.
|
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 | 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 |
MapConfigReadOnly.getNearCacheConfig()
Deprecated.
|
NearCacheConfig |
MapConfig.getNearCacheConfig()
Returns the Near Cache configuration
|
NearCacheConfig |
NearCacheConfigReadOnly.setCacheLocalEntries(boolean cacheLocalEntries)
Deprecated.
|
NearCacheConfig |
NearCacheConfig.setCacheLocalEntries(boolean cacheLocalEntries)
Sets if local entries are also cached in the Near Cache.
|
NearCacheConfig |
NearCacheConfigReadOnly.setEvictionConfig(EvictionConfig evictionConfig)
Deprecated.
|
NearCacheConfig |
NearCacheConfig.setEvictionConfig(EvictionConfig evictionConfig)
Sets the eviction configuration for this Near Cache.
|
NearCacheConfig |
NearCacheConfigReadOnly.setEvictionPolicy(String evictionPolicy)
Deprecated.
|
NearCacheConfig |
NearCacheConfig.setEvictionPolicy(String evictionPolicy)
Deprecated.
since 3.8, please use
getEvictionConfig() and EvictionConfig.setEvictionPolicy(EvictionPolicy) |
NearCacheConfig |
NearCacheConfigReadOnly.setInMemoryFormat(InMemoryFormat inMemoryFormat)
Deprecated.
|
NearCacheConfig |
NearCacheConfig.setInMemoryFormat(InMemoryFormat inMemoryFormat)
Sets the data type used to store entries.
|
NearCacheConfig |
NearCacheConfigReadOnly.setInMemoryFormat(String inMemoryFormat)
Deprecated.
|
NearCacheConfig |
NearCacheConfig.setInMemoryFormat(String inMemoryFormat) |
NearCacheConfig |
NearCacheConfigReadOnly.setInvalidateOnChange(boolean invalidateOnChange)
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.setLocalUpdatePolicy(NearCacheConfig.LocalUpdatePolicy localUpdatePolicy)
Deprecated.
|
NearCacheConfig |
NearCacheConfig.setLocalUpdatePolicy(NearCacheConfig.LocalUpdatePolicy localUpdatePolicy)
Sets the
NearCacheConfig.LocalUpdatePolicy of this Near Cache. |
NearCacheConfig |
NearCacheConfigReadOnly.setMaxIdleSeconds(int maxIdleSeconds)
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.setMaxSize(int maxSize)
Deprecated.
|
NearCacheConfig |
NearCacheConfig.setMaxSize(int maxSize)
Deprecated.
since 3.8, please use
setEvictionConfig(EvictionConfig) and EvictionConfig.setSize(int) |
NearCacheConfig |
NearCacheConfigReadOnly.setName(String name)
Deprecated.
|
NearCacheConfig |
NearCacheConfig.setName(String name)
Sets the name of the Near Cache.
|
NearCacheConfig |
NearCacheConfigReadOnly.setPreloaderConfig(NearCachePreloaderConfig preloaderConfig)
Deprecated.
|
NearCacheConfig |
NearCacheConfig.setPreloaderConfig(NearCachePreloaderConfig preloaderConfig)
Sets the
NearCachePreloaderConfig of this Near Cache. |
NearCacheConfig |
NearCacheConfigReadOnly.setSerializeKeys(boolean serializeKeys)
Deprecated.
|
NearCacheConfig |
NearCacheConfig.setSerializeKeys(boolean serializeKeys)
Sets if the Near Cache key is stored in serialized format or by-reference.
|
NearCacheConfig |
NearCacheConfigReadOnly.setTimeToLiveSeconds(int timeToLiveSeconds)
Deprecated.
|
NearCacheConfig |
NearCacheConfig.setTimeToLiveSeconds(int timeToLiveSeconds)
Returns the maximum number of seconds for each entry to stay in the Near Cache (time to live).
|
Modifier and Type | Method and Description |
---|---|
static void |
NearCacheConfigAccessor.initDefaultMaxSizeForOnHeapMaps(NearCacheConfig nearCacheConfig) |
MapConfig |
MapConfigReadOnly.setNearCacheConfig(NearCacheConfig nearCacheConfig)
Deprecated.
|
MapConfig |
MapConfig.setNearCacheConfig(NearCacheConfig nearCacheConfig)
Sets the Near Cache configuration
|
Constructor and Description |
---|
NearCacheConfig(NearCacheConfig config) |
NearCacheConfigReadOnly(NearCacheConfig config)
Deprecated.
|
Copyright © 2018 Hazelcast, Inc.. All rights reserved.