Package org.compass.core.util.concurrent

Class Summary
ForceQueuePolicy A handler for rejected tasks that adds the specified element to this queue, waiting if necessary for space to become available.
ScalingExecutros  
ScalingQueue<E> A scaling queue that works with a ThreadPoolExecutor in when offerring which takes the active count and the max threads into account.
ScalingThreadPoolExecutor Extends a ThreadPoolExecutor and gives better performance when asking for the ScalingThreadPoolExecutor.getActiveCount().
SingleThreadThreadFactory  
TimedBlockingPolicy A handler for rejected tasks that inserts the specified element into this queue, waiting if necessary up to the specified wait time for space to become available.
 



Copyright (c) 2004-2008 The Compass Project.