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 org.apache.nutch.api.impl.NutchServerPoolExecutor.java

public class NutchServerPoolExecutor extends ThreadPoolExecutor {

    private Queue<JobWorker> workersHistory;
    private Queue<JobWorker> runningWorkers;

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

From source file org.apache.tomcat.util.threads.ThreadPoolExecutor.java

/**
 * Same as a java.util.concurrent.ThreadPoolExecutor but implements a much more efficient
 * {@link #getSubmittedCount()} method, to be used to properly handle the work queue.
 * If a RejectedExecutionHandler is not specified a default one will be configured
 * and that one will always throw a RejectedExecutionException
 * @author fhanik

From source file org.hyperic.hq.livedata.server.session.LiveDataExecutor.java

public class LiveDataExecutor extends ThreadPoolExecutor {

    private static Log _log = LogFactory.getLog(LiveDataExecutor.class);

    private static final int THREAD_MAX = 30;

From source file org.helios.netty.jmx.ThreadPoolFactory.java

/**
 * <p>Title: ThreadPoolFactory</p>
 * <p>Description: JMX instrumented thread pool executor factory</p> 
 * <p>Company: Helios Development Group LLC</p>
 * @author Whitehead (nwhitehead AT heliosdev DOT org)
 * <p><code>org.helios.netty.jmx.ThreadPoolFactory</code></p>

From source file org.pieShare.pieTools.pieUtilities.service.pieExecutorService.PieExecutorService.java

/**
 *
 * @author Svetoslav
 */
//todo: read up why extending was the better move and document; check also git comments for hints
public class PieExecutorService extends ThreadPoolExecutor implements IExecutorService, IShutdownableService {

From source file com.azaptree.services.executor.ThreadPoolExecutor.java

@Component
@ManagedResource
public class ThreadPoolExecutor extends java.util.concurrent.ThreadPoolExecutor
        implements PausableThreadPoolExecutor, BeanNameAware, ThreadPoolExecutorJmxApi {
    private String name;

From source file metlos.executors.batch.BatchExecutor.java

/**
 * This is an extension of the {@link ThreadPoolExecutor} that add 4 new methods:
 * <ul>
 * <li> {@link #invokeAllWithin(Collection, long, TimeUnit)}
 * <li> {@link #executeAllWithin(Collection, long, TimeUnit)}
 * <li> {@link #submitWithPreferedDuration(Collection, long, TimeUnit)}

From source file com.taobao.metamorphosis.gregor.slave.OrderedThreadPoolExecutor.java

/**
 * minaOrderedThreadPoolExecutornotify remoting
 * 
 * @author boyan
 * @Date 2011-4-27
 *