com.hazelcast.map.impl
Class NearCacheProvider

java.lang.Object
  extended by com.hazelcast.map.impl.NearCacheProvider

public class NearCacheProvider
extends Object

Provides near cache specific functionality.


Constructor Summary
NearCacheProvider(MapServiceContext mapServiceContext, NodeEngine nodeEngine)
           
 
Method Summary
 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NearCacheProvider

public NearCacheProvider(MapServiceContext mapServiceContext,
                         NodeEngine nodeEngine)
Method Detail

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.