com.hazelcast.map.impl
Class NearCacheProvider
java.lang.Object
com.hazelcast.map.impl.NearCacheProvider
public class NearCacheProvider
- extends Object
Provides near cache specific functionality.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NearCacheProvider
public NearCacheProvider(MapServiceContext mapServiceContext,
NodeEngine nodeEngine)
getNearCache
public NearCache getNearCache(String mapName)
clear
public void clear()
remove
public void remove(String mapName)
putNearCache
public Object putNearCache(String mapName,
Data key,
Data value)
invalidateNearCache
public void invalidateNearCache(String mapName,
Data key)
invalidateNearCache
public void invalidateNearCache(String mapName,
Collection<Data> keys)
clearNearCache
public void clearNearCache(String mapName)
invalidateAllNearCaches
public void invalidateAllNearCaches(String mapName,
Data key)
isNearCacheAndInvalidationEnabled
public boolean isNearCacheAndInvalidationEnabled(String mapName)
isNearCacheEnabled
public boolean isNearCacheEnabled(String mapName)
invalidateAllNearCaches
public void invalidateAllNearCaches(String mapName,
Set<Data> keys)
getFromNearCache
public Object getFromNearCache(String mapName,
Data key)
Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.