/** * Get the rejecting executor service. This executor will reject any task submitted to it with the given message. * It cannot be shut down. * * @param message the reject message * @return the rejecting executor service instance */ public static DirectExecutorService rejectingExecutorService(final String message) { return protectedDirectExecutorService(rejectingExecutor(message)); }
/** * Get the rejecting executor service. This executor will reject any task submitted to it with the given message. * It cannot be shut down. * * @param message the reject message * @return the rejecting executor service instance */ public static DirectExecutorService rejectingExecutorService(final String message) { return protectedDirectExecutorService(rejectingExecutor(message)); }
/** * Get the rejecting executor service. This executor will reject any task submitted to it with the given message. * It cannot be shut down. * * @param message the reject message * @return the rejecting executor service instance */ public static DirectExecutorService rejectingExecutorService(final String message) { return protectedDirectExecutorService(rejectingExecutor(message)); }