Package org.jbrew.concurrent
-
Interface Summary Interface Description Task<T> A concrete Task is an object which has the ability to be wrapped inside of aThread
- in the same manner as aRunnable
for multiple thread execution. -
Class Summary Class Description BlockingTask<T> AThreadSafe
implementation ofTask
.MethodBlockingTask<T> AMethodBlockingTask
blocksMethodBlockingTask.retrieve()
until theMethodBlockingTask.execute()
method has fully completed and terminated.ObjectBlockingTask<T> This implementation ofRetrievableTask
allows for theObjectBlockingTask.obj
to be unblocked as soon as theObjectBlockingTask.accept(Object)
method has been called.RetrievableTask<T> StandardTask AStandardTask
object is an abstract implementor ofTask
allowing for the object to be wrapped inside of aThread
and executed concurrently. -
Annotation Types Summary Annotation Type Description ThreadSafe Thread Safe Annotation