Uses of Interface
com.ocient.util.CompletableFutures.Result
Packages that use CompletableFutures.Result
-
Uses of CompletableFutures.Result in com.ocient.transport
Subinterfaces of CompletableFutures.Result in com.ocient.transportModifier and TypeInterfaceDescriptioninterfaceA specialization of theCompletableFutures.Resultinterface that represents the result of an I/O operation.Classes in com.ocient.transport that implement CompletableFutures.ResultModifier and TypeClassDescriptionstatic classstatic class -
Uses of CompletableFutures.Result in com.ocient.util
Subinterfaces of CompletableFutures.Result in com.ocient.utilModifier and TypeInterfaceDescriptionstatic interfaceA specialization of theCompletableFutures.Resultinterface that represents the result of an I/O operation.static interfaceA specialization of theCompletableFutures.Resultinterface that represents the result of executing a SQL query.Classes in com.ocient.util that implement CompletableFutures.ResultModifier and TypeClassDescriptionstatic classCompletableFutures.FailedResult<T,E extends Exception> A Result that represents a failed operation.static classCompletableFutures.SuccessResult<T,E extends Exception> A Result that represents a successful operation T.Methods in com.ocient.util that return CompletableFutures.ResultModifier and TypeMethodDescriptionstatic <T,E extends Exception>
CompletableFutures.Result<T,E> CompletableFutures.blockingGetResult(CompletionStage<? extends CompletableFutures.Result<T, E>> stage, Function<Throwable, E> onMarshal) Blocks until the specifiedCompletionStagecompletes and returns its result as aCompletableFutures.Resultinstance.static <T,E extends Exception>
CompletableFutures.Result<T,E> CompletableFutures.fail(E e) Returns a new instance ofCompletableFutures.Resultthat represents a failed computation with the specified exception.default <U> CompletableFutures.Result<U,E> CompletableFutures.Result.mapSuccess(Function<? super T, ? extends U> fn) Maps the success value of this Result to a new Result of a different type by applying the given function.static <T,E extends Exception>
CompletableFutures.Result<T,E> CompletableFutures.success(T item) Returns a new instance ofCompletableFutures.Resultthat represents a successful computation with the specified result.static <E extends Exception>
CompletableFutures.Result<Void,E> CompletableFutures.Result.voidResult()Returns aCompletableFutures.Resultthat represents a successful execution of an operation that does not produce a result.Methods in com.ocient.util that return types with arguments of type CompletableFutures.ResultModifier and TypeMethodDescriptionstatic <E extends Exception>
CompletionStage<CompletableFutures.Result<Void,E>> CompletableFutures.Result.voidFuture()Returns aCompletionStagethat completes successfully with aCompletableFutures.Resultthat represents a successful execution of an operation that does not produce a result.Methods in com.ocient.util with parameters of type CompletableFutures.ResultModifier and TypeMethodDescriptiondefault booleanCompletableFutures.Result.equals(CompletableFutures.Result<T, E> other) Equality operator forCompletableFutures.SQLResult.Method parameters in com.ocient.util with type arguments of type CompletableFutures.ResultModifier and TypeMethodDescriptionstatic <T,E extends Exception>
CompletableFutures.Result<T,E> CompletableFutures.blockingGetResult(CompletionStage<? extends CompletableFutures.Result<T, E>> stage, Function<Throwable, E> onMarshal) Blocks until the specifiedCompletionStagecompletes and returns its result as aCompletableFutures.Resultinstance.