protected void init() { if (threadDecorator != null) pool.setThreadDecorator(threadDecorator); // pool.allowCoreThreadTimeOut(true); startRunner(); }
public void setThreadDecorator(ThreadDecorator threadDecorator) { this.threadDecorator = threadDecorator; pool.setThreadDecorator(threadDecorator); }