Searched refs:DiscardOldestPolicy (Results 1 – 3 of 3) sorted by relevance
1992 public static class DiscardOldestPolicy implements RejectedExecutionHandler { class in ThreadPoolExecutor1996 public DiscardOldestPolicy() { } in DiscardOldestPolicy() method in ThreadPoolExecutor.DiscardOldestPolicy
899 RejectedExecutionHandler h = new CustomTPE.DiscardOldestPolicy(); in testSaturatedExecute4()970 RejectedExecutionHandler h = new CustomTPE.DiscardOldestPolicy(); in testDiscardOldestOnShutdown()
762 RejectedExecutionHandler h = new ThreadPoolExecutor.DiscardOldestPolicy(); in testSaturatedExecute4()833 RejectedExecutionHandler h = new ThreadPoolExecutor.DiscardOldestPolicy(); in testDiscardOldestOnShutdown()