Package org.uncommons.util.concurrent

Examples of org.uncommons.util.concurrent.ConfigurableThreadFactory


    /**
     * @param daemonWorkerThreads If true, any worker threads created will be daemon threads.
     */
    private FitnessEvaluationWorker(boolean daemonWorkerThreads)
    {
        ConfigurableThreadFactory threadFactory = new ConfigurableThreadFactory(WORKER_ID_SOURCE.nextID(),
                                                                                Thread.NORM_PRIORITY,
                                                                                daemonWorkerThreads);
        this.executor = new ThreadPoolExecutor(Runtime.getRuntime().availableProcessors(),
                                               Runtime.getRuntime().availableProcessors(),
                                               60,
View Full Code Here

TOP

Related Classes of org.uncommons.util.concurrent.ConfigurableThreadFactory

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.