public static ExecutorService createFixedThreadPool(int poolSize, Class classType) { return createFixedThreadPool(poolSize, getName(classType)); }
public static ScheduledExecutorService createScheduledThreadPool(int poolSize, Class classType) { return createScheduledThreadPool(poolSize, getName(classType)); }
public static ExecutorService createCachedThreadPool(Class classType) { return createCachedThreadPool(getName(classType)); }
public static ScheduledExecutorService createScheduledThreadPool(int poolSize, String namePrefix) { return Executors.newScheduledThreadPool(poolSize, createThreadFactory(namePrefix)); }
AbstractServerConnector(SimulatorAddress localAddress, int port, int threadPoolSize) { this(localAddress, port, threadPoolSize, createScheduledThreadPool(threadPoolSize, "AbstractServerConnector")); }
public static ExecutorService createCachedThreadPool(String namePrefix) { return Executors.newCachedThreadPool(createThreadFactory(namePrefix)); }
public static ExecutorService createFixedThreadPool(int poolSize, Class classType) { return createFixedThreadPool(poolSize, getName(classType)); }
public static ExecutorService createCachedThreadPool(String namePrefix) { return Executors.newCachedThreadPool(createThreadFactory(namePrefix)); }
public static ExecutorService createFixedThreadPool(int poolSize, String namePrefix) { return Executors.newFixedThreadPool(poolSize, createThreadFactory(namePrefix)); }
public static ScheduledExecutorService createScheduledThreadPool(int poolSize, String namePrefix) { return Executors.newScheduledThreadPool(poolSize, createThreadFactory(namePrefix)); }
public static ExecutorService createFixedThreadPool(int poolSize, String namePrefix) { return Executors.newFixedThreadPool(poolSize, createThreadFactory(namePrefix)); }