Home
last modified time | relevance | path

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

/libcore/ojluni/annotations/hiddenapi/java/util/concurrent/
DThreadPoolExecutor.java68 java.util.concurrent.RejectedExecutionHandler handler) { in ThreadPoolExecutor()
79 java.util.concurrent.RejectedExecutionHandler handler) { in ThreadPoolExecutor()
221 public void setRejectedExecutionHandler(java.util.concurrent.RejectedExecutionHandler handler) { in setRejectedExecutionHandler()
225 public java.util.concurrent.RejectedExecutionHandler getRejectedExecutionHandler() { in getRejectedExecutionHandler()
352 private static final java.util.concurrent.RejectedExecutionHandler defaultHandler;
358 private volatile java.util.concurrent.RejectedExecutionHandler handler;
400 public static class AbortPolicy implements java.util.concurrent.RejectedExecutionHandler {
413 public static class CallerRunsPolicy implements java.util.concurrent.RejectedExecutionHandler {
427 implements java.util.concurrent.RejectedExecutionHandler {
440 public static class DiscardPolicy implements java.util.concurrent.RejectedExecutionHandler {
/libcore/ojluni/src/main/java/java/util/concurrent/
DThreadPoolExecutor.java530 private volatile RejectedExecutionHandler handler;
568 private static final RejectedExecutionHandler defaultHandler =
1269 RejectedExecutionHandler handler) { in ThreadPoolExecutor()
1307 RejectedExecutionHandler handler) { in ThreadPoolExecutor()
1525 public void setRejectedExecutionHandler(RejectedExecutionHandler handler) { in setRejectedExecutionHandler()
1537 public RejectedExecutionHandler getRejectedExecutionHandler() { in getRejectedExecutionHandler()
2039 public static class CallerRunsPolicy implements RejectedExecutionHandler {
2066 public static class AbortPolicy implements RejectedExecutionHandler {
2090 public static class DiscardPolicy implements RejectedExecutionHandler {
2124 public static class DiscardOldestPolicy implements RejectedExecutionHandler {
DRejectedExecutionHandler.java44 public interface RejectedExecutionHandler { interface
DScheduledThreadPoolExecutor.java496 RejectedExecutionHandler handler) { in ScheduledThreadPoolExecutor()
518 RejectedExecutionHandler handler) { in ScheduledThreadPoolExecutor()
/libcore/jsr166-tests/src/test/java/jsr166/
DThreadPoolExecutorSubclassTest.java28 import java.util.concurrent.RejectedExecutionHandler;
183 RejectedExecutionHandler handler) { in CustomTPE()
193 RejectedExecutionHandler handler) { in CustomTPE()
434 final RejectedExecutionHandler handler = new NoOpREHandler(); in testGetRejectedExecutionHandler()
455 RejectedExecutionHandler handler = new NoOpREHandler(); in testSetRejectedExecutionHandler()
1028 (RejectedExecutionHandler) null); in testConstructorNullPointerException5()
1119 (RejectedExecutionHandler) null); in testConstructorNullPointerException7()
DThreadPoolExecutorTest.java29 import java.util.concurrent.RejectedExecutionHandler;
287 final RejectedExecutionHandler handler = new NoOpREHandler(); in testGetRejectedExecutionHandler()
308 RejectedExecutionHandler handler = new NoOpREHandler(); in testSetRejectedExecutionHandler()
916 (RejectedExecutionHandler) null); in testConstructorNullPointerException5()
1007 (RejectedExecutionHandler) null); in testConstructorNullPointerException7()
1237 RejectedExecutionHandler h = new ThreadPoolExecutor.CallerRunsPolicy(); in testCallerRunsOnShutdown()
DScheduledExecutorSubclassTest.java26 import java.util.concurrent.RejectedExecutionHandler;
92 CustomExecutor(int corePoolSize, RejectedExecutionHandler handler) { in CustomExecutor()
100 RejectedExecutionHandler handler) { in CustomExecutor()
DJSR166TestCase.java49 import java.util.concurrent.RejectedExecutionHandler;
1745 public static class NoOpREHandler implements RejectedExecutionHandler {
/libcore/ojluni/src/test/java/util/concurrent/tck/
DThreadPoolExecutorSubclassTest.java53 import java.util.concurrent.RejectedExecutionHandler;
205 RejectedExecutionHandler handler) { in CustomTPE()
215 RejectedExecutionHandler handler) { in CustomTPE()
456 final RejectedExecutionHandler handler = new NoOpREHandler(); in testGetRejectedExecutionHandler()
477 RejectedExecutionHandler handler = new NoOpREHandler(); in testSetRejectedExecutionHandler()
1050 (RejectedExecutionHandler) null); in testConstructorNullPointerException5()
1141 (RejectedExecutionHandler) null); in testConstructorNullPointerException7()
DThreadPoolExecutorTest.java55 import java.util.concurrent.RejectedExecutionHandler;
309 final RejectedExecutionHandler handler = new NoOpREHandler(); in testGetRejectedExecutionHandler()
330 RejectedExecutionHandler handler = new NoOpREHandler(); in testSetRejectedExecutionHandler()
938 (RejectedExecutionHandler) null); in testConstructorNullPointerException5()
1029 (RejectedExecutionHandler) null); in testConstructorNullPointerException7()
1259 RejectedExecutionHandler h = new ThreadPoolExecutor.CallerRunsPolicy(); in testCallerRunsOnShutdown()
DScheduledExecutorSubclassTest.java53 import java.util.concurrent.RejectedExecutionHandler;
116 CustomExecutor(int corePoolSize, RejectedExecutionHandler handler) { in CustomExecutor()
124 RejectedExecutionHandler handler) { in CustomExecutor()
DJSR166TestCase.java113 import java.util.concurrent.RejectedExecutionHandler;
2017 public static class NoOpREHandler implements RejectedExecutionHandler {
/libcore/api/
Dcurrent.txt16251 public interface RejectedExecutionHandler {
16275 ctor public ScheduledThreadPoolExecutor(int, java.util.concurrent.RejectedExecutionHandler);
16276 …olExecutor(int, java.util.concurrent.ThreadFactory, java.util.concurrent.RejectedExecutionHandler);
16372 ….util.concurrent.BlockingQueue<java.lang.Runnable>, java.util.concurrent.RejectedExecutionHandler);
16373 …lang.Runnable>, java.util.concurrent.ThreadFactory, java.util.concurrent.RejectedExecutionHandler);
16389 method public java.util.concurrent.RejectedExecutionHandler getRejectedExecutionHandler();
16402 method public void setRejectedExecutionHandler(java.util.concurrent.RejectedExecutionHandler);
16409 …tic class ThreadPoolExecutor.AbortPolicy implements java.util.concurrent.RejectedExecutionHandler {
16414 …lass ThreadPoolExecutor.CallerRunsPolicy implements java.util.concurrent.RejectedExecutionHandler {
16419 …s ThreadPoolExecutor.DiscardOldestPolicy implements java.util.concurrent.RejectedExecutionHandler {
[all …]
/libcore/
Dopenjdk_java_files.bp1016 "ojluni/src/main/java/java/util/concurrent/RejectedExecutionHandler.java",
DEXPECTED_UPSTREAM1067 …il/concurrent/RejectedExecutionHandler.java,jdk17u/jdk-17.0.6-ga,src/java.base/share/classes/java/…