Skip navigation links
A B C E F G I L M N O R S T 

A

accept(T, Throwable) - Method in class net.kuujo.catalyst.util.concurrent.ComposableFuture
 
acquire() - Method in class net.kuujo.catalyst.util.BuilderPool
Acquires a builder from the pool.
acquire(U) - Method in class net.kuujo.catalyst.util.BuilderPool
Acquires a builder from the pool.
add(Consumer<T>) - Method in class net.kuujo.catalyst.util.Listeners
Adds a listener to the set of listeners.
arg(boolean, String, Object...) - Static method in class net.kuujo.catalyst.util.Assert
 
arg(T, boolean, String, Object...) - Static method in class net.kuujo.catalyst.util.Assert
 
argNot(boolean, String, Object...) - Static method in class net.kuujo.catalyst.util.Assert
 
argNot(T, boolean, String, Object...) - Static method in class net.kuujo.catalyst.util.Assert
 
Assert - Class in net.kuujo.catalyst.util
Assertion utilities.

B

build() - Method in class net.kuujo.catalyst.util.Builder
Builds the object.
Builder<T> - Class in net.kuujo.catalyst.util
Object builder.
BuilderPool<T extends Builder<U>,U> - Class in net.kuujo.catalyst.util
Object builder pool.
BuilderPool(Function<BuilderPool<T, U>, T>) - Constructor for class net.kuujo.catalyst.util.BuilderPool
 

C

cancel() - Method in interface net.kuujo.catalyst.util.concurrent.Scheduled
Cancels the scheduled task.
CatalystThread - Class in net.kuujo.catalyst.util.concurrent
Catalyst thread.
CatalystThread(Runnable, String) - Constructor for class net.kuujo.catalyst.util.concurrent.CatalystThread
 
CatalystThreadFactory - Class in net.kuujo.catalyst.util.concurrent
Named thread factory.
CatalystThreadFactory(String) - Constructor for class net.kuujo.catalyst.util.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 net.kuujo.catalyst.util.concurrent.Context
Checks that the current thread is the correct context thread.
close() - Method in class net.kuujo.catalyst.util.Builder
 
close() - Method in interface net.kuujo.catalyst.util.concurrent.Context
Closes the context.
close() - Method in class net.kuujo.catalyst.util.concurrent.SingleThreadContext
 
close() - Method in class net.kuujo.catalyst.util.concurrent.ThreadPoolContext
 
close() - Method in interface net.kuujo.catalyst.util.Listener
Closes the listener.
close() - Method in interface net.kuujo.catalyst.util.Managed
Closes the managed object.
completedFuture(T) - Static method in class net.kuujo.catalyst.util.concurrent.Futures
Creates a future that is synchronously completed.
completedFutureAsync(T, Executor) - Static method in class net.kuujo.catalyst.util.concurrent.Futures
Creates a future that is asynchronously completed.
ComposableFuture<T> - Class in net.kuujo.catalyst.util.concurrent
Special implementation of CompletableFuture with missing utility methods.
ComposableFuture() - Constructor for class net.kuujo.catalyst.util.concurrent.ComposableFuture
 
ConfigurationException - Exception in net.kuujo.catalyst.util
Resource configuration exception.
ConfigurationException(String, Object...) - Constructor for exception net.kuujo.catalyst.util.ConfigurationException
 
ConfigurationException(Throwable, String, Object...) - Constructor for exception net.kuujo.catalyst.util.ConfigurationException
 
ConfigurationException(Throwable) - Constructor for exception net.kuujo.catalyst.util.ConfigurationException
 
Context - Interface in net.kuujo.catalyst.util.concurrent
Thread context.
currentContext() - Static method in interface net.kuujo.catalyst.util.concurrent.Context
Returns the current thread context.

E

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

F

Futures - Class in net.kuujo.catalyst.util.concurrent
Utilities for creating completed and exceptional futures.
Futures() - Constructor for class net.kuujo.catalyst.util.concurrent.Futures
 

G

getContext() - Method in class net.kuujo.catalyst.util.concurrent.CatalystThread
Returns the thread context.

I

index(boolean, String, Object...) - Static method in class net.kuujo.catalyst.util.Assert
 
indexNot(boolean, String, Object...) - Static method in class net.kuujo.catalyst.util.Assert
 
isClosed() - Method in interface net.kuujo.catalyst.util.Managed
Returns a boolean value indicating whether the managed object is closed.
isOpen() - Method in interface net.kuujo.catalyst.util.Managed
Returns a boolean value indicating whether the managed object is open.
iterator() - Method in class net.kuujo.catalyst.util.Listeners
 

L

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

M

Managed<T> - Interface in net.kuujo.catalyst.util
Interface for types that can be asynchronously opened and closed.

N

net.kuujo.catalyst.util - package net.kuujo.catalyst.util
 
net.kuujo.catalyst.util.concurrent - package net.kuujo.catalyst.util.concurrent
Utilities for thread management and asynchronous workflows.
newThread(Runnable) - Method in class net.kuujo.catalyst.util.concurrent.CatalystThreadFactory
 
notNull(T, String) - Static method in class net.kuujo.catalyst.util.Assert
 

O

open() - Method in interface net.kuujo.catalyst.util.Managed
Opens the managed object.

R

release(T) - Method in class net.kuujo.catalyst.util.BuilderPool
Releases the given builder back to the pool.

S

schedule(Runnable, Duration) - Method in interface net.kuujo.catalyst.util.concurrent.Context
Schedules a runnable on the context.
schedule(Runnable, Duration, Duration) - Method in interface net.kuujo.catalyst.util.concurrent.Context
Schedules a runnable at a fixed rate on the context.
schedule(Runnable, Duration) - Method in class net.kuujo.catalyst.util.concurrent.SingleThreadContext
 
schedule(Runnable, Duration, Duration) - Method in class net.kuujo.catalyst.util.concurrent.SingleThreadContext
 
schedule(Runnable, Duration) - Method in class net.kuujo.catalyst.util.concurrent.ThreadPoolContext
 
schedule(Runnable, Duration, Duration) - Method in class net.kuujo.catalyst.util.concurrent.ThreadPoolContext
 
Scheduled - Interface in net.kuujo.catalyst.util.concurrent
Scheduled task.
serializer() - Method in interface net.kuujo.catalyst.util.concurrent.Context
Returns the context serializer.
serializer() - Method in class net.kuujo.catalyst.util.concurrent.SingleThreadContext
 
serializer() - Method in class net.kuujo.catalyst.util.concurrent.ThreadPoolContext
 
setContext(Context) - Method in class net.kuujo.catalyst.util.concurrent.CatalystThread
Sets the thread context.
SingleThreadContext - Class in net.kuujo.catalyst.util.concurrent
Single threaded context.
SingleThreadContext(String, Serializer) - Constructor for class net.kuujo.catalyst.util.concurrent.SingleThreadContext
Creates a new single thread context.
SingleThreadContext(ScheduledExecutorService, Serializer) - Constructor for class net.kuujo.catalyst.util.concurrent.SingleThreadContext
Creates a new single thread context.
SingleThreadContext(Thread, ScheduledExecutorService, Serializer) - Constructor for class net.kuujo.catalyst.util.concurrent.SingleThreadContext
 
size() - Method in class net.kuujo.catalyst.util.Listeners
Returns the number of registered listeners.
state(boolean, String, Object...) - Static method in class net.kuujo.catalyst.util.Assert
 
stateNot(boolean, String, Object...) - Static method in class net.kuujo.catalyst.util.Assert
 

T

ThreadPoolContext - Class in net.kuujo.catalyst.util.concurrent
Thread pool context.
ThreadPoolContext(ScheduledExecutorService, Serializer) - Constructor for class net.kuujo.catalyst.util.concurrent.ThreadPoolContext
Creates a new thread pool context.
A B C E F G I L M N O R S T 
Skip navigation links

Copyright © 2013–2015. All rights reserved.