it.biobytes.ammentos.cache
Class LookupCache<T>

java.lang.Object
  extended by it.biobytes.ammentos.cache.LookupCache<T>

public class LookupCache<T>
extends java.lang.Object

Author:
davide

Constructor Summary
LookupCache()
          Creates a new instance of LookupCache
 
Method Summary
 void clear()
           
 T lookup(java.lang.Object key)
           
 void removeKey(java.lang.Object key)
           
 void store(T obj)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LookupCache

public LookupCache()
Creates a new instance of LookupCache

Method Detail

store

public void store(T obj)
           throws PersistenceException
Throws:
PersistenceException

removeKey

public void removeKey(java.lang.Object key)

lookup

public T lookup(java.lang.Object key)

clear

public void clear()