Index

A B E G M O P R S T 
All Classes All Packages

A

accept(T) - Method in class org.jbrew.concurrent.MethodBlockingTask
 
accept(T) - Method in class org.jbrew.concurrent.ObjectBlockingTask
Sets the value of the obj in a ThreadSafe manner.
accept(T) - Method in class org.jbrew.concurrent.RetrievableTask
Sets the value of the obj in a ThreadSafe manner.

B

BlockingTask<T> - Class in org.jbrew.concurrent
A ThreadSafe implementation of Task.
BlockingTask() - Constructor for class org.jbrew.concurrent.BlockingTask
Default constructor for BlockingTaskblocking which assigns BlockingTask.printThreadId to false and the BlockingTask.name to the BlockingTask.DEFAULT_NAME.
BlockingTask(boolean) - Constructor for class org.jbrew.concurrent.BlockingTask
A constructor for BlockingTask which includes an option to assign the boolean BlockingTask.printThreadId's value.
BlockingTask(boolean, String) - Constructor for class org.jbrew.concurrent.BlockingTask
A constructor for BlockingTask which includes an option to assign the String BlockingTask.name's value, as well as the boolean BlockingTask.printThreadId's value.
BlockingTask(String) - Constructor for class org.jbrew.concurrent.BlockingTask
A constructor for BlockingTask which includes an option to assign the String BlockingTask.name's value.

E

execute() - Method in class org.jbrew.concurrent.BlockingTask
The execute() method allows clients to execute the business logic associated with the respective Task.
execute() - Method in class org.jbrew.concurrent.MethodBlockingTask
 
execute() - Method in class org.jbrew.concurrent.ObjectBlockingTask
 
execute() - Method in class org.jbrew.concurrent.standard.StandardNonRetrievableTask
 

G

getName() - Method in class org.jbrew.concurrent.BlockingTask
 
getName() - Method in interface org.jbrew.concurrent.Task
 
getThreadId() - Method in class org.jbrew.concurrent.BlockingTask
Returns the id long of the Task's current thread.
getThreadId() - Method in interface org.jbrew.concurrent.Task
 

M

MethodBlockingTask<T> - Class in org.jbrew.concurrent
A MethodBlockingTask blocks MethodBlockingTask.retrieve() until the MethodBlockingTask.execute() method has fully completed and terminated.
MethodBlockingTask() - Constructor for class org.jbrew.concurrent.MethodBlockingTask
 

O

ObjectBlockingTask<T> - Class in org.jbrew.concurrent
This implementation of RetrievableTask allows for the ObjectBlockingTask.obj to be unblocked as soon as the ObjectBlockingTask.accept(Object) method has been called.
ObjectBlockingTask() - Constructor for class org.jbrew.concurrent.ObjectBlockingTask
 
org.jbrew.concurrent - package org.jbrew.concurrent
 
org.jbrew.concurrent.serializable - package org.jbrew.concurrent.serializable
 
org.jbrew.concurrent.standard - package org.jbrew.concurrent.standard
 

P

printThreadIdFlag - Variable in class org.jbrew.concurrent.RetrievableTask
 

R

RetrievableTask<T> - Class in org.jbrew.concurrent
 
RetrievableTask() - Constructor for class org.jbrew.concurrent.RetrievableTask
Default constructor for RetrievableTask.
RetrievableTask(boolean) - Constructor for class org.jbrew.concurrent.RetrievableTask
This constructor takes a boolean argument to determine whether the thread number should be printed to the console.
retrieve() - Method in class org.jbrew.concurrent.MethodBlockingTask
Returns the value of the object once the MethodBlockingTask.execute() method has returned, as set by the MethodBlockingTask.accept(Object) method.
retrieve() - Method in class org.jbrew.concurrent.ObjectBlockingTask
Returns the value of the object as soon it has been set by the MethodBlockingTask.accept(Object) method.
retrieve() - Method in class org.jbrew.concurrent.RetrievableTask
Returns the value of the obj in a ThreadSafe manner.
run() - Method in class org.jbrew.concurrent.BlockingTask
run() - Method in class org.jbrew.concurrent.MethodBlockingTask
 
run() - Method in class org.jbrew.concurrent.ObjectBlockingTask
 
run() - Method in class org.jbrew.concurrent.StandardTask
 

S

SerializableTask<T> - Interface in org.jbrew.concurrent.serializable
A POJO Serializable implementation of a Task.
setName(String) - Method in class org.jbrew.concurrent.BlockingTask
 
setName(String) - Method in interface org.jbrew.concurrent.Task
Sets the name of the Task.
StandardNonRetrievableTask - Class in org.jbrew.concurrent.standard
This is a standard implementation of the StandardTask.
StandardNonRetrievableTask() - Constructor for class org.jbrew.concurrent.standard.StandardNonRetrievableTask
 
StandardTask - Class in org.jbrew.concurrent
A StandardTask object is an abstract implementor of Task allowing for the object to be wrapped inside of a Thread and executed concurrently.
StandardTask() - Constructor for class org.jbrew.concurrent.StandardTask
 

T

Task<T> - Interface in org.jbrew.concurrent
A concrete Task is an object which has the ability to be wrapped inside of a Thread - in the same manner as a Runnable for multiple thread execution.
ThreadSafe - Annotation Type in org.jbrew.concurrent
Thread Safe Annotation
A B E G M O P R S T 
All Classes All Packages