Uses of Interface
com.ocient.util.CompletableFutures.IOResult
Packages that use CompletableFutures.IOResult
-
Uses of CompletableFutures.IOResult in com.ocient.util
Methods in com.ocient.util that return CompletableFutures.IOResultModifier and TypeMethodDescriptionstatic <T> CompletableFutures.IOResult<T>CompletableFutures.blockingGetIOResult(CompletionStage<CompletableFutures.IOResult<T>> stage) Blocks until the specifiedCompletionStagecompletes and returns its result as anCompletableFutures.IOResultinstance.static <T> CompletableFutures.IOResult<T>CompletableFutures.IOResult.fail(IOException e) Creates a new instance ofIOResultthat represents a failed I/O operation.static <T> CompletableFutures.IOResult<T>CompletableFutures.IOResult.failOrMarshal(Throwable throwable) Returns a new Result object that represents a failed operation with the givenIOException.default <U> CompletableFutures.IOResult<U>CompletableFutures.IOResult.flatMapSuccess(Function<? super T, ? extends CompletableFutures.IOResult<U>> fn) Maps the success value of this IOResult to theCompletableFutures.IOResulttype returned from the given function.default <U> CompletableFutures.IOResult<U>CompletableFutures.IOResult.mapSuccess(Function<? super T, ? extends U> fn) static <T> CompletableFutures.IOResult<T>CompletableFutures.IOResult.success(T item) Creates a new instance ofIOResultthat represents a successful I/O operation.static CompletableFutures.IOResult<Void>CompletableFutures.IOResult.voidResult()Returns anCompletableFutures.IOResultthat represents a successful execution of a I/O operation that does not produce a result.Methods in com.ocient.util that return types with arguments of type CompletableFutures.IOResultModifier and TypeMethodDescriptionstatic <T> CompletionStage<CompletableFutures.IOResult<T>>CompletableFutures.IOResult.failAsync(IOException e) Creates a new completed stage that represents a failed execution of an I/O operation.static <T> CompletionStage<CompletableFutures.IOResult<T>>CompletableFutures.IOResult.failOrMarshalAsync(Throwable throwable) Returns a new completed staged that represents a failed operation with the givenIOException.static <T> CompletionStage<CompletableFutures.IOResult<T>>CompletableFutures.IOResult.successAsync(T item) Creates a new completed stage that represents a successful execution of an I/O operation.CompletableFutures.IOResult.voidFuture()Returns aCompletionStageinstance that completes successfully with aCompletableFutures.SQLResultthat represents a successful execution of a I/O operation that does not produce a result.Method parameters in com.ocient.util with type arguments of type CompletableFutures.IOResultModifier and TypeMethodDescriptionstatic <T> CompletableFutures.IOResult<T>CompletableFutures.blockingGetIOResult(CompletionStage<CompletableFutures.IOResult<T>> stage) Blocks until the specifiedCompletionStagecompletes and returns its result as anCompletableFutures.IOResultinstance.default <U> CompletableFutures.IOResult<U>CompletableFutures.IOResult.flatMapSuccess(Function<? super T, ? extends CompletableFutures.IOResult<U>> fn) Maps the success value of this IOResult to theCompletableFutures.IOResulttype returned from the given function.