com.hazelcast.client.nearcache
K
- public class ClientHeapNearCache<K> extends Object implements ClientNearCache<K,Object>
ClientNearCache
.
todo: improve javadoc.EVICTION_FACTOR, NULL_OBJECT, TTL_CLEANUP_INTERVAL_MILLS
Constructor and Description |
---|
ClientHeapNearCache(String mapName,
ClientContext context,
NearCacheConfig nearCacheConfig) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
void |
destroy() |
Object |
get(K key) |
String |
getId() |
InMemoryFormat |
getInMemoryFormat() |
NearCacheStatsImpl |
getNearCacheStats() |
void |
invalidate(K key) |
boolean |
isInvalidateOnChange() |
void |
put(K key,
Object object) |
void |
remove(K key) |
void |
setId(String id) |
public ClientHeapNearCache(String mapName, ClientContext context, NearCacheConfig nearCacheConfig)
public void setId(String id)
setId
in interface ClientNearCache<K,Object>
public String getId()
getId
in interface ClientNearCache<K,Object>
public void remove(K key)
remove
in interface ClientNearCache<K,Object>
public void invalidate(K key)
invalidate
in interface ClientNearCache<K,Object>
public NearCacheStatsImpl getNearCacheStats()
getNearCacheStats
in interface ClientNearCache<K,Object>
public void clear()
clear
in interface ClientNearCache<K,Object>
public void destroy()
destroy
in interface ClientNearCache<K,Object>
public boolean isInvalidateOnChange()
isInvalidateOnChange
in interface ClientNearCache<K,Object>
public InMemoryFormat getInMemoryFormat()
getInMemoryFormat
in interface ClientNearCache<K,Object>
Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.