public interface IPromise<T> extends IDeref, IBlockingDeref
| Modifier and Type | Method and Description |
|---|---|
void |
deliver(Object value) |
T |
deref() |
T |
deref(long time,
TimeUnit unit) |
T |
deref(long time,
TimeUnit unit,
T timeoutValue) |
<T2> IPromise<T2> |
map(Fn2<T,T2> f) |
Object |
unsafeDeref(long time,
TimeUnit unit,
Object timeoutValue) |
derefvoid deliver(Object value)
T deref() throws IOException
deref in interface IDerefIOExceptionT deref(long time, TimeUnit unit) throws IOException
IOExceptionT deref(long time, TimeUnit unit, T timeoutValue) throws IOException
IOExceptionObject unsafeDeref(long time, TimeUnit unit, Object timeoutValue) throws IOException
IOExceptionCopyright © 2015. All rights reserved.