Uses of Interface
org.pipecraft.infra.concurrent.CheckedFuture
-
Packages that use CheckedFuture Package Description org.pipecraft.infra.concurrent -
-
Uses of CheckedFuture in org.pipecraft.infra.concurrent
Classes in org.pipecraft.infra.concurrent that implement CheckedFuture Modifier and Type Class Description classAbstractCheckedFuture<V,E extends Exception>An abstract decorator onListenableFuturewhich adds checkedGet() methods which simplify Future's error handling.classCheckedFutureTransformer<S,T,E extends Exception>ACheckedFuturedecorator converting a checked future with value type S to a checked future with value type T.classImmediateFuture<V,E extends Exception>A checked listenable future that returns a predefined value or throws a predifined exception.Methods in org.pipecraft.infra.concurrent that return CheckedFuture Modifier and Type Method Description static <V,E extends Exception>
CheckedFuture<V,E>ImmediateFuture. ofError(E exception)static <V,E extends Exception>
CheckedFuture<V,E>ImmediateFuture. ofValue(V value)
-