public class FixedThreadPoolExecutorServices extends AbstractManagedExecutorServices
ExtendedExecutorServices that uses a fixed thread pool. The size of the underlying thread pool is
determined by executing Runtime.getRuntime().availableProcessors() + 1.ExecutorServices.TaskFactory<T>| Constructor and Description |
|---|
FixedThreadPoolExecutorServices(int threadPoolSize) |
| Modifier and Type | Method and Description |
|---|---|
java.util.concurrent.ExecutorService |
getTaskExecutor() |
int |
getThreadPoolSize() |
java.lang.String |
toString() |
cleanupcheckForExceptions, invokeAllAndCheckForExceptions, invokeAllAndCheckForExceptionspublic FixedThreadPoolExecutorServices(int threadPoolSize)
public java.util.concurrent.ExecutorService getTaskExecutor()
public int getThreadPoolSize()
getThreadPoolSize in class AbstractExecutorServicespublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2015. All Rights Reserved.