Skip navigation links
A C E F G H I N O P R S T U V 

A

await() - Method in class com.mattunderscore.executors.RepeatingFuture
 
await(long, TimeUnit) - Method in class com.mattunderscore.executors.RepeatingFuture
 
await() - Method in class com.mattunderscore.executors.SingleFuture
 
await(long, TimeUnit) - Method in class com.mattunderscore.executors.SingleFuture
 
await() - Method in class com.mattunderscore.executors.UnboundedFuture
 
await(long, TimeUnit) - Method in class com.mattunderscore.executors.UnboundedFuture
 

C

call() - Method in class com.mattunderscore.executors.RunnableWrapper
 
cancelTask(ITaskWrapper, boolean) - Method in interface com.mattunderscore.executors.ITaskCanceller
Cancel the task passed in.
checkCancellationException(int) - Method in class com.mattunderscore.executors.RepeatingFuture
 
com.mattunderscore.executors - package com.mattunderscore.executors
Generic package for executors.
com.mattunderscore.rated.executor - package com.mattunderscore.rated.executor
Executors that will not execute tasks faster than some rate.

E

equals(Object) - Method in class com.mattunderscore.executors.RunnableWrapper
 
equals(Object) - Method in class com.mattunderscore.executors.TaskWrapper
 
exception - Variable in class com.mattunderscore.executors.TaskExecutionResult
The execution thrown by the execution wrapped in an ExecutionException.
execute() - Method in interface com.mattunderscore.executors.ITaskWrapper
Execute the task and set the result of the future.
execute(Callable<V>) - Method in interface com.mattunderscore.executors.IUniversalExecutor
Execute Callable tasks at some point in the future
execute() - Method in class com.mattunderscore.executors.TaskWrapper
 

F

FutureSetResult<V> - Class in com.mattunderscore.executors
Pass the result of the task to a settable future.
FutureSetResult(ISettableFuture<V>) - Constructor for class com.mattunderscore.executors.FutureSetResult
 

G

getCompletedExecutions() - Method in interface com.mattunderscore.executors.IRepeatingFuture
Returns the number of times the task has run this allows progress through the repetitions to be monitored.
getCompletedExecutions() - Method in class com.mattunderscore.executors.RepeatingFuture
 
getExpectedExecutions() - Method in interface com.mattunderscore.executors.IRepeatingFuture
Get the number of executions that should happen.
getExpectedExecutions() - Method in class com.mattunderscore.executors.RepeatingFuture
 
getResult(int) - Method in interface com.mattunderscore.executors.IRepeatingFuture
Waits if necessary for the ith computation to complete, and then retrieves its result.
getResult(int, long, TimeUnit) - Method in interface com.mattunderscore.executors.IRepeatingFuture
Waits if necessary for the ith computation to complete, and then retrieves its result.
getResult(int) - Method in class com.mattunderscore.executors.RepeatingFuture
 
getResult(int, long, TimeUnit) - Method in class com.mattunderscore.executors.RepeatingFuture
 
getResult() - Method in class com.mattunderscore.executors.RepeatingFuture
 
getResult() - Method in class com.mattunderscore.executors.SingleFuture
 
getResult() - Method in class com.mattunderscore.executors.UnboundedFuture
 
getStoredResult(int) - Method in class com.mattunderscore.executors.RepeatingFuture
Gets the ith execution result.

H

hashCode() - Method in class com.mattunderscore.executors.RunnableWrapper
 
hashCode() - Method in class com.mattunderscore.executors.TaskWrapper
 

I

interruptableRatedExecutor(long, TimeUnit) - Static method in class com.mattunderscore.rated.executor.RatedExecutors
Creates a new rated executor.
interruptableRatedExecutor(long, TimeUnit, ThreadFactory) - Static method in class com.mattunderscore.rated.executor.RatedExecutors
Creates a new rated executor.
IRatedExecutor - Interface in com.mattunderscore.rated.executor
Interface for rated executors, it will execute tasks at a fixed rate.
IRepeatingFuture<V> - Interface in com.mattunderscore.executors
A repeating future represents a repeated asynchronous computation.
ISettableFuture<V> - Interface in com.mattunderscore.executors
Interface that allows the result of a future to be set.
ITaskCanceller - Interface in com.mattunderscore.executors
Implementors of this interface allow tasks to be cancelled.
ITaskResultProcessor<V> - Interface in com.mattunderscore.executors
Process the results of the execution of a task.
ITaskWrapper - Interface in com.mattunderscore.executors
Provides a single interface for both Runnable and Callable.
ITaskWrapperFactory - Interface in com.mattunderscore.executors
Factory for ITaskWrapper objects.
IUniversalExecutor - Interface in com.mattunderscore.executors
A simple executor interface that can be used to execute Callable tasks as well as Runnable tasks.

N

newWrapper(Callable<V>) - Method in interface com.mattunderscore.executors.ITaskWrapperFactory
Create a task wrapper for callable tasks.
newWrapper(Runnable) - Method in interface com.mattunderscore.executors.ITaskWrapperFactory
Create a task wrapper for runnable tasks.
newWrapper(Callable<V>, ITaskResultProcessor<V>) - Method in interface com.mattunderscore.executors.ITaskWrapperFactory
Create a task wrapper for callable tasks.
newWrapper(Runnable, ITaskResultProcessor<Void>) - Method in interface com.mattunderscore.executors.ITaskWrapperFactory
Create a task wrapper for runnable tasks.
newWrapper(Callable<V>) - Method in class com.mattunderscore.executors.TaskWrapperFactory
 
newWrapper(Runnable) - Method in class com.mattunderscore.executors.TaskWrapperFactory
 
newWrapper(Callable<V>, ITaskResultProcessor<V>) - Method in class com.mattunderscore.executors.TaskWrapperFactory
 
newWrapper(Runnable, ITaskResultProcessor<Void>) - Method in class com.mattunderscore.executors.TaskWrapperFactory
 

O

onResult(ITaskWrapper, V) - Method in class com.mattunderscore.executors.FutureSetResult
 
onResult(ITaskWrapper, V) - Method in interface com.mattunderscore.executors.ITaskResultProcessor
Action to take if the task returns a result.
onResult(ITaskWrapper, V) - Method in class com.mattunderscore.executors.UncaughtExceptionResult
 
onThrowable(ITaskWrapper, Throwable) - Method in class com.mattunderscore.executors.FutureSetResult
 
onThrowable(ITaskWrapper, Throwable) - Method in interface com.mattunderscore.executors.ITaskResultProcessor
Action to take if the task throws an exception.
onThrowable(ITaskWrapper, Throwable) - Method in class com.mattunderscore.executors.UncaughtExceptionResult
 

P

processCancellation(boolean) - Method in class com.mattunderscore.executors.RepeatingFuture
 
processCancellation(boolean) - Method in class com.mattunderscore.executors.SingleFuture
 
processCancellation(boolean) - Method in class com.mattunderscore.executors.UnboundedFuture
 
processResult(TaskExecutionResult<V>) - Method in class com.mattunderscore.executors.RepeatingFuture
 
processResult(TaskExecutionResult<V>) - Method in class com.mattunderscore.executors.SingleFuture
 
processResult(TaskExecutionResult<Void>) - Method in class com.mattunderscore.executors.UnboundedFuture
 

R

ratedExecutor(long, TimeUnit) - Static method in class com.mattunderscore.rated.executor.RatedExecutors
Creates a new rated executor.
ratedExecutor(long, TimeUnit, ThreadFactory) - Static method in class com.mattunderscore.rated.executor.RatedExecutors
Creates a new rated executor.
RatedExecutors - Class in com.mattunderscore.rated.executor
Utility class that allows the construction of rated executors.
RepeatingFuture<V> - Class in com.mattunderscore.executors
A base implementation for a Future of a task that is executed repeatedly but a limited number of times.
RepeatingFuture(ITaskCanceller, int) - Constructor for class com.mattunderscore.executors.RepeatingFuture
Constructor for the future.
result - Variable in class com.mattunderscore.executors.TaskExecutionResult
The result of the execution.
RunnableWrapper - Class in com.mattunderscore.executors
Construct a Callable task from a Runnable task.
RunnableWrapper(Runnable) - Constructor for class com.mattunderscore.executors.RunnableWrapper
Construct the task

S

schedule(Runnable) - Method in interface com.mattunderscore.rated.executor.IRatedExecutor
Submit a task to be executed repeatedly.
schedule(Runnable, int) - Method in interface com.mattunderscore.rated.executor.IRatedExecutor
Submit a task to be executed repeatedly.
schedule(Callable<V>, int) - Method in interface com.mattunderscore.rated.executor.IRatedExecutor
Submit a task to be executed repeatedly.
setException(Throwable) - Method in interface com.mattunderscore.executors.ISettableFuture
Set the result of the task execution.
setResult(V) - Method in interface com.mattunderscore.executors.ISettableFuture
Set the result of the task execution.
setTask(ITaskWrapper) - Method in interface com.mattunderscore.executors.ISettableFuture
Set the task
setTask(ITaskWrapper) - Method in class com.mattunderscore.executors.RepeatingFuture
 
setTask(ITaskWrapper) - Method in class com.mattunderscore.executors.SingleFuture
 
setTask(ITaskWrapper) - Method in class com.mattunderscore.executors.UnboundedFuture
 
simpleRatedExecutor(long, TimeUnit) - Static method in class com.mattunderscore.rated.executor.RatedExecutors
Creates a new rated executor.
simpleRatedExecutor(long, TimeUnit, ThreadFactory) - Static method in class com.mattunderscore.rated.executor.RatedExecutors
Creates a new rated executor.
SingleFuture<V> - Class in com.mattunderscore.executors
A base implementation for a Future of a task that is executed once.
SingleFuture(ITaskCanceller) - Constructor for class com.mattunderscore.executors.SingleFuture
 
submit(Runnable) - Method in interface com.mattunderscore.rated.executor.IRatedExecutor
Submit a task to be executed once.
submit(Callable<V>) - Method in interface com.mattunderscore.rated.executor.IRatedExecutor
Submit a task to be executed once.

T

taskDone() - Method in class com.mattunderscore.executors.RepeatingFuture
 
taskDone() - Method in class com.mattunderscore.executors.SingleFuture
 
taskDone() - Method in class com.mattunderscore.executors.UnboundedFuture
 
TaskExecutionResult<V> - Class in com.mattunderscore.executors
Wrap the result of a task execution into a single object.
TaskExecutionResult(Throwable) - Constructor for class com.mattunderscore.executors.TaskExecutionResult
Create a result from an exception.
TaskExecutionResult(V) - Constructor for class com.mattunderscore.executors.TaskExecutionResult
Create a result from an object.
TaskWrapper<V> - Class in com.mattunderscore.executors
A task wrapper for Callable tasks.
TaskWrapper(Callable<V>, ITaskResultProcessor<V>) - Constructor for class com.mattunderscore.executors.TaskWrapper
Create the task wrapper
TaskWrapperFactory - Class in com.mattunderscore.executors
 
TaskWrapperFactory() - Constructor for class com.mattunderscore.executors.TaskWrapperFactory
 

U

UnboundedFuture - Class in com.mattunderscore.executors
A base implementation for a Future of a task that is executed an unlimited number of times.
UnboundedFuture(ITaskCanceller) - Constructor for class com.mattunderscore.executors.UnboundedFuture
 
UncaughtExceptionResult<V> - Class in com.mattunderscore.executors
Task result processor that discards any return value but invokes an uncaught exception handler for any throwables.
UncaughtExceptionResult() - Constructor for class com.mattunderscore.executors.UncaughtExceptionResult
 

V

VOID_RESULT_PROCESSOR - Static variable in class com.mattunderscore.executors.UncaughtExceptionResult
 
A C E F G H I N O P R S T U V 
Skip navigation links

Copyright © 2016. All Rights Reserved.