Package com.googlecode.objectify.impl
Class ResultAdapter<T>
java.lang.Object
com.googlecode.objectify.impl.ResultAdapter<T>
- All Implemented Interfaces:
Result<T>
public class ResultAdapter<T> extends Object implements Result<T>
Adapts a Future object to a (much more convenient) Result object.
- Author:
- Jeff Schnitzer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <S> ResultAdapter<S>
Cuts out some typingnow()
Waits if necessary for the computation to complete, and then retrieves its result.
-
Constructor Details
-
ResultAdapter
-
-
Method Details