return this;
}
public ScheduledExecutorService build() {
final ScheduledThreadPoolExecutor executor = new ScheduledThreadPoolExecutor(poolSize, threadFactory, handler);
environment.manage(new ExecutorServiceManager(executor, shutdownTime, nameFormat));
return executor;
}