Package io.riemann.riemann.client
Class Promise<T>
java.lang.Object
io.riemann.riemann.client.Promise<T>
- All Implemented Interfaces:
IBlockingDeref,IDeref,IPromise<T>
-
Field Details
-
latch
-
ref
-
-
Constructor Details
-
Promise
public Promise()
-
-
Method Details
-
rehydrate
- Throws:
IOException
-
deliver
-
deref
-
deref
- Specified by:
derefin interfaceIPromise<T>- Throws:
IOException
-
deref
- Specified by:
derefin interfaceIPromise<T>- Throws:
IOException
-
deref
- Specified by:
derefin interfaceIBlockingDeref- Throws:
IOException
-
unsafeDeref
- Specified by:
unsafeDerefin interfaceIPromise<T>- Throws:
IOException
-
map
-