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.nearcache |
Contains classes/interfaces related to com.hazelcast.client.nearcache
|
com.hazelcast.config |
Provides classes for configuring HazelcastInstance.
|
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
Contains configuration for an NearCache(Read-Only).
|
Modifier and Type | Method and Description |
---|---|
NearCacheConfig |
MapConfig.getNearCacheConfig()
Returns the near cache configuration
|
NearCacheConfig |
MapConfigReadOnly.getNearCacheConfig() |
NearCacheConfig |
NearCacheConfig.setCacheLocalEntries(boolean cacheLocalEntries) |
NearCacheConfig |
NearCacheConfigReadOnly.setCacheLocalEntries(boolean cacheLocalEntries) |
NearCacheConfig |
NearCacheConfig.setEvictionConfig(EvictionConfig evictionConfig) |
NearCacheConfig |
NearCacheConfig.setEvictionPolicy(String evictionPolicy) |
NearCacheConfig |
NearCacheConfigReadOnly.setEvictionPolicy(String evictionPolicy) |
NearCacheConfig |
NearCacheConfig.setInMemoryFormat(InMemoryFormat inMemoryFormat) |
NearCacheConfig |
NearCacheConfigReadOnly.setInMemoryFormat(InMemoryFormat inMemoryFormat) |
NearCacheConfig |
NearCacheConfig.setInMemoryFormat(String inMemoryFormat) |
NearCacheConfig |
NearCacheConfigReadOnly.setInMemoryFormat(String inMemoryFormat) |
NearCacheConfig |
NearCacheConfig.setInvalidateOnChange(boolean invalidateOnChange) |
NearCacheConfig |
NearCacheConfigReadOnly.setInvalidateOnChange(boolean invalidateOnChange) |
NearCacheConfig |
NearCacheConfig.setLocalUpdatePolicy(NearCacheConfig.LocalUpdatePolicy localUpdatePolicy) |
NearCacheConfig |
NearCacheConfig.setMaxIdleSeconds(int maxIdleSeconds) |
NearCacheConfig |
NearCacheConfigReadOnly.setMaxIdleSeconds(int maxIdleSeconds) |
NearCacheConfig |
NearCacheConfig.setMaxSize(int maxSize) |
NearCacheConfig |
NearCacheConfigReadOnly.setMaxSize(int maxSize) |
NearCacheConfig |
NearCacheConfig.setName(String name) |
NearCacheConfig |
NearCacheConfigReadOnly.setName(String name) |
NearCacheConfig |
NearCacheConfig.setTimeToLiveSeconds(int timeToLiveSeconds) |
NearCacheConfig |
NearCacheConfigReadOnly.setTimeToLiveSeconds(int timeToLiveSeconds) |
Modifier and Type | Method and Description |
---|---|
MapConfig |
MapConfig.setNearCacheConfig(NearCacheConfig nearCacheConfig)
Sets the near cache configuration
|
MapConfig |
MapConfigReadOnly.setNearCacheConfig(NearCacheConfig nearCacheConfig) |
Constructor and Description |
---|
NearCacheConfig(NearCacheConfig config) |
NearCacheConfigReadOnly(NearCacheConfig config) |
Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.