Searched refs:TestFuture (Results 1 – 1 of 1) sorted by relevance
42 private List<TestFuture> scheduled = new ArrayList<>();121 TestFuture future = new TestFuture(command, delay, unit); in schedule()145 TestFuture future = scheduled.remove(scheduled.size() - 1); in runAll()182 static class TestFuture implements ScheduledFuture<Void> { class in TestScheduledExecutorService188 public TestFuture(Runnable runnable, long delay, TimeUnit unit) { in TestFuture() method in TestScheduledExecutorService.TestFuture