org.apache.openejb.util
Class Memoizer<K,V>

java.lang.Object
  extended by org.apache.openejb.util.Memoizer<K,V>
All Implemented Interfaces:
Computable<K,V>

public class Memoizer<K,V>
extends Object
implements Computable<K,V>


Constructor Summary
Memoizer(Computable<K,V> c)
           
 
Method Summary
 V compute(K key)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Memoizer

public Memoizer(Computable<K,V> c)
Method Detail

compute

public V compute(K key)
          throws InterruptedException
Specified by:
compute in interface Computable<K,V>
Throws:
InterruptedException


Copyright © 1999-2013 The Apache OpenEJB development community. All Rights Reserved.