public class SyncFastThreadPoolHolder
extends java.lang.Object
implements java.io.Closeable
| 构造器和说明 |
|---|
SyncFastThreadPoolHolder(java.lang.String threadPoolName,
int threadPoolSize)
Please let this class be a static field to reuse
If it's a local field, let it init in try-with-resources
|
public SyncFastThreadPoolHolder(java.lang.String threadPoolName,
int threadPoolSize)
threadPoolName - the name of this thread pool, don't let it be conflicted and blankthreadPoolSize - the size of this thread pool. The core size is equals to the max size