Searched refs:RejectedExecutionHandler (Results 1 – 7 of 7) sorted by relevance
15 public interface RejectedExecutionHandler { interface
483 private volatile RejectedExecutionHandler handler;516 private static final RejectedExecutionHandler defaultHandler =1234 RejectedExecutionHandler handler) { in ThreadPoolExecutor()1272 RejectedExecutionHandler handler) { in ThreadPoolExecutor()1476 public void setRejectedExecutionHandler(RejectedExecutionHandler handler) { in setRejectedExecutionHandler()1488 public RejectedExecutionHandler getRejectedExecutionHandler() { in getRejectedExecutionHandler()1973 public static class CallerRunsPolicy implements RejectedExecutionHandler {1997 public static class AbortPolicy implements RejectedExecutionHandler {2021 public static class DiscardPolicy implements RejectedExecutionHandler {2042 public static class DiscardOldestPolicy implements RejectedExecutionHandler {
433 RejectedExecutionHandler handler) { in ScheduledThreadPoolExecutor()454 RejectedExecutionHandler handler) { in ScheduledThreadPoolExecutor()
145 RejectedExecutionHandler handler) { in CustomTPE()155 RejectedExecutionHandler handler) { in CustomTPE()365 RejectedExecutionHandler h = new NoOpREHandler(); in testGetRejectedExecutionHandler()377 RejectedExecutionHandler h = new NoOpREHandler(); in testSetRejectedExecutionHandler()891 RejectedExecutionHandler r = null; in testConstructorNullPointerException5()962 RejectedExecutionHandler r = null; in testConstructorNullPointerException7()1015 RejectedExecutionHandler h = new CustomTPE.CallerRunsPolicy(); in testSaturatedExecute2()1040 RejectedExecutionHandler h = new CustomTPE.DiscardPolicy(); in testSaturatedExecute3()1065 RejectedExecutionHandler h = new CustomTPE.DiscardOldestPolicy(); in testSaturatedExecute4()1101 RejectedExecutionHandler h = new CustomTPE.CallerRunsPolicy(); in testCallerRunsOnShutdown()[all …]
248 final RejectedExecutionHandler h = new NoOpREHandler(); in testGetRejectedExecutionHandler()267 RejectedExecutionHandler h = new NoOpREHandler(); in testSetRejectedExecutionHandler()874 (RejectedExecutionHandler) null); in testConstructorNullPointerException5()972 (RejectedExecutionHandler) null); in testConstructorNullPointerException7()1114 RejectedExecutionHandler h = new ThreadPoolExecutor.CallerRunsPolicy(); in testSaturatedExecute2()1141 RejectedExecutionHandler h = new ThreadPoolExecutor.DiscardPolicy(); in testSaturatedExecute3()1166 RejectedExecutionHandler h = new ThreadPoolExecutor.DiscardOldestPolicy(); in testSaturatedExecute4()1208 RejectedExecutionHandler h = new ThreadPoolExecutor.CallerRunsPolicy(); in testCallerRunsOnShutdown()1228 RejectedExecutionHandler h = new ThreadPoolExecutor.DiscardPolicy(); in testDiscardOnShutdown()1249 RejectedExecutionHandler h = new ThreadPoolExecutor.DiscardOldestPolicy(); in testDiscardOldestOnShutdown()
57 CustomExecutor(int corePoolSize, RejectedExecutionHandler handler) { in CustomExecutor()65 RejectedExecutionHandler handler) { in CustomExecutor()
1031 public static class NoOpREHandler implements RejectedExecutionHandler {