# Uses of Interface
com.ocient.util.CompletableFutures.IOResult

Packages that use CompletableFutures.IOResult
Package
Description
com.ocient.util

## Uses of CompletableFutures.IOResult in com.ocient.util

Methods in com.ocient.util that return CompletableFutures.IOResult
Modifier and Type
Method
Description
`static <T> CompletableFutures.IOResult<T>`
CompletableFutures.`blockingGetIOResult(CompletionStage<CompletableFutures.IOResult<T>> stage)`
Blocks until the specified `CompletionStage` completes and returns its result as an `CompletableFutures.IOResult` instance.
`static <T> CompletableFutures.IOResult<T>`
CompletableFutures.IOResult.`fail(IOException e)`
Creates a new instance of `IOResult` that 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 given `IOException`.
`default <U> CompletableFutures.IOResult<U>`
CompletableFutures.IOResult.`flatMapSuccess(Function<? super T,? extends CompletableFutures.IOResult<U>> fn)`
Maps the success value of this IOResult to the `CompletableFutures.IOResult` type 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 of `IOResult` that represents a successful I/O operation.
`static CompletableFutures.IOResult<Void>`
CompletableFutures.IOResult.`voidResult()`
Returns an `CompletableFutures.IOResult` that 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.IOResult
Modifier and Type
Method
Description
`static <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 given `IOException`.
`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.
`static CompletionStage<CompletableFutures.IOResult<Void>>`
CompletableFutures.IOResult.`voidFuture()`
Returns a `CompletionStage` instance that completes successfully with a `CompletableFutures.SQLResult` that 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.IOResult
Modifier and Type
Method
Description
`static <T> CompletableFutures.IOResult<T>`
CompletableFutures.`blockingGetIOResult(CompletionStage<CompletableFutures.IOResult<T>> stage)`
Blocks until the specified `CompletionStage` completes and returns its result as an `CompletableFutures.IOResult` instance.
`default <U> CompletableFutures.IOResult<U>`
CompletableFutures.IOResult.`flatMapSuccess(Function<? super T,? extends CompletableFutures.IOResult<U>> fn)`
Maps the success value of this IOResult to the `CompletableFutures.IOResult` type returned from the given function.