com.hazelcast.client.nearcache
Interface ClientNearCache<K,V>

Type Parameters:
K - key type
All Known Implementing Classes:
ClientHeapNearCache

public interface ClientNearCache<K,V>

ClientNearCache


Field Summary
static int EVICTION_PERCENTAGE
          Eviction percentage
static Object NULL_OBJECT
          NULL Object
static int TTL_CLEANUP_INTERVAL_MILLS
          TTL Clean up interval
 
Method Summary
 void clear()
           
 void destroy()
           
 V get(K key)
           
 String getId()
           
 InMemoryFormat getInMemoryFormat()
           
 NearCacheStats getNearCacheStats()
           
 void invalidate(K key)
           
 boolean isInvalidateOnChange()
           
 void put(K key, V object)
           
 void remove(K key)
           
 void setId(String id)
           
 

Field Detail

EVICTION_PERCENTAGE

static final int EVICTION_PERCENTAGE
Eviction percentage

See Also:
Constant Field Values

TTL_CLEANUP_INTERVAL_MILLS

static final int TTL_CLEANUP_INTERVAL_MILLS
TTL Clean up interval

See Also:
Constant Field Values

NULL_OBJECT

static final Object NULL_OBJECT
NULL Object

Method Detail

get

V get(K key)

put

void put(K key,
         V object)

remove

void remove(K key)

invalidate

void invalidate(K key)

clear

void clear()

destroy

void destroy()

isInvalidateOnChange

boolean isInvalidateOnChange()

getInMemoryFormat

InMemoryFormat getInMemoryFormat()

setId

void setId(String id)

getId

String getId()

getNearCacheStats

NearCacheStats getNearCacheStats()


Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.