org.apache.cassandra.utils
Interface ICachetable<K,V>

All Known Implementing Classes:
Cachetable

public interface ICachetable<K,V>


Method Summary
 boolean containsKey(K key)
           
 boolean containsValue(V value)
           
 V get(K key)
           
 boolean isEmpty()
           
 java.util.Set<K> keySet()
           
 void put(K key, V value)
           
 void put(K key, V value, ICacheExpungeHook<K,V> hook)
           
 V remove(K key)
           
 void shutdown()
           
 int size()
           
 

Method Detail

put

void put(K key,
         V value)

put

void put(K key,
         V value,
         ICacheExpungeHook<K,V> hook)

get

V get(K key)

remove

V remove(K key)

size

int size()

containsKey

boolean containsKey(K key)

containsValue

boolean containsValue(V value)

isEmpty

boolean isEmpty()

keySet

java.util.Set<K> keySet()

shutdown

void shutdown()


Copyright © 2009 The Apache Software Foundation