Package yalp.utils

Examples of yalp.utils.PThreadFactory


    }

    @Override
    public void onApplicationStart() {
        int core = Integer.parseInt(Yalp.configuration.getProperty("yalp.jobs.pool", "10"));
        executor = new ScheduledThreadPoolExecutor(core, new PThreadFactory("jobs"), new ThreadPoolExecutor.AbortPolicy());
    }
View Full Code Here

TOP

Related Classes of yalp.utils.PThreadFactory

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.