}
}
public synchronized void setKeepAlive(final TimeSpec keepAlive) {
this.keepAlive = keepAlive;
final JBossThreadPoolExecutor executor = this.executor;
if(executor != null) {
executor.setKeepAliveTime(keepAlive.getDuration(), keepAlive.getUnit());
}
}