K - the type of the key.V - the type of the value.public class HiDensityNearCache<K,V>
extends com.hazelcast.internal.nearcache.impl.DefaultNearCache<K,V>
NearCache implementation for Hi-Density cache.classLoader, expirationTaskFuture, name, nearCacheConfig, nearCacheRecordStore, scheduler, serializationServiceCACHED_AS_NULL, DEFAULT_EXPIRATION_TASK_INITIAL_DELAY_SECONDS, DEFAULT_EXPIRATION_TASK_PERIOD_SECONDS, NOT_CACHED, PROP_EXPIRATION_TASK_INITIAL_DELAY_SECONDS, PROP_EXPIRATION_TASK_PERIOD_SECONDS, TASK_INITIAL_DELAY_SECONDS, TASK_PERIOD_SECONDS| Constructor and Description |
|---|
HiDensityNearCache(String name,
com.hazelcast.config.NearCacheConfig nearCacheConfig,
com.hazelcast.internal.nearcache.NearCacheManager nearCacheManager,
EnterpriseSerializationService serializationService,
com.hazelcast.spi.TaskScheduler scheduler,
ClassLoader classLoader,
com.hazelcast.spi.properties.HazelcastProperties properties) |
HiDensityNearCache(String name,
com.hazelcast.config.NearCacheConfig nearCacheConfig,
com.hazelcast.internal.nearcache.NearCacheManager nearCacheManager,
com.hazelcast.internal.nearcache.NearCacheRecordStore<K,V> nearCacheRecordStore,
com.hazelcast.spi.serialization.SerializationService serializationService,
com.hazelcast.spi.TaskScheduler scheduler,
ClassLoader classLoader,
com.hazelcast.spi.properties.HazelcastProperties properties) |
| Modifier and Type | Method and Description |
|---|---|
protected com.hazelcast.internal.nearcache.NearCacheRecordStore<K,V> |
createNearCacheRecordStore(String name,
com.hazelcast.config.NearCacheConfig nearCacheConfig) |
void |
initialize() |
void |
put(K key,
com.hazelcast.nio.serialization.Data keyData,
V value,
com.hazelcast.nio.serialization.Data valueData) |
V |
tryPublishReserved(K key,
V value,
long reservationId,
boolean deserialize) |
long |
tryReserveForUpdate(K key,
com.hazelcast.nio.serialization.Data keyData) |
public HiDensityNearCache(String name, com.hazelcast.config.NearCacheConfig nearCacheConfig, com.hazelcast.internal.nearcache.NearCacheManager nearCacheManager, EnterpriseSerializationService serializationService, com.hazelcast.spi.TaskScheduler scheduler, ClassLoader classLoader, com.hazelcast.spi.properties.HazelcastProperties properties)
public HiDensityNearCache(String name, com.hazelcast.config.NearCacheConfig nearCacheConfig, com.hazelcast.internal.nearcache.NearCacheManager nearCacheManager, com.hazelcast.internal.nearcache.NearCacheRecordStore<K,V> nearCacheRecordStore, com.hazelcast.spi.serialization.SerializationService serializationService, com.hazelcast.spi.TaskScheduler scheduler, ClassLoader classLoader, com.hazelcast.spi.properties.HazelcastProperties properties)
public void initialize()
protected com.hazelcast.internal.nearcache.NearCacheRecordStore<K,V> createNearCacheRecordStore(String name, com.hazelcast.config.NearCacheConfig nearCacheConfig)
public void put(K key, com.hazelcast.nio.serialization.Data keyData, V value, com.hazelcast.nio.serialization.Data valueData)
public long tryReserveForUpdate(K key, com.hazelcast.nio.serialization.Data keyData)
Copyright © 2022 Hazelcast, Inc.. All Rights Reserved.