Index

A B C D E F G I L M N O P R S T U W 
All Classes and Interfaces|All Packages

A

AbstractAsyncCloseable - Class in io.activej.async.process
 
AbstractAsyncCloseable() - Constructor for class io.activej.async.process.AbstractAsyncCloseable
 
AbstractPromise<T> - Class in io.activej.promise
 
AbstractPromise() - Constructor for class io.activej.promise.AbstractPromise
 
AbstractPromise.EitherPromise<T> - Class in io.activej.promise
 
AbstractPromise.PromiseBoth<T> - Class in io.activej.promise
 
AbstractPromise.PromiseCombine<T,V,U> - Class in io.activej.promise
 
accept(T) - Method in interface io.activej.async.function.AsyncConsumer
Consumes some data asynchronously.
accept(T) - Method in interface io.activej.async.function.AsyncConsumerEx
Consumes some data asynchronously.
accept(T, Exception) - Method in interface io.activej.promise.SettableCallback
 
accept(T, U) - Method in interface io.activej.async.function.AsyncBiConsumer
 
accept(T, U) - Method in interface io.activej.async.function.AsyncBiConsumerEx
 
acceptNext(T, Exception) - Method in class io.activej.promise.AbstractPromise.EitherPromise
 
acceptNext(T, Exception) - Method in class io.activej.promise.AbstractPromise.PromiseBoth
 
acceptNext(T, Exception) - Method in class io.activej.promise.AbstractPromise.PromiseCombine
 
acceptNext(T, Exception) - Method in class io.activej.promise.NextPromise
 
acceptOther(U, Exception) - Method in class io.activej.promise.AbstractPromise.PromiseCombine
 
add(BiConsumer<A, V>, FunctionEx<R, T>, V) - Method in class io.activej.async.AsyncBuffer
 
add(BiConsumer<A, V>, V) - Method in class io.activej.async.AsyncBuffer
 
addPromise(Promise<T>, BiConsumerEx<A, T>) - Method in class io.activej.async.AsyncAccumulator
 
all() - Static method in class io.activej.promise.Promises
 
all(Promise<?>) - Static method in class io.activej.promise.Promises
 
all(Promise<?>...) - Static method in class io.activej.promise.Promises
 
all(Promise<?>, Promise<?>) - Static method in class io.activej.promise.Promises
Optimized for 2 promises.
all(Iterator<? extends Promise<?>>) - Static method in class io.activej.promise.Promises
Returns Promise that completes when all of the promises are completed.
all(List<? extends Promise<?>>) - Static method in class io.activej.promise.Promises
Returns a Promise that completes when all of the promises are completed.
all(Stream<? extends Promise<?>>) - Static method in class io.activej.promise.Promises
 
alwaysFalse() - Static method in interface io.activej.async.function.AsyncBiPredicate
Returns an AsyncBiPredicate that always returns promise of false
alwaysFalse() - Static method in interface io.activej.async.function.AsyncPredicate
Returns an AsyncPredicate that always returns promise of false
alwaysTrue() - Static method in interface io.activej.async.function.AsyncBiPredicate
Returns an AsyncBiPredicate that always returns promise of true
alwaysTrue() - Static method in interface io.activej.async.function.AsyncPredicate
Returns an AsyncPredicate that always returns promise of true
and() - Static method in class io.activej.async.function.AsyncBiPredicates
Returns an AsyncBiPredicate that always returns promise of true
and() - Static method in class io.activej.async.function.AsyncPredicates
Returns an AsyncPredicate that always returns promise of true
and(AsyncBiPredicate<? super T, ? super U>) - Method in interface io.activej.async.function.AsyncBiPredicate
Returns a composed AsyncBiPredicate that represents a logical AND of this asynchronous predicate and the other
and(AsyncBiPredicate<? super T, ? super U>) - Static method in class io.activej.async.function.AsyncBiPredicates
Returns a given asynchronous predicate
and(AsyncBiPredicate<? super T, ? super U>...) - Static method in class io.activej.async.function.AsyncBiPredicates
Returns a composed AsyncBiPredicate that represents a logical AND of all predicates in a given array
and(AsyncBiPredicate<? super T, ? super U>, AsyncBiPredicate<? super T, ? super U>) - Static method in class io.activej.async.function.AsyncBiPredicates
and(AsyncPredicate<? super T>) - Method in interface io.activej.async.function.AsyncPredicate
Returns a composed AsyncPredicate that represents a logical AND of this asynchronous predicate and the other
and(AsyncPredicate<? super T>) - Static method in class io.activej.async.function.AsyncPredicates
Returns a given asynchronous predicate
and(AsyncPredicate<? super T>...) - Static method in class io.activej.async.function.AsyncPredicates
Returns a composed AsyncPredicate that represents a logical AND of all predicates in a given array
and(AsyncPredicate<? super T>, AsyncPredicate<? super T>) - Static method in class io.activej.async.function.AsyncPredicates
and(Collection<AsyncBiPredicate<? super T, ? super U>>) - Static method in class io.activej.async.function.AsyncBiPredicates
Returns a composed AsyncBiPredicate that represents a logical AND of all predicates in a given collection
and(Collection<AsyncPredicate<? super T>>) - Static method in class io.activej.async.function.AsyncPredicates
Returns a composed AsyncPredicate that represents a logical AND of all predicates in a given collection
any() - Static method in class io.activej.promise.Promises
Returns a CompleteExceptionallyPromise with Exception, since this method doesn't accept any Promises
any(Promise<? extends T>) - Static method in class io.activej.promise.Promises
 
any(Promise<? extends T>...) - Static method in class io.activej.promise.Promises
 
any(Promise<? extends T>, Promise<? extends T>) - Static method in class io.activej.promise.Promises
Optimized for 2 promises.
any(BiPredicate<? super T, Exception>, Promise<? extends T>) - Static method in class io.activej.promise.Promises
 
any(BiPredicate<? super T, Exception>, Promise<? extends T>...) - Static method in class io.activej.promise.Promises
 
any(BiPredicate<? super T, Exception>, Promise<? extends T>, Promise<? extends T>) - Static method in class io.activej.promise.Promises
 
any(BiPredicate<? super T, Exception>, Iterator<? extends Promise<? extends T>>) - Static method in class io.activej.promise.Promises
 
any(BiPredicate<? super T, Exception>, List<? extends Promise<? extends T>>) - Static method in class io.activej.promise.Promises
 
any(BiPredicate<? super T, Exception>, Stream<? extends Promise<? extends T>>) - Static method in class io.activej.promise.Promises
 
any(Iterator<? extends Promise<? extends T>>) - Static method in class io.activej.promise.Promises
 
any(List<? extends Promise<? extends T>>) - Static method in class io.activej.promise.Promises
 
any(Stream<? extends Promise<? extends T>>) - Static method in class io.activej.promise.Promises
 
apply(T) - Method in interface io.activej.async.function.AsyncFunction
 
apply(T) - Method in interface io.activej.async.function.AsyncFunctionEx
 
apply(T, SettableCallback<R>) - Method in interface io.activej.async.function.CallbackFunction
 
apply(T, SettableCallback<R>) - Method in interface io.activej.async.function.CallbackFunctionEx
 
apply(T, U) - Method in interface io.activej.async.function.AsyncBiFunction
 
apply(T, U) - Method in interface io.activej.async.function.AsyncBiFunctionEx
 
apply(T, U, SettableCallback<R>) - Method in interface io.activej.async.function.CallbackBiFunction
 
apply(T, U, SettableCallback<R>) - Method in interface io.activej.async.function.CallbackBiFunctionEx
 
asPromises(AsyncSupplier<? extends T>...) - Static method in class io.activej.promise.Promises
Transforms an AsyncSupplier tasks to a collection of Promises.
asPromises(Iterable<? extends AsyncSupplier<? extends T>>) - Static method in class io.activej.promise.Promises
Transforms an Iterable of AsyncSupplier tasks to a collection of Promises.
asPromises(Iterator<? extends AsyncSupplier<? extends T>>) - Static method in class io.activej.promise.Promises
Transforms a collection of AsyncSupplier tasks to a collection of Promises.
asPromises(Stream<? extends AsyncSupplier<? extends T>>) - Static method in class io.activej.promise.Promises
Transforms a Stream of AsyncSupplier tasks to a collection of Promises.
async() - Method in class io.activej.promise.AbstractPromise
 
async() - Method in class io.activej.promise.CompleteExceptionallyPromise
 
async() - Method in class io.activej.promise.CompletePromise
 
async() - Method in interface io.activej.promise.Promise
Ensures that Promise completes asynchronously: if this Promise is already completed, its completion will be posted to the next reactor tick.
AsyncAccumulator<A> - Class in io.activej.async
 
AsyncAccumulator.Builder - Class in io.activej.async
 
AsyncBiConsumer<T,U> - Interface in io.activej.async.function
 
AsyncBiConsumerEx<T,U> - Interface in io.activej.async.function
 
AsyncBiConsumers - Class in io.activej.async.function
 
AsyncBiConsumers() - Constructor for class io.activej.async.function.AsyncBiConsumers
 
AsyncBiFunction<T,U,R> - Interface in io.activej.async.function
 
AsyncBiFunctionEx<T,U,R> - Interface in io.activej.async.function
 
AsyncBiFunctions - Class in io.activej.async.function
 
AsyncBiFunctions() - Constructor for class io.activej.async.function.AsyncBiFunctions
 
AsyncBiPredicate<T,U> - Interface in io.activej.async.function
 
AsyncBiPredicateEx<T,U> - Interface in io.activej.async.function
 
AsyncBiPredicates - Class in io.activej.async.function
 
AsyncBiPredicates() - Constructor for class io.activej.async.function.AsyncBiPredicates
 
AsyncBuffer<A,R> - Class in io.activej.async
 
AsyncBuffer(AsyncFunction<A, R>, Supplier<A>) - Constructor for class io.activej.async.AsyncBuffer
 
AsyncCloseable - Interface in io.activej.async.process
Describes methods that are used to handle exceptional behaviour or to handle closing.
AsyncConsumer<T> - Interface in io.activej.async.function
Represents an asynchronous consumer that consumes data items.
AsyncConsumerEx<T> - Interface in io.activej.async.function
Represents an asynchronous consumer that consumes data items.
AsyncConsumers - Class in io.activej.async.function
 
AsyncConsumers() - Constructor for class io.activej.async.function.AsyncConsumers
 
AsyncExecutor - Interface in io.activej.async.process
 
AsyncExecutors - Class in io.activej.async.process
 
AsyncExecutors() - Constructor for class io.activej.async.process.AsyncExecutors
 
AsyncFunction<T,R> - Interface in io.activej.async.function
 
AsyncFunctionEx<T,R> - Interface in io.activej.async.function
 
AsyncFunctions - Class in io.activej.async.function
 
AsyncFunctions() - Constructor for class io.activej.async.function.AsyncFunctions
 
AsyncPredicate<T> - Interface in io.activej.async.function
 
AsyncPredicateEx<T> - Interface in io.activej.async.function
 
AsyncPredicates - Class in io.activej.async.function
 
AsyncPredicates() - Constructor for class io.activej.async.function.AsyncPredicates
 
AsyncRunnable - Interface in io.activej.async.function
 
AsyncRunnableEx - Interface in io.activej.async.function
 
AsyncRunnables - Class in io.activej.async.function
 
AsyncRunnables() - Constructor for class io.activej.async.function.AsyncRunnables
 
AsyncSupplier<T> - Interface in io.activej.async.function
Represents asynchronous supplier that returns Promise of some data.
AsyncSupplierEx<T> - Interface in io.activej.async.function
Represents asynchronous supplier that returns Promise of some data.
AsyncSuppliers - Class in io.activej.async.function
 
AsyncSuppliers() - Constructor for class io.activej.async.function.AsyncSuppliers
 
await(Promise<T>) - Static method in class io.activej.promise.TestUtils
 
await(Promise<T>...) - Static method in class io.activej.promise.TestUtils
 
awaitException(Promise<T>) - Static method in class io.activej.promise.TestUtils
 
awaitException(Promise<T>...) - Static method in class io.activej.promise.TestUtils
 

B

both(Promise<?>) - Method in class io.activej.promise.AbstractPromise
 
both(Promise<?>) - Method in class io.activej.promise.CompleteExceptionallyPromise
 
both(Promise<?>) - Method in class io.activej.promise.CompletePromise
 
both(Promise<?>) - Method in interface io.activej.promise.Promise
Returns a new Promise when both this and provided other Promises complete.
buffer(int, int, AsyncBiConsumer<T, U>) - Static method in class io.activej.async.function.AsyncBiConsumers
 
buffer(int, int, AsyncBiFunction<T, U, R>) - Static method in class io.activej.async.function.AsyncBiFunctions
 
buffer(int, int, AsyncBiPredicate<T, U>) - Static method in class io.activej.async.function.AsyncBiPredicates
 
buffer(int, int, AsyncConsumer<T>) - Static method in class io.activej.async.function.AsyncConsumers
 
buffer(int, int, AsyncFunction<T, R>) - Static method in class io.activej.async.function.AsyncFunctions
 
buffer(int, int, AsyncPredicate<T>) - Static method in class io.activej.async.function.AsyncPredicates
 
buffer(int, int, AsyncRunnable) - Static method in class io.activej.async.function.AsyncRunnables
 
buffer(int, int, AsyncSupplier<T>) - Static method in class io.activej.async.function.AsyncSuppliers
 
buffer(AsyncBiConsumer<T, U>) - Static method in class io.activej.async.function.AsyncBiConsumers
 
buffer(AsyncBiFunction<T, U, R>) - Static method in class io.activej.async.function.AsyncBiFunctions
 
buffer(AsyncBiPredicate<T, U>) - Static method in class io.activej.async.function.AsyncBiPredicates
 
buffer(AsyncConsumer<T>) - Static method in class io.activej.async.function.AsyncConsumers
 
buffer(AsyncFunction<T, R>) - Static method in class io.activej.async.function.AsyncFunctions
 
buffer(AsyncPredicate<T>) - Static method in class io.activej.async.function.AsyncPredicates
 
buffer(AsyncRunnable) - Static method in class io.activej.async.function.AsyncRunnables
 
buffer(AsyncSupplier<T>) - Static method in class io.activej.async.function.AsyncSuppliers
 
buffered(int) - Static method in class io.activej.async.process.AsyncExecutors
 
buffered(int, int) - Static method in class io.activej.async.process.AsyncExecutors
 
builder(A) - Static method in class io.activej.async.AsyncAccumulator
 
builder(Reactor, AsyncSupplier<T>) - Static method in class io.activej.async.service.TaskScheduler
 
builder(Reactor, Duration) - Static method in class io.activej.promise.jmx.PromiseStats
 
builder(Duration) - Static method in class io.activej.promise.jmx.PromiseStats
 
Builder() - Constructor for class io.activej.promise.jmx.PromiseStats.Builder
 

C

call(Callback<? super T>) - Method in interface io.activej.promise.Promise
 
call(Callable<T>) - Method in interface io.activej.async.process.AsyncExecutor
 
CallbackBiFunction<T,U,R> - Interface in io.activej.async.function
 
CallbackBiFunctionEx<T,U,R> - Interface in io.activej.async.function
 
CallbackFunction<T,R> - Interface in io.activej.async.function
 
CallbackFunctionEx<T,R> - Interface in io.activej.async.function
 
CallbackSupplier<R> - Interface in io.activej.async.function
 
CallbackSupplierEx<R> - Interface in io.activej.async.function
 
cancelBufferedPromise(Exception) - Method in class io.activej.async.AsyncBuffer
 
cast() - Method in interface io.activej.promise.Promise
Casts this promise to a promise of some other type Promise
cast(Class<? extends U>) - Method in interface io.activej.promise.Promise
Casts this promise to a promise of some other type Promise
close() - Method in interface io.activej.async.process.AsyncCloseable
Cancels the process.
closeEx(Exception) - Method in class io.activej.async.AsyncAccumulator
 
closeEx(Exception) - Method in class io.activej.async.process.AbstractAsyncCloseable
 
closeEx(Exception) - Method in interface io.activej.async.process.AsyncCloseable
Closes process exceptionally in case an exception is thrown while executing the given process.
coalesce(AsyncRunnable) - Static method in class io.activej.async.function.AsyncRunnables
 
coalesce(AsyncSupplier<T>) - Static method in class io.activej.async.function.AsyncSuppliers
 
coalesce(Supplier<A>, BiConsumer<A, T>, AsyncFunction<A, R>) - Static method in class io.activej.promise.Promises
 
combine(Promise<? extends U>, BiFunctionEx<? super T, ? super U, ? extends V>) - Method in class io.activej.promise.AbstractPromise
 
combine(Promise<? extends U>, BiFunctionEx<? super T, ? super U, ? extends V>) - Method in class io.activej.promise.CompleteExceptionallyPromise
 
combine(Promise<? extends U>, BiFunctionEx<? super T, ? super U, ? extends V>) - Method in class io.activej.promise.CompletePromise
 
combine(Promise<? extends U>, BiFunctionEx<? super T, ? super U, ? extends V>) - Method in interface io.activej.promise.Promise
Returns a new Promise that, when this and the other given Promise both complete, is executed with the two results as arguments to the supplied function.
complete() - Method in class io.activej.async.AsyncAccumulator
 
complete() - Static method in interface io.activej.promise.Promise
Creates successfully completed Promise
complete(A) - Method in class io.activej.async.AsyncAccumulator
 
complete(T) - Method in class io.activej.promise.AbstractPromise
 
complete(T, Exception) - Method in class io.activej.promise.AbstractPromise
 
completeExceptionally(Exception) - Method in class io.activej.promise.AbstractPromise
 
CompleteExceptionallyPromise<T> - Class in io.activej.promise
Represents a Promise which is completed with an exception.
CompleteExceptionallyPromise(Exception) - Constructor for class io.activej.promise.CompleteExceptionallyPromise
 
CompleteNullPromise<T> - Class in io.activej.promise
Represents a CompletePromise with result that equals null.
CompletePromise<T> - Class in io.activej.promise
Represents a completed Promise with a result of unspecified type.
CompletePromise() - Constructor for class io.activej.promise.CompletePromise
 
CompleteResultPromise<T> - Class in io.activej.promise
Represents a CompletePromise with a result of unspecified type.
CompleteResultPromise(T) - Constructor for class io.activej.promise.CompleteResultPromise
 
create(A) - Static method in class io.activej.async.AsyncAccumulator
 
create(Duration) - Static method in class io.activej.promise.jmx.PromiseStats
 
createMBean(Reactor, Duration) - Static method in class io.activej.promise.jmx.PromiseStats
 
createRetryState() - Method in interface io.activej.promise.RetryPolicy
 
createRetryState() - Method in class io.activej.promise.RetryPolicy.DelegatingRetryPolicy
 
createRetryState() - Method in class io.activej.promise.RetryPolicy.SimpleRetryPolicy
 
createRetryState() - Method in class io.activej.promise.RetryPolicy.StatelessRetryPolicy
 

D

delay(long) - Static method in class io.activej.promise.Promises
 
delay(long, Promise<T>) - Static method in class io.activej.promise.Promises
Delays completion of provided promise for the defined period of time.
delay(long, T) - Static method in class io.activej.promise.Promises
 
delay(ReactorScheduler, long) - Static method in class io.activej.promise.Promises
 
delay(ReactorScheduler, long, Promise<T>) - Static method in class io.activej.promise.Promises
 
delay(ReactorScheduler, long, T) - Static method in class io.activej.promise.Promises
 
delay(ReactorScheduler, Duration) - Static method in class io.activej.promise.Promises
 
delay(ReactorScheduler, Duration, Promise<T>) - Static method in class io.activej.promise.Promises
 
delay(ReactorScheduler, Duration, T) - Static method in class io.activej.promise.Promises
 
delay(Duration) - Static method in class io.activej.promise.Promises
 
delay(Duration, Promise<T>) - Static method in class io.activej.promise.Promises
 
delay(Duration, T) - Static method in class io.activej.promise.Promises
 
DelegatingRetryPolicy(RetryPolicy<DS>) - Constructor for class io.activej.promise.RetryPolicy.DelegatingRetryPolicy
 
describe() - Method in class io.activej.promise.AbstractPromise
 
describe() - Method in class io.activej.promise.AbstractPromise.EitherPromise
 
describe() - Method in class io.activej.promise.AbstractPromise.PromiseBoth
 
describe() - Method in class io.activej.promise.AbstractPromise.PromiseCombine
 
describe() - Method in class io.activej.promise.SettablePromise
 
direct() - Static method in class io.activej.async.process.AsyncExecutors
 
doBuild() - Method in class io.activej.async.AsyncAccumulator.Builder
 
doBuild() - Method in class io.activej.async.service.TaskScheduler.Builder
 
doBuild() - Method in class io.activej.promise.jmx.PromiseStats.Builder
 
doCreateRetryState() - Method in class io.activej.promise.RetryPolicy.DelegatingRetryPolicy
 
doSanitize(T, Exception) - Method in class io.activej.async.process.AbstractAsyncCloseable
 

E

either(Promise<? extends T>) - Method in class io.activej.promise.AbstractPromise
 
either(Promise<? extends T>) - Method in class io.activej.promise.CompleteExceptionallyPromise
 
either(Promise<? extends T>) - Method in class io.activej.promise.CompletePromise
 
either(Promise<? extends T>) - Method in interface io.activej.promise.Promise
Returns the Promise which was completed first.
EitherPromise() - Constructor for class io.activej.promise.AbstractPromise.EitherPromise
 
exception - Variable in class io.activej.promise.AbstractPromise
 
execute(AsyncSupplier<T>) - Method in interface io.activej.async.process.AsyncExecutor
 
ExecutorFileService - Class in io.activej.async.file
 
ExecutorFileService(Reactor, Executor) - Constructor for class io.activej.async.file.ExecutorFileService
 
exponentialBackoff(long, long) - Static method in interface io.activej.promise.RetryPolicy
 
exponentialBackoff(long, long, double) - Static method in interface io.activej.promise.RetryPolicy
 
exponentialBackoff(Duration, Duration) - Static method in interface io.activej.promise.RetryPolicy
 
exponentialBackoff(Duration, Duration, double) - Static method in interface io.activej.promise.RetryPolicy
 

F

first(AsyncSupplier<? extends T>...) - Static method in class io.activej.promise.Promises
Picks the first Promise that was completed without exception.
first(Iterable<? extends AsyncSupplier<? extends T>>) - Static method in class io.activej.promise.Promises
 
first(BiPredicate<? super T, ? super Exception>, AsyncSupplier<? extends T>...) - Static method in class io.activej.promise.Promises
 
first(BiPredicate<? super T, ? super Exception>, Iterable<? extends AsyncSupplier<? extends T>>) - Static method in class io.activej.promise.Promises
 
first(BiPredicate<? super T, ? super Exception>, Iterator<? extends Promise<? extends T>>) - Static method in class io.activej.promise.Promises
 
first(BiPredicate<? super T, ? super Exception>, Stream<? extends AsyncSupplier<? extends T>>) - Static method in class io.activej.promise.Promises
 
first(Iterator<? extends Promise<? extends T>>) - Static method in class io.activej.promise.Promises
 
first(Stream<? extends AsyncSupplier<? extends T>>) - Static method in class io.activej.promise.Promises
 
fixedDelay(long) - Static method in interface io.activej.promise.RetryPolicy
 
fixedDelay(Duration) - Static method in interface io.activej.promise.RetryPolicy
 
flush() - Method in class io.activej.async.AsyncBuffer
 

G

get() - Method in class io.activej.async.AsyncAccumulator
 
get() - Method in interface io.activej.async.function.AsyncSupplier
Gets Promise of data item asynchronously.
get() - Method in interface io.activej.async.function.AsyncSupplierEx
Gets Promise of data item asynchronously.
get(SettableCallback<R>) - Method in interface io.activej.async.function.CallbackSupplier
 
get(SettableCallback<R>) - Method in interface io.activej.async.function.CallbackSupplierEx
 
getAccumulator() - Method in class io.activej.async.AsyncAccumulator
 
getActiveCalls() - Method in class io.activej.async.AsyncBuffer
 
getActivePromises() - Method in class io.activej.async.AsyncAccumulator
 
getActivePromises() - Method in class io.activej.promise.jmx.PromiseStats
 
getBuffer() - Method in class io.activej.async.AsyncBuffer
 
getBufferedPromise() - Method in class io.activej.async.AsyncBuffer
 
getCloseable() - Method in class io.activej.async.process.AbstractAsyncCloseable
 
getCurrentDuration() - Method in class io.activej.promise.jmx.PromiseStats
 
getDuration() - Method in class io.activej.promise.jmx.PromiseStats
 
getException() - Method in class io.activej.async.process.AbstractAsyncCloseable
 
getException() - Method in class io.activej.promise.AbstractPromise
 
getException() - Method in class io.activej.promise.CompleteExceptionallyPromise
 
getException() - Method in class io.activej.promise.CompletePromise
 
getException() - Method in interface io.activej.promise.Promise
 
getExceptions() - Method in class io.activej.promise.jmx.PromiseStats
 
getInitialDelay() - Method in class io.activej.async.service.TaskScheduler
 
getInterval() - Method in class io.activej.async.service.TaskScheduler
 
getLastCompleteTime() - Method in class io.activej.promise.jmx.PromiseStats
 
getLastException() - Method in class io.activej.async.service.TaskScheduler
 
getLastStartTime() - Method in class io.activej.promise.jmx.PromiseStats
 
getPeriod() - Method in class io.activej.async.service.TaskScheduler
 
getProcessCompletion() - Method in interface io.activej.async.process.ReactiveProcess
 
getPromise() - Method in class io.activej.promise.ResultWithPromise
 
getResult() - Method in class io.activej.promise.AbstractPromise
 
getResult() - Method in class io.activej.promise.CompleteExceptionallyPromise
 
getResult() - Method in class io.activej.promise.CompleteNullPromise
 
getResult() - Method in class io.activej.promise.CompleteResultPromise
 
getResult() - Method in interface io.activej.promise.Promise
 
getResult() - Method in class io.activej.promise.ResultWithPromise
 
getStats() - Method in class io.activej.async.service.TaskScheduler
 
getTry() - Method in class io.activej.promise.AbstractPromise
 
getTry() - Method in class io.activej.promise.CompleteExceptionallyPromise
 
getTry() - Method in class io.activej.promise.CompletePromise
 
getTry() - Method in interface io.activej.promise.Promise
 

I

IFileService - Interface in io.activej.async.file
 
immediate() - Static method in interface io.activej.async.service.TaskScheduler.Schedule
Schedules immediate execution.
immediateRetry() - Static method in interface io.activej.promise.RetryPolicy
 
interval(long, Promise<T>) - Static method in class io.activej.promise.Promises
 
interval(ReactorScheduler, long, Promise<T>) - Static method in class io.activej.promise.Promises
 
interval(ReactorScheduler, Duration, Promise<T>) - Static method in class io.activej.promise.Promises
 
interval(Duration, Promise<T>) - Static method in class io.activej.promise.Promises
 
io.activej.async - package io.activej.async
 
io.activej.async.file - package io.activej.async.file
 
io.activej.async.function - package io.activej.async.function
 
io.activej.async.process - package io.activej.async.process
 
io.activej.async.service - package io.activej.async.service
 
io.activej.promise - package io.activej.promise
 
io.activej.promise.jmx - package io.activej.promise.jmx
 
isActive() - Method in class io.activej.async.AsyncBuffer
 
isBuffered() - Method in class io.activej.async.AsyncBuffer
 
isClosed() - Method in class io.activej.async.process.AbstractAsyncCloseable
 
isComplete() - Method in class io.activej.promise.AbstractPromise
 
isComplete() - Method in class io.activej.promise.CompleteExceptionallyPromise
 
isComplete() - Method in class io.activej.promise.CompletePromise
 
isComplete() - Method in interface io.activej.promise.Promise
 
isComplete() - Static method in class io.activej.promise.PromisePredicates
 
isComplete() - Method in interface io.activej.promise.SettableCallback
 
isEnabled() - Method in class io.activej.async.service.TaskScheduler
 
isException() - Method in class io.activej.promise.AbstractPromise
 
isException() - Method in class io.activej.promise.CompleteExceptionallyPromise
 
isException() - Method in class io.activej.promise.CompletePromise
 
isException() - Method in interface io.activej.promise.Promise
 
isException() - Static method in class io.activej.promise.PromisePredicates
 
isException(Class<? extends Exception>) - Static method in class io.activej.promise.PromisePredicates
 
isException(Predicate<Exception>) - Static method in class io.activej.promise.PromisePredicates
 
isResult() - Method in class io.activej.promise.AbstractPromise
 
isResult() - Method in class io.activej.promise.CompleteExceptionallyPromise
 
isResult() - Method in class io.activej.promise.CompletePromise
 
isResult() - Method in interface io.activej.promise.Promise
 
isResult() - Static method in class io.activej.promise.PromisePredicates
 
isResult(Predicate<? super T>) - Static method in class io.activej.promise.PromisePredicates
 
isResultOrException(Predicate<? super T>) - Static method in class io.activej.promise.PromisePredicates
 

L

lastError - Variable in class io.activej.promise.RetryPolicy.SimpleRetryState
 
loop(T, Predicate<T>, FunctionEx<T, Promise<T>>) - Static method in class io.activej.promise.Promises
Repeats provided FunctionEx until can pass Predicate test.

M

map(BiFunctionEx<? super T, Exception, ? extends U>) - Method in interface io.activej.promise.Promise
Returns a new Promise which is obtained by mapping a result and an exception of this promise to some other value.
map(BiFunctionEx<? super T, Exception, ? extends U>) - Method in class io.activej.promise.AbstractPromise
 
map(BiFunctionEx<? super T, Exception, ? extends U>) - Method in class io.activej.promise.CompleteExceptionallyPromise
 
map(BiFunctionEx<? super T, Exception, ? extends U>) - Method in class io.activej.promise.CompletePromise
 
map(FunctionEx<? super T, ? extends U>) - Method in class io.activej.promise.AbstractPromise
 
map(FunctionEx<? super T, ? extends U>) - Method in class io.activej.promise.CompleteExceptionallyPromise
 
map(FunctionEx<? super T, ? extends U>) - Method in class io.activej.promise.CompletePromise
 
map(FunctionEx<? super T, ? extends U>) - Method in interface io.activej.promise.Promise
Returns a new Promise which is obtained by mapping a result of this promise to some other value.
map(FunctionEx<? super T, ? extends U>, FunctionEx<Exception, ? extends U>) - Method in class io.activej.promise.AbstractPromise
 
map(FunctionEx<? super T, ? extends U>, FunctionEx<Exception, ? extends U>) - Method in class io.activej.promise.CompleteExceptionallyPromise
 
map(FunctionEx<? super T, ? extends U>, FunctionEx<Exception, ? extends U>) - Method in class io.activej.promise.CompletePromise
 
map(FunctionEx<? super T, ? extends U>, FunctionEx<Exception, ? extends U>) - Method in interface io.activej.promise.Promise
Returns a new Promise which is obtained by mapping either a result or an exception of this promise to some other values.
mapException(FunctionEx<Exception, Exception>) - Method in class io.activej.promise.AbstractPromise
 
mapException(FunctionEx<Exception, Exception>) - Method in class io.activej.promise.CompleteExceptionallyPromise
 
mapException(FunctionEx<Exception, Exception>) - Method in class io.activej.promise.CompletePromise
 
mapException(FunctionEx<Exception, Exception>) - Method in interface io.activej.promise.Promise
Returns a new Promise which is obtained by mapping an exception of this promise to some other exception.
mapException(Class<E>, FunctionEx<? super E, ? extends Exception>) - Method in class io.activej.promise.AbstractPromise
 
mapException(Class<E>, FunctionEx<? super E, ? extends Exception>) - Method in class io.activej.promise.CompleteExceptionallyPromise
 
mapException(Class<E>, FunctionEx<? super E, ? extends Exception>) - Method in class io.activej.promise.CompletePromise
 
mapException(Class<E>, FunctionEx<? super E, ? extends Exception>) - Method in interface io.activej.promise.Promise
Returns a new Promise which is obtained by mapping an exception of this promise to some other exception.
mapTuple(TupleConstructor1<R1, R>, Function<? super T, T1>, Function<T1, Promise<R1>>) - Static method in class io.activej.promise.Promises
 
mapTuple(TupleConstructor2<R1, R2, R>, Function<? super T, T1>, Function<T1, Promise<R1>>, Function<? super T, T2>, Function<T2, Promise<R2>>) - Static method in class io.activej.promise.Promises
 
mapTuple(TupleConstructor3<R1, R2, R3, R>, Function<? super T, T1>, Function<T1, Promise<R1>>, Function<? super T, T2>, Function<T2, Promise<R2>>, Function<? super T, T3>, Function<T3, Promise<R3>>) - Static method in class io.activej.promise.Promises
 
mapTuple(TupleConstructor4<R1, R2, R3, R4, R>, Function<? super T, T1>, Function<T1, Promise<R1>>, Function<? super T, T2>, Function<T2, Promise<R2>>, Function<? super T, T3>, Function<T3, Promise<R3>>, Function<? super T, T4>, Function<T4, Promise<R4>>) - Static method in class io.activej.promise.Promises
 
mapTuple(TupleConstructor5<R1, R2, R3, R4, R5, R>, Function<? super T, T1>, Function<T1, Promise<R1>>, Function<? super T, T2>, Function<T2, Promise<R2>>, Function<? super T, T3>, Function<T3, Promise<R3>>, Function<? super T, T4>, Function<T4, Promise<R4>>, Function<? super T, T5>, Function<T5, Promise<R5>>) - Static method in class io.activej.promise.Promises
 
mapTuple(TupleConstructor6<R1, R2, R3, R4, R5, R6, R>, Function<? super T, T1>, Function<T1, Promise<R1>>, Function<? super T, T2>, Function<T2, Promise<R2>>, Function<? super T, T3>, Function<T3, Promise<R3>>, Function<? super T, T4>, Function<T4, Promise<R4>>, Function<? super T, T5>, Function<T5, Promise<R5>>, Function<? super T, T6>, Function<T6, Promise<R6>>) - Static method in class io.activej.promise.Promises
 
monitor(Promise<T>) - Method in class io.activej.promise.jmx.PromiseStats
 

N

negate() - Method in interface io.activej.async.function.AsyncBiPredicate
Negates this AsyncBiPredicate
negate() - Method in interface io.activej.async.function.AsyncPredicate
Negates this AsyncPredicate
newPromise(BiConsumerEx<A, V>) - Method in class io.activej.async.AsyncAccumulator
 
next - Variable in class io.activej.promise.AbstractPromise
 
next(NextPromise<? super T, ?>) - Method in class io.activej.promise.AbstractPromise
 
next(NextPromise<? super T, ?>) - Method in class io.activej.promise.CompleteExceptionallyPromise
 
next(NextPromise<? super T, ?>) - Method in class io.activej.promise.CompletePromise
 
next(NextPromise<? super T, ?>) - Method in interface io.activej.promise.Promise
Calls a callback after this promise is completed, passing both a result and an exception of a promise to the callback.
NextPromise<T,R> - Class in io.activej.promise
Helps to create sequent chains of Promises.
NextPromise() - Constructor for class io.activej.promise.NextPromise
 
nextRetryTimestamp(long, Exception, int, long) - Method in class io.activej.promise.RetryPolicy.SimpleRetryPolicy
 
nextRetryTimestamp(long, Exception, Tuple2<S, DS>) - Method in class io.activej.promise.RetryPolicy.DelegatingRetryPolicy
 
nextRetryTimestamp(long, Exception, RetryPolicy.SimpleRetryState) - Method in class io.activej.promise.RetryPolicy.SimpleRetryPolicy
 
nextRetryTimestamp(long, Exception, S) - Method in interface io.activej.promise.RetryPolicy
 
nextRetryTimestamp(long, Exception, S, DS) - Method in class io.activej.promise.RetryPolicy.DelegatingRetryPolicy
 
nextTimestamp(long, long, long) - Method in interface io.activej.async.service.TaskScheduler.Schedule
 
noRetry() - Static method in interface io.activej.promise.RetryPolicy
 
not(AsyncBiPredicate<? super T, ? super U>) - Static method in interface io.activej.async.function.AsyncBiPredicate
Negates a given AsyncBiPredicate
not(AsyncPredicate<? super T>) - Static method in interface io.activej.async.function.AsyncPredicate
Negates a given AsyncPredicate

O

of(BiConsumerEx<? super T, ? super U>) - Static method in interface io.activej.async.function.AsyncBiConsumer
Wraps a BiConsumerEx interface.
of(BiFunctionEx<? super T, ? super U, ? extends R>) - Static method in interface io.activej.async.function.AsyncBiFunction
Wraps a BiFunctionEx interface.
of(BiPredicateEx<? super T, ? super U>) - Static method in interface io.activej.async.function.AsyncBiPredicate
Wraps a BiPredicateEx interface.
of(ConsumerEx<? super T>) - Static method in interface io.activej.async.function.AsyncConsumer
Wraps a ConsumerEx interface.
of(FunctionEx<? super T, ? extends R>) - Static method in interface io.activej.async.function.AsyncFunction
Wraps a FunctionEx interface.
of(PredicateEx<T>) - Static method in interface io.activej.async.function.AsyncPredicate
Wraps a PredicateEx interface.
of(RunnableEx) - Static method in interface io.activej.async.function.AsyncRunnable
Wraps a RunnableEx interface.
of(SupplierEx<T>) - Static method in interface io.activej.async.function.AsyncSupplier
Wraps a SupplierEx interface.
of(Consumer<Exception>) - Static method in interface io.activej.async.process.AsyncCloseable
 
of(T) - Static method in interface io.activej.promise.Promise
Creates successfully completed Promise.
of(T, Exception) - Static method in interface io.activej.promise.Promise
Creates a completed Promise from T value and Exception e parameters, any of them can be null.
of(T, Promise<V>) - Static method in class io.activej.promise.ResultWithPromise
 
ofBlocking(Executor, RunnableEx) - Static method in interface io.activej.promise.Promise
Same as Promise.ofBlocking(Executor, SupplierEx), but without a result (returned Promise is only a marker of completion).
ofBlocking(Executor, SupplierEx<? extends T>) - Static method in interface io.activej.promise.Promise
Runs some task in another thread (executed by a given Executor) and returns a Promise for it.
ofCallback(CallbackSupplierEx<T>) - Static method in interface io.activej.promise.Promise
Creates and returns a new SettablePromise that is accepted by the provided ConsumerEx of SettablePromise
ofCallback(T, Exception, CallbackBiFunctionEx<? super T, Exception, R>) - Static method in interface io.activej.promise.Promise
 
ofCallback(T, Exception, CallbackFunctionEx<? super T, R>, CallbackFunctionEx<Exception, R>) - Static method in interface io.activej.promise.Promise
 
ofCallback(T, CallbackFunctionEx<? super T, R>) - Static method in interface io.activej.promise.Promise
 
ofCompletionStage(CompletionStage<? extends T>) - Static method in interface io.activej.promise.Promise
Wraps Java CompletionStage in a Promise, running it in current reactor.
ofDelay(long) - Static method in interface io.activej.async.service.TaskScheduler.Schedule
Schedules a task after delay.
ofDelay(Duration) - Static method in interface io.activej.async.service.TaskScheduler.Schedule
Schedules a task after delay.
ofException(Exception) - Static method in interface io.activej.promise.Promise
Creates an exceptionally completed Promise.
ofExecutor(AsyncExecutor, AsyncBiConsumer<T, U>) - Static method in class io.activej.async.function.AsyncBiConsumers
 
ofExecutor(AsyncExecutor, AsyncBiFunction<T, U, R>) - Static method in class io.activej.async.function.AsyncBiFunctions
 
ofExecutor(AsyncExecutor, AsyncBiPredicate<T, U>) - Static method in class io.activej.async.function.AsyncBiPredicates
 
ofExecutor(AsyncExecutor, AsyncConsumer<T>) - Static method in class io.activej.async.function.AsyncConsumers
 
ofExecutor(AsyncExecutor, AsyncFunction<T, R>) - Static method in class io.activej.async.function.AsyncFunctions
 
ofExecutor(AsyncExecutor, AsyncPredicate<T>) - Static method in class io.activej.async.function.AsyncPredicates
 
ofExecutor(AsyncExecutor, AsyncRunnable) - Static method in class io.activej.async.function.AsyncRunnables
 
ofExecutor(AsyncExecutor, AsyncSupplier<T>) - Static method in class io.activej.async.function.AsyncSuppliers
 
ofFuture(CompletableFuture<? extends T>) - Static method in interface io.activej.promise.Promise
Creates a Promise wrapper around default Java CompletableFuture and runs it immediately.
ofFuture(Executor, Future<? extends T>) - Static method in interface io.activej.promise.Promise
Wraps Java Future in a Promise running it with given Executor.
ofInterval(long) - Static method in interface io.activej.async.service.TaskScheduler.Schedule
Schedules a task after last complete time and next task.
ofInterval(Duration) - Static method in interface io.activej.async.service.TaskScheduler.Schedule
Schedules a task after last complete time and next task.
ofMaxRecursiveCalls(int) - Static method in class io.activej.async.process.AsyncExecutors
 
ofOptional(Optional<T>) - Static method in interface io.activej.promise.Promise
Creates a new Promise of the given value
ofOptional(Optional<T>, Supplier<? extends Exception>) - Static method in interface io.activej.promise.Promise
Creates a new Promise of the given value.
ofPeriod(long) - Static method in interface io.activej.async.service.TaskScheduler.Schedule
Schedules a task in a period of current and next task.
ofPeriod(Duration) - Static method in interface io.activej.async.service.TaskScheduler.Schedule
Schedules a task in a period of current and next task.
ofReactor(Reactor) - Static method in class io.activej.async.process.AsyncExecutors
 
ofTry(Try<T>) - Static method in interface io.activej.promise.Promise
Returns a new CompletePromise or CompleteExceptionallyPromise based on the provided Try.
onCleanup() - Method in class io.activej.async.process.AbstractAsyncCloseable
 
onClosed(Exception) - Method in class io.activej.async.process.AbstractAsyncCloseable
 
or() - Static method in class io.activej.async.function.AsyncBiPredicates
Returns an AsyncBiPredicate that always returns promise of false
or() - Static method in class io.activej.async.function.AsyncPredicates
 
or(AsyncBiPredicate<? super T, ? super U>) - Method in interface io.activej.async.function.AsyncBiPredicate
Returns a composed AsyncBiPredicate that represents a logical OR of this asynchronous predicate and the other
or(AsyncBiPredicate<? super T, ? super U>) - Static method in class io.activej.async.function.AsyncBiPredicates
Returns a given asynchronous predicate
or(AsyncBiPredicate<? super T, ? super U>...) - Static method in class io.activej.async.function.AsyncBiPredicates
Returns a composed AsyncBiPredicate that represents a logical OR of all predicates in a given array
or(AsyncBiPredicate<? super T, ? super U>, AsyncBiPredicate<? super T, ? super U>) - Static method in class io.activej.async.function.AsyncBiPredicates
or(AsyncPredicate<? super T>) - Method in interface io.activej.async.function.AsyncPredicate
Returns a composed AsyncPredicate that represents a logical OR of this asynchronous predicate and the other
or(AsyncPredicate<? super T>) - Static method in class io.activej.async.function.AsyncPredicates
Returns a given asynchronous predicate
or(AsyncPredicate<? super T>...) - Static method in class io.activej.async.function.AsyncPredicates
Returns a composed AsyncPredicate that represents a logical OR of all predicates in a given array
or(AsyncPredicate<? super T>, AsyncPredicate<? super T>) - Static method in class io.activej.async.function.AsyncPredicates
or(Collection<AsyncBiPredicate<? super T, ? super U>>) - Static method in class io.activej.async.function.AsyncBiPredicates
Returns a composed AsyncBiPredicate that represents a logical OR of all predicates in a given collection
or(Collection<AsyncPredicate<? super T>>) - Static method in class io.activej.async.function.AsyncPredicates
Returns a composed AsyncPredicate that represents a logical OR of all predicates in a given collection

P

prefetch(int, AsyncSupplier<? extends T>) - Static method in class io.activej.async.function.AsyncSuppliers
 
prefetch(int, AsyncSupplier<? extends T>, AsyncSupplier<? extends T>) - Static method in class io.activej.async.function.AsyncSuppliers
 
Promise<T> - Interface in io.activej.promise
Replacement of default Java CompletionStage interface with optimized design, which allows handling different scenarios more efficiently.
PromiseBoth() - Constructor for class io.activej.promise.AbstractPromise.PromiseBoth
 
PromisePredicates - Class in io.activej.promise
 
PromisePredicates() - Constructor for class io.activej.promise.PromisePredicates
 
Promises - Class in io.activej.promise
Allows managing multiple Promises.
Promises() - Constructor for class io.activej.promise.Promises
 
PromiseStats - Class in io.activej.promise.jmx
Allows tracking stats of Promises.
PromiseStats(Reactor, ValueStats) - Constructor for class io.activej.promise.jmx.PromiseStats
 
PromiseStats.Builder - Class in io.activej.promise.jmx
 

R

ReactiveProcess - Interface in io.activej.async.process
 
ReactiveService - Interface in io.activej.async.service
This interface is for services that can be started and then stopped in the context of reactor, so it works with Promise
read(FileChannel, long, byte[], int, int) - Method in class io.activej.async.file.ExecutorFileService
 
read(FileChannel, long, byte[], int, int) - Method in interface io.activej.async.file.IFileService
 
recordStats() - Method in class io.activej.promise.jmx.PromiseStats
 
recycleToVoid(Object) - Static method in class io.activej.promise.AbstractPromise
 
reduce(A, BiConsumerEx<A, T>, FunctionEx<A, R>, int, Iterator<Promise<T>>) - Static method in class io.activej.promise.Promises
Asynchronously reduce Iterator of Promise<T>s into a Promise<R>.
reduce(A, BiConsumerEx<A, T>, FunctionEx<A, R>, Collection<Promise<T>>) - Static method in class io.activej.promise.Promises
 
reduce(A, BiConsumerEx<A, T>, FunctionEx<A, R>, Iterator<Promise<T>>) - Static method in class io.activej.promise.Promises
Asynchronously reduce Iterator of Promise<T>s into a Promise<R>.
reduce(A, BiConsumerEx<A, T>, FunctionEx<A, R>, Stream<Promise<T>>) - Static method in class io.activej.promise.Promises
 
reduce(Collector<T, A, R>, int, Iterator<Promise<T>>) - Static method in class io.activej.promise.Promises
Asynchronously reduce Iterator of Promise<T>s into a Promise<R> with the help of Collector.
repeat(AsyncSupplier<Boolean>) - Static method in class io.activej.promise.Promises
Repeats the operations of provided AsyncSupplier<Boolean> infinitely, until one of the Promises completes exceptionally or supplier returns a promise of false.
reset() - Method in class io.activej.promise.AbstractPromise
 
resetCallbacks() - Method in class io.activej.promise.AbstractPromise
 
resetStats() - Method in class io.activej.async.service.TaskScheduler
 
result - Variable in class io.activej.promise.AbstractPromise
 
ResultWithPromise<T,V> - Class in io.activej.promise
 
retry(AsyncSupplier<T>) - Static method in class io.activej.promise.Promises
 
retry(AsyncSupplier<T>, RetryPolicy<?>) - Static method in class io.activej.promise.Promises
 
retry(AsyncSupplier<T>, BiPredicate<T, Exception>, RetryPolicy<?>) - Static method in class io.activej.promise.Promises
 
retry(RetryPolicy<?>) - Static method in class io.activej.async.process.AsyncExecutors
 
retry(BiPredicate<? super T, Exception>, AsyncSupplier<T>) - Static method in class io.activej.promise.Promises
 
retryCount - Variable in class io.activej.promise.RetryPolicy.SimpleRetryState
 
retryFirstTimestamp - Variable in class io.activej.promise.RetryPolicy.SimpleRetryState
 
RetryPolicy<S> - Interface in io.activej.promise
 
RetryPolicy.DelegatingRetryPolicy<S,DS> - Class in io.activej.promise
 
RetryPolicy.SimpleRetryPolicy - Class in io.activej.promise
 
RetryPolicy.SimpleRetryState - Class in io.activej.promise
 
RetryPolicy.StatelessRetryPolicy - Class in io.activej.promise
 
reuse(AsyncRunnable) - Static method in class io.activej.async.function.AsyncRunnables
 
reuse(AsyncSupplier<? extends T>) - Static method in class io.activej.async.function.AsyncSuppliers
 
roundRobin(List<AsyncExecutor>) - Static method in class io.activej.async.process.AsyncExecutors
 
run() - Method in class io.activej.async.AsyncAccumulator
 
run() - Method in interface io.activej.async.function.AsyncRunnable
 
run() - Method in interface io.activej.async.function.AsyncRunnableEx
 
run(Promise<Void>) - Method in class io.activej.async.AsyncAccumulator
 
run(Runnable) - Method in interface io.activej.async.process.AsyncExecutor
 

S

sanitize(AsyncBiConsumerEx<? super T, U>) - Static method in interface io.activej.async.function.AsyncBiConsumer
 
sanitize(AsyncBiFunctionEx<? super T, ? super U, R>) - Static method in interface io.activej.async.function.AsyncBiFunction
 
sanitize(AsyncBiPredicateEx<? super T, ? super U>) - Static method in interface io.activej.async.function.AsyncBiPredicate
 
sanitize(AsyncConsumerEx<? super T>) - Static method in interface io.activej.async.function.AsyncConsumer
 
sanitize(AsyncFunctionEx<? super T, R>) - Static method in interface io.activej.async.function.AsyncFunction
 
sanitize(AsyncPredicateEx<T>) - Static method in interface io.activej.async.function.AsyncPredicate
 
sanitize(AsyncRunnableEx) - Static method in interface io.activej.async.function.AsyncRunnable
 
sanitize(AsyncSupplierEx<T>) - Static method in interface io.activej.async.function.AsyncSupplier
 
sanitize(Promise<T>) - Method in class io.activej.async.process.AbstractAsyncCloseable
 
schedule(long) - Static method in class io.activej.promise.Promises
 
schedule(long, Promise<T>) - Static method in class io.activej.promise.Promises
Schedules completion of the Promise so that it will be completed after the timestamp even if its operations were completed earlier.
schedule(long, T) - Static method in class io.activej.promise.Promises
 
schedule(ReactorScheduler, long) - Static method in class io.activej.promise.Promises
 
schedule(ReactorScheduler, long, Promise<T>) - Static method in class io.activej.promise.Promises
 
schedule(ReactorScheduler, long, T) - Static method in class io.activej.promise.Promises
 
schedule(ReactorScheduler, Instant) - Static method in class io.activej.promise.Promises
 
schedule(ReactorScheduler, Instant, Promise<T>) - Static method in class io.activej.promise.Promises
 
schedule(ReactorScheduler, Instant, T) - Static method in class io.activej.promise.Promises
 
schedule(Instant) - Static method in class io.activej.promise.Promises
 
schedule(Instant, Promise<T>) - Static method in class io.activej.promise.Promises
 
schedule(Instant, T) - Static method in class io.activej.promise.Promises
 
sequence() - Static method in class io.activej.promise.Promises
sequence(AsyncRunnable) - Static method in class io.activej.promise.Promises
Executes an AsyncRunnable, returning a Promise<Void> as a mark for completion
sequence(AsyncRunnable...) - Static method in class io.activej.promise.Promises
 
sequence(AsyncRunnable, AsyncRunnable) - Static method in class io.activej.promise.Promises
Executes both AsyncRunnables consequently, returning a Promise<Void> as a mark for completion
sequence(Iterable<? extends AsyncRunnable>) - Static method in class io.activej.promise.Promises
 
sequence(Iterator<? extends Promise<Void>>) - Static method in class io.activej.promise.Promises
Calls every Promise from promises in sequence and discards their results.Returns a SettablePromise with null result as a marker when all of the promises are completed.
sequence(Stream<? extends AsyncRunnable>) - Static method in class io.activej.promise.Promises
 
sequential() - Static method in class io.activej.async.process.AsyncExecutors
 
set(R) - Method in class io.activej.promise.NextPromise
 
set(R, Exception) - Method in class io.activej.promise.NextPromise
 
set(T) - Method in interface io.activej.promise.SettableCallback
 
set(T) - Method in class io.activej.promise.SettablePromise
Sets the result of this SettablePromise and completes it.
set(T, Exception) - Method in interface io.activej.promise.SettableCallback
 
set(T, Exception) - Method in class io.activej.promise.SettablePromise
Accepts the provided values and performs this operation on them.
setCloseable(AsyncCloseable) - Method in class io.activej.async.process.AbstractAsyncCloseable
 
setEnabled(boolean) - Method in class io.activej.async.service.TaskScheduler
 
setException(Exception) - Method in class io.activej.promise.NextPromise
 
setException(Exception) - Method in interface io.activej.promise.SettableCallback
 
setException(Exception) - Method in class io.activej.promise.SettablePromise
Sets exception and completes this SettablePromise exceptionally.
setHistogram(int[]) - Method in class io.activej.promise.jmx.PromiseStats
 
setHistogram(JmxHistogram) - Method in class io.activej.promise.jmx.PromiseStats
 
setInterval(Duration) - Method in class io.activej.async.service.TaskScheduler
 
setPeriod(Duration) - Method in class io.activej.async.service.TaskScheduler
 
setRetryPolicy(RetryPolicy<?>) - Method in class io.activej.async.service.TaskScheduler
 
setSchedule(TaskScheduler.Schedule) - Method in class io.activej.async.service.TaskScheduler
 
SettableCallback<T> - Interface in io.activej.promise
 
SettablePromise<T> - Class in io.activej.promise
Represents a Promise which can be completed or completedExceptionally manually at once or later in the future.
SettablePromise() - Constructor for class io.activej.promise.SettablePromise
 
SimpleRetryPolicy() - Constructor for class io.activej.promise.RetryPolicy.SimpleRetryPolicy
 
SimpleRetryState() - Constructor for class io.activej.promise.RetryPolicy.SimpleRetryState
 
start() - Method in interface io.activej.async.service.ReactiveService
Starts this component asynchronously.
start() - Method in class io.activej.async.service.TaskScheduler
 
startFuture() - Method in interface io.activej.async.service.ReactiveService
 
startNow() - Method in class io.activej.async.service.TaskScheduler
 
startProcess() - Method in interface io.activej.async.process.ReactiveProcess
 
StatelessRetryPolicy() - Constructor for class io.activej.promise.RetryPolicy.StatelessRetryPolicy
 
STATIC - Static variable in interface io.activej.async.process.AsyncCloseable
 
stop() - Method in interface io.activej.async.service.ReactiveService
Stops this component asynchronously.
stop() - Method in class io.activej.async.service.TaskScheduler
 
stopFuture() - Method in interface io.activej.async.service.ReactiveService
 
subscribe(Callback<? super T>) - Method in class io.activej.promise.AbstractPromise
 
subscribe(Callback<? super T>) - Method in class io.activej.promise.CompleteExceptionallyPromise
 
subscribe(Callback<? super T>) - Method in class io.activej.promise.CompletePromise
 
subscribe(Callback<? super T>) - Method in interface io.activej.promise.Promise
 

T

TaskScheduler - Class in io.activej.async.service
 
TaskScheduler.Builder - Class in io.activej.async.service
 
TaskScheduler.Schedule - Interface in io.activej.async.service
 
test(T) - Method in interface io.activej.async.function.AsyncPredicate
 
test(T) - Method in interface io.activej.async.function.AsyncPredicateEx
 
test(T, U) - Method in interface io.activej.async.function.AsyncBiPredicate
 
test(T, U) - Method in interface io.activej.async.function.AsyncBiPredicateEx
 
TestUtils - Class in io.activej.promise
 
TestUtils() - Constructor for class io.activej.promise.TestUtils
 
then(AsyncBiFunctionEx<? super T, Exception, U>) - Method in interface io.activej.promise.Promise
Returns a new Promise which is obtained by mapping a result and an exception of this promise to some other promise.
then(AsyncBiFunctionEx<? super T, Exception, U>) - Method in class io.activej.promise.AbstractPromise
 
then(AsyncBiFunctionEx<? super T, Exception, U>) - Method in class io.activej.promise.CompleteExceptionallyPromise
 
then(AsyncBiFunctionEx<? super T, Exception, U>) - Method in class io.activej.promise.CompletePromise
 
then(AsyncFunctionEx<? super T, U>) - Method in class io.activej.promise.AbstractPromise
 
then(AsyncFunctionEx<? super T, U>) - Method in class io.activej.promise.CompleteExceptionallyPromise
 
then(AsyncFunctionEx<? super T, U>) - Method in class io.activej.promise.CompletePromise
 
then(AsyncFunctionEx<? super T, U>) - Method in interface io.activej.promise.Promise
Returns a new Promise which is obtained by mapping a result of this promise to some other promise.
then(AsyncFunctionEx<? super T, U>, AsyncFunctionEx<Exception, U>) - Method in class io.activej.promise.AbstractPromise
 
then(AsyncFunctionEx<? super T, U>, AsyncFunctionEx<Exception, U>) - Method in class io.activej.promise.CompleteExceptionallyPromise
 
then(AsyncFunctionEx<? super T, U>, AsyncFunctionEx<Exception, U>) - Method in class io.activej.promise.CompletePromise
 
then(AsyncFunctionEx<? super T, U>, AsyncFunctionEx<Exception, U>) - Method in interface io.activej.promise.Promise
Returns a new Promise which is obtained by mapping either a result or an exception of this promise to some other promises.
then(AsyncSupplierEx<U>) - Method in class io.activej.promise.AbstractPromise
 
then(AsyncSupplierEx<U>) - Method in class io.activej.promise.CompleteExceptionallyPromise
 
then(AsyncSupplierEx<U>) - Method in class io.activej.promise.CompletePromise
 
then(AsyncSupplierEx<U>) - Method in interface io.activej.promise.Promise
Returns a new Promise which is obtained by calling a provided supplier of a new promise.
thenCallback(CallbackBiFunctionEx<? super T, Exception, U>) - Method in class io.activej.promise.AbstractPromise
 
thenCallback(CallbackBiFunctionEx<? super T, Exception, U>) - Method in class io.activej.promise.CompleteExceptionallyPromise
 
thenCallback(CallbackBiFunctionEx<? super T, Exception, U>) - Method in class io.activej.promise.CompletePromise
 
thenCallback(CallbackBiFunctionEx<? super T, Exception, U>) - Method in interface io.activej.promise.Promise
 
thenCallback(CallbackFunctionEx<? super T, U>) - Method in class io.activej.promise.AbstractPromise
 
thenCallback(CallbackFunctionEx<? super T, U>) - Method in class io.activej.promise.CompleteExceptionallyPromise
 
thenCallback(CallbackFunctionEx<? super T, U>) - Method in class io.activej.promise.CompletePromise
 
thenCallback(CallbackFunctionEx<? super T, U>) - Method in interface io.activej.promise.Promise
 
thenCallback(CallbackFunctionEx<? super T, U>, CallbackFunctionEx<Exception, U>) - Method in class io.activej.promise.AbstractPromise
 
thenCallback(CallbackFunctionEx<? super T, U>, CallbackFunctionEx<Exception, U>) - Method in class io.activej.promise.CompleteExceptionallyPromise
 
thenCallback(CallbackFunctionEx<? super T, U>, CallbackFunctionEx<Exception, U>) - Method in class io.activej.promise.CompletePromise
 
thenCallback(CallbackFunctionEx<? super T, U>, CallbackFunctionEx<Exception, U>) - Method in interface io.activej.promise.Promise
 
thenCallback(CallbackSupplierEx<U>) - Method in class io.activej.promise.AbstractPromise
 
thenCallback(CallbackSupplierEx<U>) - Method in class io.activej.promise.CompleteExceptionallyPromise
 
thenCallback(CallbackSupplierEx<U>) - Method in class io.activej.promise.CompletePromise
 
thenCallback(CallbackSupplierEx<U>) - Method in interface io.activej.promise.Promise
 
timeout(long, Promise<T>) - Static method in class io.activej.promise.Promises
Waits until the delay passes and if the Promise is still not complete, tries to complete it with TIMEOUT_EXCEPTION.
timeout(ReactorScheduler, long, Promise<T>) - Static method in class io.activej.promise.Promises
 
timeout(ReactorScheduler, Duration, Promise<T>) - Static method in class io.activej.promise.Promises
 
timeout(Duration, Promise<T>) - Static method in class io.activej.promise.Promises
 
toArray(Class<T>) - Static method in class io.activej.promise.Promises
Returns an array of provided type and length 0 wrapped in Promise.
toArray(Class<T>, Promise<? extends T>) - Static method in class io.activej.promise.Promises
Returns an array with promise1 result.
toArray(Class<T>, Promise<? extends T>...) - Static method in class io.activej.promise.Promises
 
toArray(Class<T>, Promise<? extends T>, Promise<? extends T>) - Static method in class io.activej.promise.Promises
Returns an array with promise1 and promise2 results.
toArray(Class<T>, Iterable<? extends Promise<? extends T>>) - Static method in class io.activej.promise.Promises
 
toArray(Class<T>, Iterator<? extends Promise<? extends T>>) - Static method in class io.activej.promise.Promises
 
toArray(Class<T>, List<? extends Promise<? extends T>>) - Static method in class io.activej.promise.Promises
Reduces promises into Promise<Array>
toArray(Class<T>, Stream<? extends Promise<? extends T>>) - Static method in class io.activej.promise.Promises
 
toCompletableFuture() - Method in class io.activej.promise.AbstractPromise
 
toCompletableFuture() - Method in class io.activej.promise.CompleteExceptionallyPromise
 
toCompletableFuture() - Method in class io.activej.promise.CompletePromise
 
toCompletableFuture() - Method in interface io.activej.promise.Promise
Wraps Promise into CompletableFuture.
toList() - Static method in class io.activej.promise.Promises
Returns a successfully completed Promise with an empty list as the result.
toList(Promise<? extends T>) - Static method in class io.activej.promise.Promises
Returns a completed Promise with a result wrapped in List.
toList(Promise<? extends T>...) - Static method in class io.activej.promise.Promises
 
toList(Promise<? extends T>, Promise<? extends T>) - Static method in class io.activej.promise.Promises
Returns Promise with a list of promise1 and promise2 results.
toList(Iterable<? extends Promise<? extends T>>) - Static method in class io.activej.promise.Promises
 
toList(Iterator<? extends Promise<? extends T>>) - Static method in class io.activej.promise.Promises
 
toList(List<? extends Promise<? extends T>>) - Static method in class io.activej.promise.Promises
Reduces list of Promises into Promise<List>.
toList(Stream<? extends Promise<? extends T>>) - Static method in class io.activej.promise.Promises
 
toPromise() - Method in interface io.activej.promise.ToPromise
 
ToPromise<T> - Interface in io.activej.promise
 
toString() - Method in class io.activej.promise.AbstractPromise
 
toString() - Method in class io.activej.promise.jmx.PromiseStats
 
toTry() - Method in class io.activej.promise.AbstractPromise
 
toTry() - Method in class io.activej.promise.CompleteExceptionallyPromise
 
toTry() - Method in class io.activej.promise.CompletePromise
 
toTry() - Method in interface io.activej.promise.Promise
Returns Promise that always completes successfully with result or exception wrapped in Try.
toTuple(TupleConstructor1<T1, R>, Promise<? extends T1>) - Static method in class io.activej.promise.Promises
 
toTuple(TupleConstructor2<T1, T2, R>, Promise<? extends T1>, Promise<? extends T2>) - Static method in class io.activej.promise.Promises
 
toTuple(TupleConstructor3<T1, T2, T3, R>, Promise<? extends T1>, Promise<? extends T2>, Promise<? extends T3>) - Static method in class io.activej.promise.Promises
 
toTuple(TupleConstructor4<T1, T2, T3, T4, R>, Promise<? extends T1>, Promise<? extends T2>, Promise<? extends T3>, Promise<? extends T4>) - Static method in class io.activej.promise.Promises
 
toTuple(TupleConstructor5<T1, T2, T3, T4, T5, R>, Promise<? extends T1>, Promise<? extends T2>, Promise<? extends T3>, Promise<? extends T4>, Promise<? extends T5>) - Static method in class io.activej.promise.Promises
 
toTuple(TupleConstructor6<T1, T2, T3, T4, T5, T6, R>, Promise<? extends T1>, Promise<? extends T2>, Promise<? extends T3>, Promise<? extends T4>, Promise<? extends T5>, Promise<? extends T6>) - Static method in class io.activej.promise.Promises
 
toTuple(Promise<? extends T1>) - Static method in class io.activej.promise.Promises
 
toTuple(Promise<? extends T1>, Promise<? extends T2>) - Static method in class io.activej.promise.Promises
 
toTuple(Promise<? extends T1>, Promise<? extends T2>, Promise<? extends T3>) - Static method in class io.activej.promise.Promises
 
toTuple(Promise<? extends T1>, Promise<? extends T2>, Promise<? extends T3>, Promise<? extends T4>) - Static method in class io.activej.promise.Promises
 
toTuple(Promise<? extends T1>, Promise<? extends T2>, Promise<? extends T3>, Promise<? extends T4>, Promise<? extends T5>) - Static method in class io.activej.promise.Promises
 
toTuple(Promise<? extends T1>, Promise<? extends T2>, Promise<? extends T3>, Promise<? extends T4>, Promise<? extends T5>, Promise<? extends T6>) - Static method in class io.activej.promise.Promises
 
toVoid() - Method in class io.activej.promise.AbstractPromise
 
toVoid() - Method in class io.activej.promise.CompleteExceptionallyPromise
 
toVoid() - Method in class io.activej.promise.CompletePromise
 
toVoid() - Method in interface io.activej.promise.Promise
Waits for result and discards it.
tryComplete(T) - Method in class io.activej.promise.AbstractPromise
 
tryComplete(T, Exception) - Method in class io.activej.promise.AbstractPromise
 
tryCompleteExceptionally(Exception) - Method in class io.activej.promise.AbstractPromise
 
trySet(R) - Method in class io.activej.promise.NextPromise
 
trySet(R, Exception) - Method in class io.activej.promise.NextPromise
 
trySet(T) - Method in interface io.activej.promise.SettableCallback
 
trySet(T) - Method in class io.activej.promise.SettablePromise
Tries to set provided result for this SettablePromise if it is not completed yet.
trySet(T, Exception) - Method in interface io.activej.promise.SettableCallback
 
trySet(T, Exception) - Method in class io.activej.promise.SettablePromise
Tries to set result or exception for this SettablePromise if it is not completed yet.
trySetException(Exception) - Method in class io.activej.promise.NextPromise
 
trySetException(Exception) - Method in interface io.activej.promise.SettableCallback
 
trySetException(Exception) - Method in class io.activej.promise.SettablePromise
Tries to set provided e exception for this SettablePromise if it is not completed yet.

U

until(T, FunctionEx<T, Promise<T>>, Predicate<T>) - Static method in class io.activej.promise.Promises
 

W

whenComplete(BiConsumerEx<? super T, Exception>) - Method in class io.activej.promise.AbstractPromise
 
whenComplete(BiConsumerEx<? super T, Exception>) - Method in class io.activej.promise.CompleteExceptionallyPromise
 
whenComplete(BiConsumerEx<? super T, Exception>) - Method in class io.activej.promise.CompletePromise
 
whenComplete(BiConsumerEx<? super T, Exception>) - Method in interface io.activej.promise.Promise
Subscribes given consumer to be executed after this Promise completes (either successfully or exceptionally).
whenComplete(ConsumerEx<? super T>, ConsumerEx<Exception>) - Method in class io.activej.promise.AbstractPromise
 
whenComplete(ConsumerEx<? super T>, ConsumerEx<Exception>) - Method in class io.activej.promise.CompleteExceptionallyPromise
 
whenComplete(ConsumerEx<? super T>, ConsumerEx<Exception>) - Method in class io.activej.promise.CompletePromise
 
whenComplete(ConsumerEx<? super T>, ConsumerEx<Exception>) - Method in interface io.activej.promise.Promise
Subscribes given consumers to be executed after this Promise completes (either successfully or exceptionally).
whenComplete(RunnableEx) - Method in class io.activej.promise.AbstractPromise
 
whenComplete(RunnableEx) - Method in class io.activej.promise.CompleteExceptionallyPromise
 
whenComplete(RunnableEx) - Method in class io.activej.promise.CompletePromise
 
whenComplete(RunnableEx) - Method in interface io.activej.promise.Promise
Subscribes given runnable to be executed after this Promise completes (either successfully or exceptionally).
whenException(ConsumerEx<Exception>) - Method in class io.activej.promise.AbstractPromise
 
whenException(ConsumerEx<Exception>) - Method in class io.activej.promise.CompleteExceptionallyPromise
 
whenException(ConsumerEx<Exception>) - Method in class io.activej.promise.CompletePromise
 
whenException(ConsumerEx<Exception>) - Method in interface io.activej.promise.Promise
Subscribes given consumer to be executed after this Promise completes exceptionally.
whenException(RunnableEx) - Method in class io.activej.promise.AbstractPromise
 
whenException(RunnableEx) - Method in class io.activej.promise.CompleteExceptionallyPromise
 
whenException(RunnableEx) - Method in class io.activej.promise.CompletePromise
 
whenException(RunnableEx) - Method in interface io.activej.promise.Promise
Subscribes given runnable to be executed after this Promise completes exceptionally.
whenException(Class<? extends Exception>, RunnableEx) - Method in class io.activej.promise.AbstractPromise
 
whenException(Class<? extends Exception>, RunnableEx) - Method in class io.activej.promise.CompleteExceptionallyPromise
 
whenException(Class<? extends Exception>, RunnableEx) - Method in class io.activej.promise.CompletePromise
 
whenException(Class<? extends Exception>, RunnableEx) - Method in interface io.activej.promise.Promise
Subscribes given runnable to be executed after this Promise completes exceptionally and an exception of this Promise is an instance of a given exception Class.
whenException(Class<E>, ConsumerEx<? super E>) - Method in class io.activej.promise.AbstractPromise
 
whenException(Class<E>, ConsumerEx<? super E>) - Method in class io.activej.promise.CompleteExceptionallyPromise
 
whenException(Class<E>, ConsumerEx<? super E>) - Method in class io.activej.promise.CompletePromise
 
whenException(Class<E>, ConsumerEx<? super E>) - Method in interface io.activej.promise.Promise
Subscribes given consumer to be executed after this Promise completes exceptionally and an exception of this Promise is an instance of a given exception Class.
whenResult(ConsumerEx<? super T>) - Method in class io.activej.promise.AbstractPromise
 
whenResult(ConsumerEx<? super T>) - Method in class io.activej.promise.CompleteExceptionallyPromise
 
whenResult(ConsumerEx<? super T>) - Method in class io.activej.promise.CompletePromise
 
whenResult(ConsumerEx<? super T>) - Method in interface io.activej.promise.Promise
Subscribes given consumer to be executed after this Promise completes successfully.
whenResult(RunnableEx) - Method in class io.activej.promise.AbstractPromise
 
whenResult(RunnableEx) - Method in class io.activej.promise.CompleteExceptionallyPromise
 
whenResult(RunnableEx) - Method in class io.activej.promise.CompletePromise
 
whenResult(RunnableEx) - Method in interface io.activej.promise.Promise
Subscribes given runnable to be executed after this Promise completes successfully and a result of this Promise satisfy a given Predicate.
withAbortOnError(boolean) - Method in class io.activej.async.service.TaskScheduler.Builder
 
withEnabled(boolean) - Method in class io.activej.async.service.TaskScheduler.Builder
 
withHistogram(int[]) - Method in class io.activej.promise.jmx.PromiseStats.Builder
 
withHistogram(JmxHistogram) - Method in class io.activej.promise.jmx.PromiseStats.Builder
 
withInitialDelay(Duration) - Method in class io.activej.async.service.TaskScheduler.Builder
 
withInterval(Duration) - Method in class io.activej.async.service.TaskScheduler.Builder
 
withMaxTotalRetryCount(int) - Method in interface io.activej.promise.RetryPolicy
 
withMaxTotalRetryTimeout(Duration) - Method in interface io.activej.promise.RetryPolicy
 
withPeriod(Duration) - Method in class io.activej.async.service.TaskScheduler.Builder
 
withPromise(Promise<T>, BiConsumerEx<A, T>) - Method in class io.activej.async.AsyncAccumulator.Builder
 
withRetryPolicy(RetryPolicy<?>) - Method in class io.activej.async.service.TaskScheduler.Builder
 
withSchedule(TaskScheduler.Schedule) - Method in class io.activej.async.service.TaskScheduler.Builder
 
withStatsHistogramLevels(int[]) - Method in class io.activej.async.service.TaskScheduler.Builder
 
wrapper(AsyncRunnable) - Method in class io.activej.promise.jmx.PromiseStats
 
wrapper(AsyncSupplier<T>) - Method in class io.activej.promise.jmx.PromiseStats
 
write(FileChannel, long, byte[], int, int) - Method in class io.activej.async.file.ExecutorFileService
 
write(FileChannel, long, byte[], int, int) - Method in interface io.activej.async.file.IFileService
 
A B C D E F G I L M N O P R S T U W 
All Classes and Interfaces|All Packages