Package com.alibaba.asyncload.impl.pool

Examples of com.alibaba.asyncload.impl.pool.NamedThreadFactory


        if (isInit == false) {
            RejectedExecutionHandler handler = getHandler(mode);
            BlockingQueue queue = getBlockingQueue(acceptCount, mode);
            // 构造pool池
            this.pool = new AsyncLoadThreadPool(poolSize, poolSize, 0L, TimeUnit.MILLISECONDS, queue,
                                                new NamedThreadFactory(), handler);

            isInit = true;
        }
    }
View Full Code Here

TOP

Related Classes of com.alibaba.asyncload.impl.pool.NamedThreadFactory

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.