public class NearCacheProvider extends Object
Modifier and Type | Field and Description |
---|---|
protected MapServiceContext |
mapServiceContext |
protected ConstructorFunction<String,NearCache> |
nearCacheConstructor |
protected NearCacheInvalidator |
nearCacheInvalidator |
protected ConcurrentMap<String,NearCache> |
nearCacheMap |
protected NodeEngine |
nodeEngine |
Constructor and Description |
---|
NearCacheProvider(MapServiceContext mapServiceContext) |
Modifier and Type | Method and Description |
---|---|
protected NearCacheInvalidator |
createNearCacheInvalidator(MapServiceContext mapServiceContext) |
void |
destroyNearCache(String mapName) |
Object |
getFromNearCache(String mapName,
Data key) |
NearCacheInvalidator |
getNearCacheInvalidator() |
NearCache |
getOrCreateNearCache(String mapName) |
void |
reset() |
void |
shutdown() |
protected final ConcurrentMap<String,NearCache> nearCacheMap
protected final ConstructorFunction<String,NearCache> nearCacheConstructor
protected final MapServiceContext mapServiceContext
protected final NodeEngine nodeEngine
protected final NearCacheInvalidator nearCacheInvalidator
public NearCacheProvider(MapServiceContext mapServiceContext)
protected NearCacheInvalidator createNearCacheInvalidator(MapServiceContext mapServiceContext)
public void reset()
MapManagedService.reset()
public void shutdown()
MapManagedService.shutdown(boolean)
public void destroyNearCache(String mapName)
MapRemoteService.destroyDistributedObject(String)
public NearCacheInvalidator getNearCacheInvalidator()
Copyright © 2016 Hazelcast, Inc.. All Rights Reserved.