org.apache.openejb.util
Class Memoizer<K,V>
java.lang.Object
org.apache.openejb.util.Memoizer<K,V>
- All Implemented Interfaces:
- Computable<K,V>
public class Memoizer<K,V>
- extends Object
- implements Computable<K,V>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Memoizer
public Memoizer(Computable<K,V> c)
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.