Package | Description |
---|---|
org.jbrew.concurrent |
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 |
BoundedTaskQueue
A
BoundedTaskQueue is an unordered, bounded implementation of a AbstractBlockingTaskQueue . |
class |
UnboundedTaskQueue
A
BoundedTaskQueue is an unordered, unbounded implementation of a TaskQueue . |
Modifier and Type | Method and Description |
---|---|
protected abstract void |
RetrievableTask.accept(T obj)
Sets the value of the
obj in a ThreadSafe manner. |
abstract T |
RetrievableTask.retrieve()
Returns the value of the
obj in a ThreadSafe manner. |
Copyright © 2020. All rights reserved.