Home
last modified time | relevance | path

Searched defs:delay (Results 1 – 19 of 19) sorted by relevance

/libcore/ojluni/src/main/java/java/util/concurrent/
DScheduledExecutorService.java107 long delay, TimeUnit unit); in schedule()
123 long delay, TimeUnit unit); in schedule()
206 long delay, in scheduleWithFixedDelay()
DScheduledThreadPoolExecutor.java527 private long triggerTime(long delay, TimeUnit unit) { in triggerTime()
534 long triggerTime(long delay) { in triggerTime()
546 private long overflowFree(long delay) { in overflowFree()
561 long delay, in schedule()
578 long delay, in schedule()
673 long delay, in scheduleWithFixedDelay()
1178 long delay = first.getDelay(NANOSECONDS); in take() local
1217 long delay = first.getDelay(NANOSECONDS); in poll() local
DDelayQueue.java219 long delay = first.getDelay(NANOSECONDS); in take() local
267 long delay = first.getDelay(NANOSECONDS); in poll() local
DCompletableFuture.java2642 public static Executor delayedExecutor(long delay, TimeUnit unit, in delayedExecutor()
2661 public static Executor delayedExecutor(long delay, TimeUnit unit) { in delayedExecutor()
2715 static ScheduledFuture<?> delay(Runnable command, long delay, in delay() method in CompletableFuture.Delayer
2740 final long delay; field in CompletableFuture.DelayedExecutor
2743 DelayedExecutor(long delay, TimeUnit unit, Executor executor) { in DelayedExecutor()
/libcore/ojluni/src/main/java/java/util/
DTimer.java198 public void schedule(TimerTask task, long delay) { in schedule()
251 public void schedule(TimerTask task, long delay, long period) { in schedule()
331 public void scheduleAtFixedRate(TimerTask task, long delay, long period) { in scheduleAtFixedRate()
/libcore/ojluni/src/test/java/nio/channels/Selector/
DSelectWithConsumer.java724 void scheduleWakeup(Selector sel, long delay, TimeUnit unit) { in scheduleWakeup()
725 POOL.schedule(() -> sel.wakeup(), delay, unit); in scheduleWakeup() local
728 void scheduleInterrupt(Thread t, long delay, TimeUnit unit) { in scheduleInterrupt()
729 POOL.schedule(() -> t.interrupt(), delay, unit); in scheduleInterrupt() local
732 void scheduleClose(Closeable c, long delay, TimeUnit unit) { in scheduleClose()
742 void scheduleWrite(WritableByteChannel sink, ByteBuffer buf, long delay, TimeUnit unit) { in scheduleWrite()
/libcore/ojluni/annotations/hiddenapi/java/util/concurrent/
DExecutors.java277 java.lang.Runnable command, long delay, java.util.concurrent.TimeUnit unit) { in schedule()
283 long delay, in schedule()
299 long delay, in scheduleWithFixedDelay()
/libcore/support/src/test/java/tests/support/
DSupport_TestWebServer.java184 public void setDelay(int delay) { in setDelay()
319 private int delay = 0; field in Support_TestWebServer.Worker
330 Worker setDelay(int delay) { in setDelay()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
DObjectTest.java324 final int delay = 200; // milliseconds in test_waitJ() local
DThreadTest.java26 int delay; field in ThreadTest.SimpleThread
47 volatile int delay; field in ThreadTest.YieldThread
/libcore/luni/src/test/java/libcore/java/lang/
DOldThreadTest.java29 int delay; field in OldThreadTest.SimpleThread
/libcore/ojluni/src/test/java/util/concurrent/tck/
DSubmissionPublisherTest.java921 long delay = timeoutMillis(); in testHandledDroppedTimedOffer() local
952 long delay = timeoutMillis(); in testRecoveredHandledDroppedTimedOffer() local
DJSR166TestCase.java930 static void delay(long millis) throws InterruptedException { in delay() method in JSR166TestCase
/libcore/ojluni/annotations/mmodule/java/util/concurrent/
DCompletableFuture.annotated.java180 public static java.util.concurrent.Executor delayedExecutor(long delay, java.util.concurrent.TimeUn… in delayedExecutor()
182 public static java.util.concurrent.Executor delayedExecutor(long delay, java.util.concurrent.TimeUn… in delayedExecutor()
/libcore/jsr166-tests/src/test/java/jsr166/
DJSR166TestCase.java838 static void delay(long millis) throws InterruptedException { in delay() method in JSR166TestCase
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
DServerSocketTest.java248 int delay = (int) (finish.getTime() - start.getTime()); in test_accept() local
/libcore/luni/src/test/java/libcore/java/nio/channels/
DFileIOInterruptTest.java708 private static void delay(int millis) { in delay() method in FileIOInterruptTest
/libcore/ojluni/src/main/java/java/lang/
DThread.java1527 long delay = millis - now; in join() local
/libcore/benchmarks/src/benchmarks/regression/
DR.java1514 public static final int delay = 0; field in R