public class NearCacheProvider extends Object
Constructor and Description |
---|
NearCacheProvider(MapServiceContext mapServiceContext,
NodeEngine nodeEngine) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
void |
clearNearCache(String mapName) |
Object |
getFromNearCache(String mapName,
Data key) |
NearCache |
getNearCache(String mapName) |
void |
invalidateAllNearCaches(String mapName,
Data key) |
void |
invalidateAllNearCaches(String mapName,
Set<Data> keys) |
void |
invalidateNearCache(String mapName,
Collection<Data> keys) |
void |
invalidateNearCache(String mapName,
Data key) |
boolean |
isNearCacheAndInvalidationEnabled(String mapName) |
boolean |
isNearCacheEnabled(String mapName) |
Object |
putNearCache(String mapName,
Data key,
Data value) |
void |
remove(String mapName) |
public NearCacheProvider(MapServiceContext mapServiceContext, NodeEngine nodeEngine)
public void clear()
public void remove(String mapName)
public void invalidateNearCache(String mapName, Collection<Data> keys)
public void clearNearCache(String mapName)
public boolean isNearCacheAndInvalidationEnabled(String mapName)
public boolean isNearCacheEnabled(String mapName)
Copyright © 2014 Hazelcast, Inc.. All Rights Reserved.