public class NearCache extends Object
Modifier and Type | Class and Description |
---|---|
class |
NearCache.CacheRecord
CacheRecord.
|
Modifier and Type | Field and Description |
---|---|
static Object |
NULL_OBJECT
Used when caching nonexistent values.
|
Constructor and Description |
---|
NearCache(String mapName,
MapService mapService) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
Object |
get(Data key) |
NearCacheStatsImpl |
getNearCacheStats() |
Map<Data,NearCache.CacheRecord> |
getReadonlyMap() |
void |
invalidate(Data key) |
void |
invalidate(Set<Data> keys) |
Object |
put(Data key,
Data data) |
int |
size() |
public static final Object NULL_OBJECT
public NearCache(String mapName, MapService mapService)
mapName
- mapService
- public NearCacheStatsImpl getNearCacheStats()
public void invalidate(Data key)
public int size()
public void clear()
public Map<Data,NearCache.CacheRecord> getReadonlyMap()
Copyright © 2014 Hazelcast, Inc.. All rights reserved.