A C E F G I O R W 

A

asyncExec() - Method in interface ch.powerunit.extensions.async.lang.WaitResultBuilder5
Create and start the async execution of the CompletableFuture using ForkJoinPool.commonPool().
asyncExec(Executor) - Method in class ch.powerunit.extensions.async.impl.WaitResultImpl
 
asyncExec(Executor) - Method in interface ch.powerunit.extensions.async.lang.WaitResultBuilder5
Create and start the async execution of the CompletableFuture.

C

call() - Method in class ch.powerunit.extensions.async.impl.WaitResultImpl
 
ch.powerunit.extensions.async - package ch.powerunit.extensions.async
 
ch.powerunit.extensions.async.impl - package ch.powerunit.extensions.async.impl
 
ch.powerunit.extensions.async.lang - package ch.powerunit.extensions.async.lang
 

E

every(int, TimeUnit) - Method in class ch.powerunit.extensions.async.impl.WaitResultImpl
 
every(int, TimeUnit) - Method in interface ch.powerunit.extensions.async.lang.WaitResultBuilder4
Specify the amount of time between retry.
expecting(Predicate<T>) - Method in class ch.powerunit.extensions.async.impl.WaitResultImpl
 
expecting(Predicate<T>) - Method in interface ch.powerunit.extensions.async.lang.WaitResultBuilder2
Specify the condition that accept the result.

F

finish() - Method in interface ch.powerunit.extensions.async.lang.WaitResultBuilder5
Directly wait for the result of this execution.
finishWithAResult() - Method in interface ch.powerunit.extensions.async.lang.WaitResultBuilder5
Directly wait for a positive result of this execution.

G

get() - Method in class ch.powerunit.extensions.async.impl.WaitResultImpl
 

I

ignoreException() - Method in interface ch.powerunit.extensions.async.lang.WaitResultBuilder1
Ignore any error during execution of the callable.
ignoreException(boolean) - Method in class ch.powerunit.extensions.async.impl.WaitResultImpl
 
ignoreException(boolean) - Method in interface ch.powerunit.extensions.async.lang.WaitResultBuilder1
Ignore any error during execution of the callable and define if there are not result and an exception at last operation if this exception must be thrown.

O

of(Callable<T>) - Static method in class ch.powerunit.extensions.async.WaitResult
Start the builder to create an instance of CompletableFuture based on the result of the received action, with repetition until some condition.
on(T) - Static method in class ch.powerunit.extensions.async.WaitResult
Start the builder to create an instance of CompletableFuture based on repeated control on the mutable object.
onCondition(Supplier<Boolean>) - Static method in class ch.powerunit.extensions.async.WaitResult
Start the builder to create an instance of CompletableFuture based on repeated control on a method returning a boolean.

R

repeat(int) - Method in class ch.powerunit.extensions.async.impl.WaitResultImpl
 
repeat(int) - Method in interface ch.powerunit.extensions.async.lang.WaitResultBuilder3
Specify the maximal number of retry.
repeatOnlyOnce() - Method in interface ch.powerunit.extensions.async.lang.WaitResultBuilder3
Specify that only one retry will be done (so only one execution and one validation).

W

WaitResult - Class in ch.powerunit.extensions.async
This class is the entry point for this library to support async operation inside test.
WaitResultBuilder<T> - Interface in ch.powerunit.extensions.async.lang
Used internally.
WaitResultBuilder1<T> - Interface in ch.powerunit.extensions.async.lang
First Step of the builder of CompletableFuture to skip, if necessary, the error.
WaitResultBuilder2<T> - Interface in ch.powerunit.extensions.async.lang
Second Step of the builder of CompletableFuture to specify the condition to accept a result.
WaitResultBuilder3<T> - Interface in ch.powerunit.extensions.async.lang
Third Step of the builder of CompletableFuture to specify the maximal number of retry.
WaitResultBuilder4<T> - Interface in ch.powerunit.extensions.async.lang
Fourth Step of the builder of CompletableFuture to specify the amount of time between the retry.
WaitResultBuilder5<T> - Interface in ch.powerunit.extensions.async.lang
Last Step of the builder of CompletableFuture to create the completable operation it self.
WaitResultImpl<T> - Class in ch.powerunit.extensions.async.impl
 
WaitResultImpl(Callable<T>) - Constructor for class ch.powerunit.extensions.async.impl.WaitResultImpl
 
A C E F G I O R W 
Skip navigation links

Copyright © 2019. All rights reserved.