Creates a new {@code ScheduledThreadPoolExecutor} with the
given core pool size.
@param corePoolSize the number of threads to keep in the pool, even
if they are idle, unless {@code allowCoreThreadTimeOut} is set
@throws IllegalArgumentException if {@code corePoolSize < 0}
Creates a new {@code ScheduledThreadPoolExecutor} with the given core pool size.
@param corePoolSize the number of threads to keep in the pool, even if they are idle, unless {@code allowCoreThreadTimeOut} is set @throws IllegalArgumentException if {@code corePoolSize < 0}