Searched refs:CallerRunsPolicy (Results 1 – 3 of 3) sorted by relevance
1912 public static class CallerRunsPolicy implements RejectedExecutionHandler { class in ThreadPoolExecutor1916 public CallerRunsPolicy() { } in CallerRunsPolicy() method in ThreadPoolExecutor.CallerRunsPolicy
848 RejectedExecutionHandler h = new CustomTPE.CallerRunsPolicy(); in testSaturatedExecute2()935 RejectedExecutionHandler h = new CustomTPE.CallerRunsPolicy(); in testCallerRunsOnShutdown()
711 RejectedExecutionHandler h = new ThreadPoolExecutor.CallerRunsPolicy(); in testSaturatedExecute2()798 RejectedExecutionHandler h = new ThreadPoolExecutor.CallerRunsPolicy(); in testCallerRunsOnShutdown()