Package org.qiunet.utils.timer.executor
package org.qiunet.utils.timer.executor
-
ClassDescriptionA handler for tasks that cannot be executed by a
DThreadPoolExecutor.ADThreadPoolExecutorthat can additionally schedule commands to run after a given delay, or to execute periodically.AnExecutorServicethat executes each submitted task using one of possibly several pooled threads, normally configured usingExecutorsfactory methods.A handler for rejected tasks that throws aRejectedExecutionException.A handler for rejected tasks that runs the rejected task directly in the calling thread of theexecutemethod, unless the executor has been shut down, in which case the task is discarded.A handler for rejected tasks that discards the oldest unhandled request and then retriesexecute, unless the executor is shut down, in which case the task is discarded.A handler for rejected tasks that silently discards the rejected task.