Package | Description |
---|---|
org.jbrew.concurrent | |
org.jbrew.concurrent.serializable | |
org.jbrew.concurrent.standard |
Modifier and Type | Interface and Description |
---|---|
interface |
TaskQueue<T extends Task<? extends Object>>
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractTask<T>
This class provides a skeletal, implementation of the
Task interface,
to minimize the effort required to implement this interface. |
class |
BasicTask
|
class |
MethodBlockingTask<T>
A
MethodBlockingTask blocks MethodBlockingTask.retrieve() until the MethodBlockingTask.execute()
method has fully completed and terminated. |
class |
ObjectBlockingTask<T>
This implementation of
RetrievableTask allows for the obj to
be unblocked as soon as the ObjectBlockingTask.accept(Object) method has been
called. |
class |
RetrievableTask<T>
A
AbstractTask that returns a result. |
Modifier and Type | Field and Description |
---|---|
protected Queue<Task<? extends Object>> |
AbstractBlockingTaskQueue.queue |
Modifier and Type | Method and Description |
---|---|
Task<? extends Object> |
AbstractBlockingTaskQueue.dequeue() |
Task<?> |
TaskRegistry.pollTask() |
Task<?> |
TaskRegister.pollTask() |
Modifier and Type | Method and Description |
---|---|
int |
TaskComparator.compare(Task<?> o1,
Task<?> o2) |
int |
TaskComparator.compare(Task<?> o1,
Task<?> o2) |
void |
BoundedTaskQueue.enqueue(Task<? extends Object> task) |
void |
UnboundedTaskQueue.enqueue(Task<? extends Object> task) |
void |
TaskRegistry.offer(Task<?>... tasks)
Inserts the specified element into this
TaskRegistry . |
void |
TaskRegister.offer(Task<?>... tasks)
Inserts the specified element into this
TaskRegistry . |
void |
TaskRegistry.offer(Task<?> task)
Inserts the specified element into this
TaskRegistry . |
void |
TaskRegister.offer(Task<?> task) |
boolean |
TaskRegistry.remove(Task<?> task)
Removes a single instance of the specified
Task from this TaskRegistry ,
if it is present. |
boolean |
TaskRegister.remove(Task<?> task) |
Modifier and Type | Interface and Description |
---|---|
interface |
SerializableTask<T>
A POJO Serializable implementation of a
Task . |
Modifier and Type | Class and Description |
---|---|
class |
StandardNonRetrievableTask
This is a standard implementation of the BasicTask.
|
Copyright © 2020. All rights reserved.