Package xbird.util.concurrent

Examples of xbird.util.concurrent.DirectExecutorService


    public TransferServer(@Nonnull int numWorkers, @CheckForNull TransferRequestListener handler) {
        this(numWorkers, Thread.NORM_PRIORITY, handler);
    }

    public TransferServer(@Nonnull int numWorkers, int threadPriority, @CheckForNull TransferRequestListener handler) {
        this((numWorkers == 0) ? new DirectExecutorService()
                : ExecutorFactory.newFixedThreadPool(numWorkers, "XferRequestHandler", threadPriority, true), handler);
    }
View Full Code Here

TOP

Related Classes of xbird.util.concurrent.DirectExecutorService

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.