Home
last modified time | relevance | path

Searched defs:delay (Results 1 – 20 of 20) 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.java568 private long triggerTime(long delay, TimeUnit unit) { in triggerTime()
575 long triggerTime(long delay) { in triggerTime()
587 private long overflowFree(long delay) { in overflowFree()
602 long delay, in schedule()
619 long delay, in schedule()
721 long delay, in scheduleWithFixedDelay()
1226 long delay = first.getDelay(NANOSECONDS); in take() local
1265 long delay = first.getDelay(NANOSECONDS); in poll() local
DDelayQueue.java244 long delay = first.getDelay(NANOSECONDS); in take() local
293 long delay = first.getDelay(NANOSECONDS); in poll() local
DCompletableFuture.java2782 public static Executor delayedExecutor(long delay, TimeUnit unit, in delayedExecutor()
2801 public static Executor delayedExecutor(long delay, TimeUnit unit) { in delayedExecutor()
2855 static ScheduledFuture<?> delay(Runnable command, long delay, in delay() method in CompletableFuture.Delayer
2880 final long delay; field in CompletableFuture.DelayedExecutor
2883 DelayedExecutor(long delay, TimeUnit unit, Executor executor) { in DelayedExecutor()
/libcore/ojluni/src/test/java/nio/channels/Selector/
DSelectWithConsumer.java728 void scheduleWakeup(Selector sel, long delay, TimeUnit unit) { in scheduleWakeup()
729 POOL.schedule(() -> sel.wakeup(), delay, unit); in scheduleWakeup() local
732 void scheduleInterrupt(Thread t, long delay, TimeUnit unit) { in scheduleInterrupt()
733 POOL.schedule(() -> t.interrupt(), delay, unit); in scheduleInterrupt() local
736 void scheduleClose(Closeable c, long delay, TimeUnit unit) { in scheduleClose()
746 void scheduleWrite(WritableByteChannel sink, ByteBuffer buf, long delay, TimeUnit unit) { in scheduleWrite()
/libcore/ojluni/src/main/java/java/util/
DTimer.java237 public void schedule(TimerTask task, long delay) { in schedule()
290 public void schedule(TimerTask task, long delay, long period) { in schedule()
381 public void scheduleAtFixedRate(TimerTask task, long delay, long period) { in scheduleAtFixedRate()
/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/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/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.java972 long delay = timeoutMillis(); in testHandledDroppedTimedOffer() local
1004 long delay = timeoutMillis(); in testRecoveredHandledDroppedTimedOffer() local
DJSR166TestCase.java1117 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/ojluni/annotations/flagged_api/java/util/concurrent/
DCompletableFuture.annotated.java80 public static java.util.concurrent.Executor delayedExecutor(long delay, java.util.concurrent.TimeUn… in delayedExecutor()
82 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.java1639 long delay = millis - now; in join() local
/libcore/benchmarks/src/benchmarks/regression/
DR.java1514 public static final int delay = 0; field in R