new ScheduledFutureTask<Object>(task, null, null, null, triggerTime);
super.getQueue().add(t);
}
protected void preExecute(ManagedFutureTask<?> task) {
ManagedTaskListenerSupport listenerSupport = task.getManagedTaskListenerSupport();
if (listenerSupport != null) {
listenerSupport.taskSubmitted(task);
}
if (isShutdown()) {
try {
reject(task);
} catch (RejectedExecutionException exception) {
if (listenerSupport != null) {
listenerSupport.taskDone(task, exception);
}
throw exception;
}
return;
}