}
}
public synchronized void setKeepAlive(TimeSpec keepAliveSpec) {
keepAlive = keepAliveSpec;
final QueuelessExecutor executor = this.executor;
if(executor != null) {
long keepAlive = keepAliveSpec == null ? Long.MAX_VALUE : keepAliveSpec.getDuration();
executor.setKeepAliveTime(keepAlive);
}
}