| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private static final String | |
| private static final String | |
| private final ExecutorService | |
| private final boolean | |
| private final int |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv static ThreadPool | |
| pack-priv static ThreadPool | |
| pack-priv static ThreadFactory | |
| pack-priv ExecutorService | |
| pack-priv static ThreadPool | |
| private static int | |
| private static ThreadFactory | |
| pack-priv boolean | |
| pack-priv int | |
| public static ThreadPool |
| DEFAULT_THREAD_POOL_INITIAL_SIZE | back to summary |
|---|---|
| private static final String DEFAULT_THREAD_POOL_INITIAL_SIZE | |
| DEFAULT_THREAD_POOL_THREAD_FACTORY | back to summary |
|---|---|
| private static final String DEFAULT_THREAD_POOL_THREAD_FACTORY | |
| executor | back to summary |
|---|---|
| private final ExecutorService executor | |
| isFixed | back to summary |
|---|---|
| private final boolean isFixed | |
| poolSize | back to summary |
|---|---|
| private final int poolSize | |
| ThreadPool | back to summary |
|---|---|
| private ThreadPool(ExecutorService executor, boolean isFixed, int poolSize) | |
| create | back to summary |
|---|---|
| pack-priv static ThreadPool create(int nThreads, ThreadFactory factory) | |
| createDefault | back to summary |
|---|---|
| pack-priv static ThreadPool createDefault() | |
| defaultThreadFactory | back to summary |
|---|---|
| pack-priv static ThreadFactory defaultThreadFactory() | |
| executor | back to summary |
|---|---|
| pack-priv ExecutorService executor() | |
| getDefault | back to summary |
|---|---|
| pack-priv static ThreadPool getDefault() | |
| getDefaultThreadPoolInitialSize | back to summary |
|---|---|
| private static int getDefaultThreadPoolInitialSize() | |
| getDefaultThreadPoolThreadFactory | back to summary |
|---|---|
| private static ThreadFactory getDefaultThreadPoolThreadFactory() | |
| isFixedThreadPool | back to summary |
|---|---|
| pack-priv boolean isFixedThreadPool() | |
| poolSize | back to summary |
|---|---|
| pack-priv int poolSize() | |
| wrap | back to summary |
|---|---|
| public static ThreadPool wrap(ExecutorService executor, int initialSize) | |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv static final ThreadPool |
| Access | Constructor and Description |
|---|---|
| private |
| defaultThreadPool | back to summary |
|---|---|
| pack-priv static final ThreadPool defaultThreadPool | |
| DefaultThreadPoolHolder | back to summary |
|---|---|
| private DefaultThreadPoolHolder() | |