Skip navigation links
A B C D E G I M O P Q R S T U 

A

AbstractBlockingTaskQueue - Class in org.jbrew.concurrent
A AbstractBlockingTaskQueue provides a skeletal implementation of the TaskQueue interface.
AbstractBlockingTaskQueue() - Constructor for class org.jbrew.concurrent.AbstractBlockingTaskQueue
 
AbstractTask<T> - Class in org.jbrew.concurrent
This class provides a skeletal, implementation of the Task interface, to minimize the effort required to implement this interface.
AbstractTask() - Constructor for class org.jbrew.concurrent.AbstractTask
Default constructor for AbstractTaskblocking which assigns AbstractTask.printThreadId to false and the AbstractTask.name to the AbstractTask.DEFAULT_NAME.
AbstractTask(boolean) - Constructor for class org.jbrew.concurrent.AbstractTask
A constructor for AbstractTask which includes an option to assign the boolean AbstractTask.printThreadId's value.
AbstractTask(String) - Constructor for class org.jbrew.concurrent.AbstractTask
A constructor for AbstractTask which includes an option to assign the String AbstractTask.name's value.
AbstractTask(boolean, String) - Constructor for class org.jbrew.concurrent.AbstractTask
A constructor for AbstractTask which includes an option to assign the String AbstractTask.name's value, as well as the boolean AbstractTask.printThreadId's value.
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.
add(int, int) - Method in class org.jbrew.jni.validator.BasicMathValidator
Adds the integers together and returns the result.
addCBrew(int, int) - Method in class org.jbrew.cbrew.validator.BasicMathValidatorCBrew
Adds the integers together and returns the result.
addNative(int, int) - Method in class org.jbrew.cbrew.validator.BasicMathValidatorCBrew
 

B

BasicMathValidator - Class in org.jbrew.jni.validator
 
BasicMathValidator() - Constructor for class org.jbrew.jni.validator.BasicMathValidator
 
BasicMathValidatorCBrew - Class in org.jbrew.cbrew.validator
 
BasicMathValidatorCBrew() - Constructor for class org.jbrew.cbrew.validator.BasicMathValidatorCBrew
 
BasicTask - Class in org.jbrew.concurrent
A BasicTask object is an abstract implementor of Task allowing for the object to be wrapped inside of a Thread and executed concurrently.
BasicTask() - Constructor for class org.jbrew.concurrent.BasicTask
 
BoundedTaskQueue - Class in org.jbrew.concurrent
A BoundedTaskQueue is an unordered, bounded implementation of a AbstractBlockingTaskQueue.
BoundedTaskQueue(int) - Constructor for class org.jbrew.concurrent.BoundedTaskQueue
 

C

compare(Task<?>, Task<?>) - Method in class org.jbrew.concurrent.TaskComparator
 

D

dequeue() - Method in class org.jbrew.concurrent.AbstractBlockingTaskQueue
 
dequeue() - Method in interface org.jbrew.concurrent.TaskQueue
Removes an element from the tail of the queue and returns it.

E

enqueue(Task<? extends Object>) - Method in class org.jbrew.concurrent.BoundedTaskQueue
 
enqueue(T) - Method in interface org.jbrew.concurrent.TaskQueue
Adds an element to the head of the queue.
enqueue(Task<? extends Object>) - Method in class org.jbrew.concurrent.UnboundedTaskQueue
 
execute() - Method in class org.jbrew.concurrent.AbstractTask
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

getCapacity() - Method in class org.jbrew.concurrent.BoundedTaskQueue
 
getName() - Method in class org.jbrew.concurrent.AbstractTask
 
getName() - Method in interface org.jbrew.concurrent.Task
 
getPriority() - Method in class org.jbrew.concurrent.AbstractTask
 
getPriority() - Method in interface org.jbrew.concurrent.Task
 
getRegistrySize() - Method in class org.jbrew.concurrent.TaskRegister
Returns the size of the TaskRegistry, represented as a signed 8, 16, or 32 bit integer.
getRegistrySize() - Method in interface org.jbrew.concurrent.TaskRegistry
 
getThreadId() - Method in class org.jbrew.concurrent.AbstractTask
Returns the id long of the Task's current thread.
getThreadId() - Method in interface org.jbrew.concurrent.Task
 

I

interruptAll() - Method in class org.jbrew.concurrent.TaskRegister
interuptAll() implementation is the subject of (#79), and as such MAY be addressed prior to release of v0.1.0.
interruptAll() - Method in interface org.jbrew.concurrent.TaskRegistry
 

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
 
multiply(int, int) - Method in class org.jbrew.jni.validator.BasicMathValidator
Multiplies the integers together and returns the result.
multiplyCBrew(int, int) - Method in class org.jbrew.cbrew.validator.BasicMathValidatorCBrew
Multiplies the integers together and returns the result.
multNative(int, int) - Method in class org.jbrew.cbrew.validator.BasicMathValidatorCBrew
 

O

ObjectBlockingTask<T> - Class in org.jbrew.concurrent
This implementation of RetrievableTask allows for the obj to be unblocked as soon as the ObjectBlockingTask.accept(Object) method has been called.
ObjectBlockingTask() - Constructor for class org.jbrew.concurrent.ObjectBlockingTask
 
offer(Task<?>) - Method in class org.jbrew.concurrent.TaskRegister
 
offer(Task<?>...) - Method in class org.jbrew.concurrent.TaskRegister
Inserts the specified element into this TaskRegistry.
offer(Task<?>) - Method in interface org.jbrew.concurrent.TaskRegistry
Inserts the specified element into this TaskRegistry.
offer(Task<?>...) - Method in interface org.jbrew.concurrent.TaskRegistry
Inserts the specified element into this TaskRegistry.
org.jbrew.cbrew.validator - package org.jbrew.cbrew.validator
 
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
 
org.jbrew.core.annotations - package org.jbrew.core.annotations
 
org.jbrew.jni.validator - package org.jbrew.jni.validator
 

P

pollTask() - Method in class org.jbrew.concurrent.TaskRegister
 
pollTask() - Method in interface org.jbrew.concurrent.TaskRegistry
 
printThreadIdFlag - Variable in class org.jbrew.concurrent.RetrievableTask
 

Q

queue - Variable in class org.jbrew.concurrent.AbstractBlockingTaskQueue
 

R

remove(Task<?>) - Method in class org.jbrew.concurrent.TaskRegister
 
remove(Task<?>) - Method in interface org.jbrew.concurrent.TaskRegistry
Removes a single instance of the specified Task from this TaskRegistry, if it is present.
RetrievableTask<T> - Class in org.jbrew.concurrent
A AbstractTask that returns a result.
RetrievableTask() - Constructor for class org.jbrew.concurrent.RetrievableTask
The default, noargs 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.AbstractTask
run() - Method in class org.jbrew.concurrent.BasicTask
 
run() - Method in class org.jbrew.concurrent.MethodBlockingTask
 
run() - Method in class org.jbrew.concurrent.ObjectBlockingTask
 

S

sayHi() - Method in class org.jbrew.cbrew.validator.SayHiCBrew
 
SayHi - Class in org.jbrew.jni.validator
A demonstration class which simply prints a char* to the console.
SayHi() - Constructor for class org.jbrew.jni.validator.SayHi
 
sayHi() - Method in class org.jbrew.jni.validator.SayHi
 
SayHiCBrew - Class in org.jbrew.cbrew.validator
A demonstration class which simply prints a char* to the console.
SayHiCBrew() - Constructor for class org.jbrew.cbrew.validator.SayHiCBrew
 
sayHiJava() - Method in class org.jbrew.cbrew.validator.SayHiCBrew
 
sayHiJava() - Method in class org.jbrew.jni.validator.SayHi
 
SerializableTask<T> - Interface in org.jbrew.concurrent.serializable
A POJO Serializable implementation of a Task.
setName(String) - Method in class org.jbrew.concurrent.AbstractTask
 
setName(String) - Method in interface org.jbrew.concurrent.Task
Sets the name of the Task.
setPriority(int) - Method in class org.jbrew.concurrent.AbstractTask
 
setPriority(int) - Method in interface org.jbrew.concurrent.Task
 
StandardNonRetrievableTask - Class in org.jbrew.concurrent.standard
This is a standard implementation of the BasicTask.
StandardNonRetrievableTask() - Constructor for class org.jbrew.concurrent.standard.StandardNonRetrievableTask
 
subNative(int, int) - Method in class org.jbrew.cbrew.validator.BasicMathValidatorCBrew
 
subtract(int, int) - Method in class org.jbrew.jni.validator.BasicMathValidator
Subtracts the integers together and returns the result.
subtractCBrew(int, int) - Method in class org.jbrew.cbrew.validator.BasicMathValidatorCBrew
Subtracts the integers together and returns the result.

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.
TaskComparator - Class in org.jbrew.concurrent
A TaskComparator class performs priority-sensitive Task comparison.
TaskComparator() - Constructor for class org.jbrew.concurrent.TaskComparator
 
TaskQueue<T extends Task<? extends Object>> - Interface in org.jbrew.concurrent
A TaskQueue is a set of ordered or unordered Tasks placed into a custom queue which can be operated by producers or consumers in one or more Thread.
TaskRegister - Class in org.jbrew.concurrent
 
TaskRegister() - Constructor for class org.jbrew.concurrent.TaskRegister
 
TaskRegistry - Interface in org.jbrew.concurrent
A TaskRegistry is an interface specifying the requirements for a "register" or collection of Tasks.
Testing - Annotation Type in org.jbrew.core.annotations
This annotation denotes the current class as a Testing class.
ThreadSafe - Annotation Type in org.jbrew.core.annotations
Thread Safe Annotation

U

UnboundedTaskQueue - Class in org.jbrew.concurrent
A BoundedTaskQueue is an unordered, unbounded implementation of a TaskQueue.
UnboundedTaskQueue() - Constructor for class org.jbrew.concurrent.UnboundedTaskQueue
 
UnderDevelopmentInvestigation - Annotation Type in org.jbrew.core.annotations
 
A B C D E G I M O P Q R S T U 
Skip navigation links

Copyright © 2020. All rights reserved.