com.hazelcast.client.nearcache
Class ClientHeapNearCache<K>
java.lang.Object
com.hazelcast.client.nearcache.ClientHeapNearCache<K>
- Type Parameters:
K
-
- All Implemented Interfaces:
- ClientNearCache<K,Object>
public class ClientHeapNearCache<K>
- extends Object
- implements ClientNearCache<K,Object>
Implementation of the ClientNearCache
.
todo: improve javadoc.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClientHeapNearCache
public ClientHeapNearCache(String mapName,
ClientContext context,
NearCacheConfig nearCacheConfig)
setId
public void setId(String id)
- Specified by:
setId
in interface ClientNearCache<K,Object>
getId
public String getId()
- Specified by:
getId
in interface ClientNearCache<K,Object>
put
public void put(K key,
Object object)
- Specified by:
put
in interface ClientNearCache<K,Object>
get
public Object get(K key)
- Specified by:
get
in interface ClientNearCache<K,Object>
remove
public void remove(K key)
- Specified by:
remove
in interface ClientNearCache<K,Object>
invalidate
public void invalidate(K key)
- Specified by:
invalidate
in interface ClientNearCache<K,Object>
getNearCacheStats
public NearCacheStatsImpl getNearCacheStats()
- Specified by:
getNearCacheStats
in interface ClientNearCache<K,Object>
clear
public void clear()
- Specified by:
clear
in interface ClientNearCache<K,Object>
destroy
public void destroy()
- Specified by:
destroy
in interface ClientNearCache<K,Object>
isInvalidateOnChange
public boolean isInvalidateOnChange()
- Specified by:
isInvalidateOnChange
in interface ClientNearCache<K,Object>
getInMemoryFormat
public InMemoryFormat getInMemoryFormat()
- Specified by:
getInMemoryFormat
in interface ClientNearCache<K,Object>
Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.