Package net.spy.concurrent

Concurrent Tools

See:
          Description

Interface Summary
RetryableCallable<V> Interface for callables that may need to be retried if unsuccessful.
ScheduledCompletionService<V> Extended completion service allowing future tasks to also be tracked.
SynchronizationObject.Predicate<T> Synchronization object predicate for evaluation in waitUntilTrue.
ThreadPoolRunnable Interface that flags a class as having overridden toString() for debug display in a thread list.
Transformer<F,T> Interface that defines a function that transforms a value of a certain type to a value of another type.
 

Class Summary
Mapper<F,T> Map a collection of objects with a given transformer.
Rescheduler ScheduledExecutorService wrapper that allows RetryableCallable objects to be retried upon failure.
RetryableExecutorCompletionService<V> CompletionService that honors RetryableCallable instances.
ScheduledExecutorCompletionService<V> Completion service that allows completion tracking on scheduled items as well as
SynchronizationObject<T> Object that will wait until a predicate determines that the value has been set to a particular value.
ThreadPool A producer/consumer thread pool for easy parallelism.
ThreadPoolObserver Receive notification of job completion.
TrackingScheduledExecutor ScheduledExecutorServer that uses WorkerThreads to track what's beging executed.
WorkerThread Thread that will perform the work for thread pools.
 

Exception Summary
CompositeExecutorException Execution exception thrown from a RetryableCallable get() when a failure has occurred.
 

Package net.spy.concurrent Description

Concurrent Tools



Copyright © 1995-2007 SPY Internetworking. All Rights Reserved.