com.hazelcast.map.impl
Class NearCache
java.lang.Object
com.hazelcast.map.impl.NearCache
public class NearCache
- extends Object
NearCache.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NULL_OBJECT
public static final Object NULL_OBJECT
- Used when caching nonexistent values.
NEAR_CACHE_EXECUTOR_NAME
public static final String NEAR_CACHE_EXECUTOR_NAME
- See Also:
- Constant Field Values
NearCache
public NearCache(String mapName,
NodeEngine nodeEngine)
- Parameters:
mapName
- name of map which owns near cache.nodeEngine
- node engine.
put
public Object put(Data key,
Data data)
getNearCacheStats
public NearCacheStatsImpl getNearCacheStats()
get
public Object get(Data key)
invalidate
public void invalidate(Data key)
invalidate
public void invalidate(Collection<Data> keys)
size
public int size()
clear
public void clear()
getReadonlyMap
public Map<Data,NearCache.CacheRecord> getReadonlyMap()
getNearCacheSizeEstimator
public SizeEstimator getNearCacheSizeEstimator()
setNearCacheSizeEstimator
public void setNearCacheSizeEstimator(SizeEstimator nearCacheSizeEstimator)
Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.