Interface OortObject.Result<R>
- Type Parameters:
R
- the result type
- All Known Implementing Classes:
OortObject.Result.Deferred
- Enclosing class:
OortObject<T>
public static interface OortObject.Result<R>
An asynchronous result.
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic class
Implementation ofOortObject.Result
that allows applications to block, waiting for the result, viaOortObject.Result.Deferred.get(long, TimeUnit)
. -
Method Summary
-
Method Details
-
onResult
Callback method invoked when the result is available.
- Parameters:
result
- the result object
-