Package org.sape.carbon.services.threadpool

Interface Summary
TaskCallback This interface should be implemented by clients who want to take some action when a task is complete.
TaskInfo An object that implements this interface is returned by the ThreadPool execute methods.
ThreadPool Thread pool components manage a number of Threads that can be used to execute miscellaneous tasks.
ThreadPoolConfiguration Configuration for the DefaultThreadPoolImpl.
 

Class Summary
DefaultThreadPoolImpl This implementation of ThreadPool relys on Doug Lea's PooledExecutor thread pool thread pool implementation.
QueueFullPolicyEnum This Class enumerates the different policies that can be used when the thread pool queue is full and a client attempts to queue a task.
TaskInfoImpl Besides supplying the functionality described by the TaskInfo interface, this implementation also is responsible for making callbacks using the TaskCallback interface if a callback has been specified.
TaskStatusEnum This class enumerates the possible task states.
 

Exception Summary
QueueFullPolicyEnum.QueueFullPolicyEnumNotFoundException This class is a typesafe retriever exception for an enumeration
TaskStatusEnum.TaskStatusEnumNotFoundException This class is a typesafe retriever exception for an enumeration
ThreadPoolRuntimeException Exception thrown when there is a problem queuing a task for execution.
 



Copyright 1999-2003 Sapient Corporation. All Rights Reserved.