DEFAULT_EXPIRATION_TASK_DELAY_IN_SECONDS, DEFAULT_EXPIRATION_TASK_INITIAL_DELAY_IN_SECONDS, NULL_OBJECT
Constructor and Description |
---|
ClientHeapNearCache(String mapName,
ClientContext context,
NearCacheConfig nearCacheConfig) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
void |
destroy() |
Object |
get(K key) |
InMemoryFormat |
getInMemoryFormat() |
String |
getName() |
NearCacheStatsImpl |
getNearCacheStats() |
boolean |
isInvalidateOnChange() |
void |
put(K key,
Object object) |
boolean |
remove(K key) |
Object |
selectToSave(Object... candidates) |
int |
size() |
public ClientHeapNearCache(String mapName, ClientContext context, NearCacheConfig nearCacheConfig)
public NearCacheStatsImpl getNearCacheStats()
getNearCacheStats
in interface NearCache<K,Object>
public Object selectToSave(Object... candidates)
selectToSave
in interface NearCache<K,Object>
public boolean isInvalidateOnChange()
isInvalidateOnChange
in interface NearCache<K,Object>
public InMemoryFormat getInMemoryFormat()
getInMemoryFormat
in interface NearCache<K,Object>
Copyright © 2016 Hazelcast, Inc.. All Rights Reserved.