![JAR search and dependency download from the Maven repository](/logo.png)
com.github.hippo.threadpool.HippoClientProcessPool Maven / Gradle / Ivy
package com.github.hippo.threadpool;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
/**
* client thread pool
*
* @author sl
*
*/
public enum HippoClientProcessPool {
INSTANCE;
private ExecutorService EXECUTORSERVICE =
Executors.newFixedThreadPool(Runtime.getRuntime().availableProcessors() * 3 + 2);
public ExecutorService getPool() {
return EXECUTORSERVICE;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy