Skip navigation links
A B C E F G I J L N S T U 

A

accept(T, Throwable) - Method in class io.atomix.catalyst.concurrent.ComposableFuture
 
accept(T) - Method in class io.atomix.catalyst.concurrent.Listeners
Applies an event to all listeners.
add(Consumer<T>) - Method in class io.atomix.catalyst.concurrent.Listeners
Adds a listener to the set of listeners.

B

block() - Method in class io.atomix.catalyst.concurrent.SingleThreadContext
 
block() - Method in interface io.atomix.catalyst.concurrent.ThreadContext
Sets the context state to blocked.
block() - Method in class io.atomix.catalyst.concurrent.ThreadPoolContext
 
BlockingFuture<T> - Class in io.atomix.catalyst.concurrent
CompletableFuture implementation that aids in detecting blocked threads.
BlockingFuture() - Constructor for class io.atomix.catalyst.concurrent.BlockingFuture
 

C

cancel() - Method in interface io.atomix.catalyst.concurrent.Scheduled
Cancels the scheduled task.
CatalystThread - Class in io.atomix.catalyst.concurrent
Catalyst thread.
CatalystThread(Runnable, String) - Constructor for class io.atomix.catalyst.concurrent.CatalystThread
 
CatalystThreadFactory - Class in io.atomix.catalyst.concurrent
Named thread factory.
CatalystThreadFactory(String) - Constructor for class io.atomix.catalyst.concurrent.CatalystThreadFactory
Creates a thread factory that names threads according to the nameFormat by supplying a single argument to the format representing the thread number.
checkThread() - Method in interface io.atomix.catalyst.concurrent.ThreadContext
Checks that the current thread is the correct context thread.
close() - Method in interface io.atomix.catalyst.concurrent.Listener
Closes the listener.
close() - Method in class io.atomix.catalyst.concurrent.SingleThreadContext
 
close() - Method in interface io.atomix.catalyst.concurrent.ThreadContext
Closes the context.
close() - Method in class io.atomix.catalyst.concurrent.ThreadPoolContext
 
completedFuture(T) - Static method in class io.atomix.catalyst.concurrent.Futures
Creates a future that is synchronously completed.
completedFutureAsync(T, Executor) - Static method in class io.atomix.catalyst.concurrent.Futures
Creates a future that is asynchronously completed.
ComposableFuture<T> - Class in io.atomix.catalyst.concurrent
Special implementation of CompletableFuture with missing utility methods.
ComposableFuture() - Constructor for class io.atomix.catalyst.concurrent.ComposableFuture
 
currentContext() - Static method in interface io.atomix.catalyst.concurrent.ThreadContext
Returns the current thread context.
currentContextOrThrow() - Static method in interface io.atomix.catalyst.concurrent.ThreadContext
 

E

except(Consumer<Throwable>) - Method in class io.atomix.catalyst.concurrent.ComposableFuture
Sets a consumer to be called when the future is failed.
exceptAsync(Consumer<Throwable>) - Method in class io.atomix.catalyst.concurrent.ComposableFuture
Sets a consumer to be called asynchronously when the future is failed.
exceptAsync(Consumer<Throwable>, Executor) - Method in class io.atomix.catalyst.concurrent.ComposableFuture
Sets a consumer to be called asynchronously when the future is failed.
exceptionalFuture(Throwable) - Static method in class io.atomix.catalyst.concurrent.Futures
Creates a future that is synchronously completed exceptionally.
exceptionalFutureAsync(Throwable, Executor) - Static method in class io.atomix.catalyst.concurrent.Futures
Creates a future that is asynchronously completed exceptionally.
execute(Runnable) - Method in interface io.atomix.catalyst.concurrent.ThreadContext
Executes a callback on the context.
execute(Supplier<T>) - Method in interface io.atomix.catalyst.concurrent.ThreadContext
Executes a callback on the context.
executor() - Method in class io.atomix.catalyst.concurrent.SingleThreadContext
 
executor() - Method in interface io.atomix.catalyst.concurrent.ThreadContext
Returns the underlying executor.
executor() - Method in class io.atomix.catalyst.concurrent.ThreadPoolContext
 

F

Futures - Class in io.atomix.catalyst.concurrent
Utilities for creating completed and exceptional futures.
Futures() - Constructor for class io.atomix.catalyst.concurrent.Futures
 

G

get() - Method in class io.atomix.catalyst.concurrent.BlockingFuture
 
get(long, TimeUnit) - Method in class io.atomix.catalyst.concurrent.BlockingFuture
 
get() - Method in class io.atomix.catalyst.concurrent.NonBlockingFuture
 
get(long, TimeUnit) - Method in class io.atomix.catalyst.concurrent.NonBlockingFuture
 
getContext() - Method in class io.atomix.catalyst.concurrent.CatalystThread
Returns the thread context.

I

io.atomix.catalyst.concurrent - package io.atomix.catalyst.concurrent
Utilities for thread management and asynchronous workflows.
isBlocked() - Method in class io.atomix.catalyst.concurrent.SingleThreadContext
 
isBlocked() - Method in interface io.atomix.catalyst.concurrent.ThreadContext
Returns a boolean indicating whether the context state is blocked.
isBlocked() - Method in class io.atomix.catalyst.concurrent.ThreadPoolContext
 
isCurrentContext() - Method in interface io.atomix.catalyst.concurrent.ThreadContext
Returns a boolean indicating whether the current thread is in this context.
iterator() - Method in class io.atomix.catalyst.concurrent.Listeners
 

J

join() - Method in class io.atomix.catalyst.concurrent.BlockingFuture
 
join() - Method in class io.atomix.catalyst.concurrent.NonBlockingFuture
 

L

Listener<T> - Interface in io.atomix.catalyst.concurrent
Context for unregistering a registered listener.
Listeners<T> - Class in io.atomix.catalyst.concurrent
Utility for managing a set of listeners.
Listeners() - Constructor for class io.atomix.catalyst.concurrent.Listeners
 
logger() - Method in class io.atomix.catalyst.concurrent.SingleThreadContext
 
logger() - Method in interface io.atomix.catalyst.concurrent.ThreadContext
Returns the context logger.
logger() - Method in class io.atomix.catalyst.concurrent.ThreadPoolContext
 

N

newThread(Runnable) - Method in class io.atomix.catalyst.concurrent.CatalystThreadFactory
 
NonBlockingFuture<T> - Class in io.atomix.catalyst.concurrent
A future that can't be blocked.
NonBlockingFuture() - Constructor for class io.atomix.catalyst.concurrent.NonBlockingFuture
 

S

schedule(Duration, Runnable) - Method in class io.atomix.catalyst.concurrent.SingleThreadContext
 
schedule(Duration, Duration, Runnable) - Method in class io.atomix.catalyst.concurrent.SingleThreadContext
 
schedule(Duration, Runnable) - Method in interface io.atomix.catalyst.concurrent.ThreadContext
Schedules a runnable on the context.
schedule(Duration, Duration, Runnable) - Method in interface io.atomix.catalyst.concurrent.ThreadContext
Schedules a runnable at a fixed rate on the context.
schedule(Duration, Runnable) - Method in class io.atomix.catalyst.concurrent.ThreadPoolContext
 
schedule(Duration, Duration, Runnable) - Method in class io.atomix.catalyst.concurrent.ThreadPoolContext
 
Scheduled - Interface in io.atomix.catalyst.concurrent
Scheduled task.
serializer() - Method in class io.atomix.catalyst.concurrent.SingleThreadContext
 
serializer() - Method in interface io.atomix.catalyst.concurrent.ThreadContext
Returns the context serializer.
serializer() - Method in class io.atomix.catalyst.concurrent.ThreadPoolContext
 
setContext(ThreadContext) - Method in class io.atomix.catalyst.concurrent.CatalystThread
Sets the thread context.
SingleThreadContext - Class in io.atomix.catalyst.concurrent
Single threaded context.
SingleThreadContext(String, Serializer) - Constructor for class io.atomix.catalyst.concurrent.SingleThreadContext
Creates a new single thread context.
SingleThreadContext(CatalystThreadFactory, Serializer) - Constructor for class io.atomix.catalyst.concurrent.SingleThreadContext
Creates a new single thread context.
SingleThreadContext(ScheduledExecutorService, Serializer) - Constructor for class io.atomix.catalyst.concurrent.SingleThreadContext
Creates a new single thread context.
SingleThreadContext(Thread, ScheduledExecutorService, Serializer) - Constructor for class io.atomix.catalyst.concurrent.SingleThreadContext
 
size() - Method in class io.atomix.catalyst.concurrent.Listeners
Returns the number of registered listeners.

T

ThreadContext - Interface in io.atomix.catalyst.concurrent
Thread context.
ThreadPoolContext - Class in io.atomix.catalyst.concurrent
Thread pool context.
ThreadPoolContext(ScheduledExecutorService, Serializer) - Constructor for class io.atomix.catalyst.concurrent.ThreadPoolContext
Creates a new thread pool context.

U

unblock() - Method in class io.atomix.catalyst.concurrent.SingleThreadContext
 
unblock() - Method in interface io.atomix.catalyst.concurrent.ThreadContext
Sets the context state to unblocked.
unblock() - Method in class io.atomix.catalyst.concurrent.ThreadPoolContext
 
A B C E F G I J L N S T U 
Skip navigation links

Copyright © 2013–2016. All rights reserved.