Package com.hammurapi.util.concurrent

Interface Summary
CallableListener<V> Callback interface for callable execution.
NotifyingFuture<V> Notifies callable listeners about callable invocation.
TaskCounter Callback interface for tasks created by synapses.
 

Class Summary
CountedRunnable This class increments counter when created and decrements when run() method exits.
CountedRunnable.Counter Counter to use with CounterRunnable.
NonBlockingFutureTask<V> Future task which cannot block in get() indefinitely.
NonBlockingNotifyingFutureTask<V> Future task which cannot block in get() indefinitely.
OneOffCallable<T> Callable which callInternal() method is invoked only once.