| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorc.runtime.Kilim.PausableCallable<V>
orc.runtime.Kilim.Promise<V>
public static class Kilim.Promise<V>
Wrap a callable in a lazy, concurrency-safe promise. FIXME: if the callable exits, waiters will NOT be notified.
| Constructor Summary | |
|---|---|
| Kilim.Promise(Kilim.PausableCallable<V> thunk) | |
| Method Summary | |
|---|---|
|  V | call() | 
| Methods inherited from class orc.runtime.Kilim.PausableCallable | 
|---|
| call | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public Kilim.Promise(Kilim.PausableCallable<V> thunk)
| Method Detail | 
|---|
public V call()
       throws kilim.Pausable,
              java.lang.Exception
call in class Kilim.PausableCallable<V>kilim.Pausable
java.lang.Exception| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||