Package | Description |
---|---|
com.hazelcast.cache.impl.nearcache |
Near cache support.
|
com.hazelcast.cache.impl.nearcache.impl |
Near cache implementations.
|
com.hazelcast.cache.impl.nearcache.impl.store |
Near cache store implementations.
|
com.hazelcast.client.config |
Contains classes related to config for com.hazelcast.client
|
com.hazelcast.client.map.impl.nearcache |
Contains classes/interfaces related to com.hazelcast.client.map.impl.nearcache
|
com.hazelcast.config |
Provides classes for configuring HazelcastInstance.
|
com.hazelcast.map.impl |
Contains implementation specific classes of
com.hazelcast.map package. |
Modifier and Type | Method and Description |
---|---|
<K,V> NearCache<K,V> |
NearCacheManager.getOrCreateNearCache(String name,
NearCacheConfig nearCacheConfig,
NearCacheContext nearCacheContext)
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,
NearCacheContext nearCacheContext) |
protected NearCacheRecordStore<K,V> |
DefaultNearCache.createNearCacheRecordStore(NearCacheConfig nearCacheConfig,
NearCacheContext nearCacheContext) |
<K,V> NearCache<K,V> |
DefaultNearCacheManager.getOrCreateNearCache(String name,
NearCacheConfig nearCacheConfig,
NearCacheContext nearCacheContext) |
Constructor and Description |
---|
DefaultNearCache(String name,
NearCacheConfig nearCacheConfig,
NearCacheContext nearCacheContext) |
DefaultNearCache(String name,
NearCacheConfig nearCacheConfig,
NearCacheContext nearCacheContext,
NearCacheRecordStore<K,V> nearCacheRecordStore) |
Modifier and Type | Field and Description |
---|---|
protected NearCacheConfig |
AbstractNearCacheRecordStore.nearCacheConfig |
Modifier and Type | Method and Description |
---|---|
protected EvictionChecker |
AbstractNearCacheRecordStore.createEvictionChecker(NearCacheConfig nearCacheConfig) |
protected MaxSizeChecker |
BaseHeapNearCacheRecordStore.createNearCacheMaxSizeChecker(EvictionConfig evictionConfig,
NearCacheConfig nearCacheConfig,
NearCacheContext nearCacheContext) |
protected abstract MaxSizeChecker |
AbstractNearCacheRecordStore.createNearCacheMaxSizeChecker(EvictionConfig evictionConfig,
NearCacheConfig nearCacheConfig,
NearCacheContext nearCacheContext) |
protected HeapNearCacheRecordMap<K,R> |
BaseHeapNearCacheRecordStore.createNearCacheRecordMap(NearCacheConfig nearCacheConfig,
NearCacheContext nearCacheContext) |
protected abstract NCRM |
AbstractNearCacheRecordStore.createNearCacheRecordMap(NearCacheConfig nearCacheConfig,
NearCacheContext nearCacheContext) |
Constructor and Description |
---|
AbstractNearCacheRecordStore(NearCacheConfig nearCacheConfig,
NearCacheContext nearCacheContext) |
AbstractNearCacheRecordStore(NearCacheConfig nearCacheConfig,
NearCacheContext nearCacheContext,
NearCacheStatsImpl nearCacheStats) |
BaseHeapNearCacheRecordStore(NearCacheConfig nearCacheConfig,
NearCacheContext nearCacheContext) |
NearCacheDataRecordStore(NearCacheConfig nearCacheConfig,
NearCacheContext nearCacheContext) |
NearCacheObjectRecordStore(NearCacheConfig nearCacheConfig,
NearCacheContext nearCacheContext) |
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 |
Constructor and Description |
---|
ClientHeapNearCache(String mapName,
ClientContext context,
NearCacheConfig nearCacheConfig) |
Modifier and Type | Class and Description |
---|---|
class |
NearCacheConfigReadOnly
Deprecated.
this class will be removed in 3.8; 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)
True to cache local entries also.
|
NearCacheConfig |
NearCacheConfigReadOnly.setCacheLocalEntries(boolean cacheLocalEntries)
Deprecated.
|
NearCacheConfig |
NearCacheConfig.setEvictionConfig(EvictionConfig evictionConfig)
The eviction policy.
|
NearCacheConfig |
NearCacheConfig.setEvictionPolicy(String evictionPolicy)
Valid values are:
NONE (no extra eviction, time-to-live-seconds may still apply),
LRU (Least Recently Used),
LFU (Least Frequently Used).
|
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)
True to evict the cached entries if the entries are changed (updated or removed).
|
NearCacheConfig |
NearCacheConfigReadOnly.setInvalidateOnChange(boolean invalidateOnChange)
Deprecated.
|
NearCacheConfig |
NearCacheConfig.setLocalUpdatePolicy(NearCacheConfig.LocalUpdatePolicy localUpdatePolicy) |
NearCacheConfig |
NearCacheConfig.setMaxIdleSeconds(int maxIdleSeconds)
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)
Sets the maximum size of the near cache.
|
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.setTimeToLiveSeconds(int timeToLiveSeconds)
Sets the maximum number of seconds for each entry to stay in the near cache.
|
NearCacheConfig |
NearCacheConfigReadOnly.setTimeToLiveSeconds(int timeToLiveSeconds)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
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 SizeEstimator |
SizeEstimators.createNearCacheSizeEstimator(NearCacheConfig nearCacheConfig) |
Copyright © 2016 Hazelcast, Inc.. All Rights Reserved.