Package jut.util.concurrent

utilities related to the java.util.concurrent package, taken from the java utility classes collection "jut".

See:
          Description

Class Summary
BlockingOpenIterable<T> consumer/producer utility class for asynchronous use. the producer(s) add items that are cached in a bounded cache - if the cache is full, the BlockingOpenIterable.addItem(Object) method waits for the consumer(s) to remove items. the consumer(s) remove items using the sole Iterator of this object, usually in a for (Itemtype item : blockingOpenIterable) loop.
BlockingThreadPool executor running tasks in a thread pool. other than any ThreadPoolExecutor, this executor's BlockingThreadPool.execute(Runnable) method blocks if the all threads are busy and the task queue is full. additionally, this executor can be configured to run tasks in the current thread instead of in a thread pool.
 

Package jut.util.concurrent Description

utilities related to the java.util.concurrent package, taken from the java utility classes collection "jut". "jut" is a collection of utility classes for Java that covers mostly simple things that the standard JDK just doesn't offer.

copyright (C) 2003-2009 Georg Dietrich

this utilities collection is designed along the following guidelines:

  1. the API should be well documented, easy to use, and the code should contain few bugs.
  2. the API should be stable and as flexible as possible while keeping the source code easily maintainable.