Examples of NamingForkJoinWorkerFactory


Examples of co.paralleluniverse.concurrent.forkjoin.NamingForkJoinWorkerFactory

    public FiberScheduler(String name, int parallelism, MonitorType monitorType, boolean detailedInfo) {
        this(createForkJoinPool(name, parallelism, monitorType), detailedInfo);
    }

    private static ForkJoinPool createForkJoinPool(String name, int parallelism, MonitorType monitorType) {
        final MonitoredForkJoinPool fjPool = new MonitoredForkJoinPool(name, parallelism, new NamingForkJoinWorkerFactory(name), null, true);
        fjPool.setMonitor(createForkJoinPoolMonitor(name, fjPool, monitorType));
        return fjPool;
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.