com.newrelic.agent.security.intcodeagent.executor.CustomScheduledThreadPoolExecutor Maven / Gradle / Ivy
package com.newrelic.agent.security.intcodeagent.executor;
import java.util.concurrent.*;
public class CustomScheduledThreadPoolExecutor extends ScheduledThreadPoolExecutor {
public CustomScheduledThreadPoolExecutor(int corePoolSize) {
super(corePoolSize);
}
public CustomScheduledThreadPoolExecutor(int corePoolSize, ThreadFactory threadFactory) {
super(corePoolSize, threadFactory);
}
public CustomScheduledThreadPoolExecutor(int corePoolSize, RejectedExecutionHandler handler) {
super(corePoolSize, handler);
}
public CustomScheduledThreadPoolExecutor(int corePoolSize, ThreadFactory threadFactory, RejectedExecutionHandler handler) {
super(corePoolSize, threadFactory, handler);
}
@Override
protected RunnableFuture newTaskFor(Runnable runnable, T value) {
return new CustomFutureTask<>(runnable, value);
}
@Override
protected RunnableFuture newTaskFor(Callable callable) {
return new CustomFutureTask<>(callable);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy