Example usage for java.util.concurrent ThreadPoolExecutor subclass-usage

List of usage examples for java.util.concurrent ThreadPoolExecutor subclass-usage

Introduction

In this page you can find the example usage for java.util.concurrent ThreadPoolExecutor subclass-usage.

Usage

From source file com.agapple.asyncload.impl.pool.AsyncLoadThreadPool.java

/**
 * J.U.CThreadPoolExecutor?
 * 
 * <pre>
 * 1. newTaskFor{@linkplain AsyncLoadFuture}
 * 2. PoolWorker?caller ThreadthreadLocal?

From source file biospectra.utils.BlockingExecutor.java

/**
 * An executor which blocks and prevents further tasks from being submitted to
 * the pool when the queue is full.
 * <p>
 * Based on the BoundedExecutor example in: Brian Goetz, 2006. Java Concurrency
 * in Practice. (Listing 8.4)

From source file nblair.pipeline.PipelineThreadPoolExecutor.java

/**
 * Sub class of {@link ThreadPoolExecutor} tailored for {@link AbstractMigrationStep}.
 *  
 * @author Nicholas Blair
 */
public class PipelineThreadPoolExecutor extends ThreadPoolExecutor {

From source file com.fatwire.dta.sscrawler.RenderingThreadPool.java

public class RenderingThreadPool extends ThreadPoolExecutor implements RenderingThreadPoolMBean {
    private final Log log = LogFactory.getLog(getClass());

    private final Set<FinishedListener> listeners = new CopyOnWriteArraySet<FinishedListener>();

    public RenderingThreadPool(final int threadSize) {

From source file org.wso2.carbon.ml.core.utils.BlockingExecutor.java

/**
 * An executor which blocks and prevents further tasks from being submitted to the pool when the queue is full.
 * <p>
 * Based on the BoundedExecutor example in: Brian Goetz, 2006. Java Concurrency in Practice. (Listing 8.4)
 */
public class BlockingExecutor extends ThreadPoolExecutor {

From source file com.clustercontrol.commons.util.MonitoredThreadPoolExecutor.java

/**
 * ??????<br/>
 */
public class MonitoredThreadPoolExecutor extends ThreadPoolExecutor {

    private static final Log log = LogFactory.getLog(MonitoredThreadPoolExecutor.class);

From source file org.alfresco.extension.bulkfilesystemimport.impl.BulkFilesystemImporterThreadPoolExecutor.java

/**
 * This class provides a simplified <code>ThreadPoolExecutor</code> that uses sensible defaults for the bulk filesystem import tool.
 *
 * @author Peter Monks (pmonks@alfresco.com)
 */
public class BulkFilesystemImporterThreadPoolExecutor extends ThreadPoolExecutor {

From source file org.geowebcache.seed.SeederThreadPoolExecutor.java

public class SeederThreadPoolExecutor extends ThreadPoolExecutor implements DisposableBean {

    private static final Log log = LogFactory.getLog(SeederThreadPoolExecutor.class);

    private static final ThreadFactory tf = new CustomizableThreadFactory("GWC Seeder Thread-");

From source file com.linuxbox.util.threadpool.ThreadPoolExecutorWithAspects.java

public class ThreadPoolExecutorWithAspects extends ThreadPoolExecutor {
    protected final static Log LOGGER = LogFactory.getLog("com.linuxbox.enkive.mailprocessor");

    private ThreadAspects threadAspects;

    public ThreadPoolExecutorWithAspects(int corePoolSize, int maximumPoolSize, long keepAliveTime, TimeUnit unit,

From source file org.apache.hadoop.util.concurrent.HadoopThreadPoolExecutor.java

/** An extension of ThreadPoolExecutor that provides additional functionality.
 *  */
public final class HadoopThreadPoolExecutor extends ThreadPoolExecutor {

    private static final Log LOG = LogFactory.getLog(HadoopThreadPoolExecutor.class);