org.smallmind.quorum.cache
Interface Cache<K,V>

All Known Subinterfaces:
LockableCache<K,V>
All Known Implementing Classes:
LockableCacheEnforcer

public interface Cache<K,V>


Method Summary
 void clear()
           
 void close()
           
 boolean exists(K key)
           
 V get(K key, Object... parameters)
           
 String getCacheName()
           
 boolean isClosed()
           
 V put(K key, V value)
           
 V putIfAbsent(K key, V value)
           
 V remove(K key)
           
 int size()
           
 

Method Detail

size

int size()

getCacheName

String getCacheName()

get

V get(K key,
      Object... parameters)

remove

V remove(K key)

put

V put(K key,
      V value)

putIfAbsent

V putIfAbsent(K key,
              V value)

exists

boolean exists(K key)

clear

void clear()

isClosed

boolean isClosed()

close

void close()


Copyright © 2012. All Rights Reserved.