K - key typepublic class ClientNearCache<K> extends Object
| Modifier and Type | Field and Description |
|---|---|
static Object |
NULL_OBJECT
Used when caching nonexistent values.
|
| Constructor and Description |
|---|
ClientNearCache(String mapName,
ClientNearCacheType cacheType,
ClientContext context,
NearCacheConfig nearCacheConfig) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
void |
destroy() |
Object |
get(K key) |
NearCacheStatsImpl |
getNearCacheStats() |
void |
invalidate() |
void |
invalidate(Collection<K> keys) |
void |
invalidate(K key) |
void |
put(K key,
Object object) |
public static final Object NULL_OBJECT
public ClientNearCache(String mapName, ClientNearCacheType cacheType, ClientContext context, NearCacheConfig nearCacheConfig)
public void invalidate()
public void invalidate(K key)
public void invalidate(Collection<K> keys)
public NearCacheStatsImpl getNearCacheStats()
public void destroy()
public void clear()
Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.