| Modifier and Type | Field and Description |
|---|---|
CountDownLatch |
latch |
AtomicReference |
ref |
| Constructor and Description |
|---|
Promise() |
public final CountDownLatch latch
public final AtomicReference ref
public T deref() throws IOException
public T deref(long time, TimeUnit unit) throws IOException
deref in interface IPromise<T>IOExceptionpublic T deref(long time, TimeUnit unit, T timeoutValue) throws IOException
deref in interface IPromise<T>IOExceptionCopyright © 2014. All rights reserved.