Home
last modified time | relevance | path

Searched refs:RejectedExecutionHandler (Results 1 – 7 of 7) sorted by relevance

/libcore/luni/src/main/java/java/util/concurrent/
DRejectedExecutionHandler.java15 public interface RejectedExecutionHandler { interface
DThreadPoolExecutor.java483 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 {
DScheduledThreadPoolExecutor.java433 RejectedExecutionHandler handler) { in ScheduledThreadPoolExecutor()
454 RejectedExecutionHandler handler) { in ScheduledThreadPoolExecutor()
/libcore/jsr166-tests/src/test/java/jsr166/
DThreadPoolExecutorSubclassTest.java145 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 …]
DThreadPoolExecutorTest.java248 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()
DScheduledExecutorSubclassTest.java57 CustomExecutor(int corePoolSize, RejectedExecutionHandler handler) { in CustomExecutor()
65 RejectedExecutionHandler handler) { in CustomExecutor()
DJSR166TestCase.java1031 public static class NoOpREHandler implements RejectedExecutionHandler {