}
+ @Override
public void execute(Runnable command, long timeout, TimeUnit unit) {
if ( executor != null ) {
executor.execute(command,timeout,unit);
}
+ @Override
public void execute(Runnable command) {
if ( executor != null ) {
try {
return maxIdleTime;
}
+ @Override
public int getMaxThreads() {
return maxThreads;
}
return minSpareThreads;
}
+ @Override
public String getName() {
return name;
}
}
// Statistics from the thread pool
+ @Override
public int getActiveCount() {
return (executor != null) ? executor.getActiveCount() : 0;
}
return (executor != null) ? executor.getLargestPoolSize() : 0;
}
+ @Override
public int getPoolSize() {
return (executor != null) ? executor.getPoolSize() : 0;
}