/libcore/luni/src/main/java/java/util/concurrent/ |
D | ScheduledExecutorService.java | 82 long delay, TimeUnit unit); in schedule() argument 97 long delay, TimeUnit unit); in schedule() argument 127 TimeUnit unit); in scheduleAtFixedRate() argument 154 TimeUnit unit); in scheduleWithFixedDelay() argument
|
D | BlockingDeque.java | 288 boolean offerFirst(E e, long timeout, TimeUnit unit) in offerFirst() argument 310 boolean offerLast(E e, long timeout, TimeUnit unit) in offerLast() argument 344 E pollFirst(long timeout, TimeUnit unit) in pollFirst() argument 360 E pollLast(long timeout, TimeUnit unit) in pollLast() argument 477 boolean offer(E e, long timeout, TimeUnit unit) in offer() argument 528 E poll(long timeout, TimeUnit unit) in poll() argument
|
D | Executors.java | 588 public boolean awaitTermination(long timeout, TimeUnit unit) 590 return e.awaitTermination(timeout, unit); 606 long timeout, TimeUnit unit) 608 return e.invokeAll(tasks, timeout, unit); 615 long timeout, TimeUnit unit) 617 return e.invokeAny(tasks, timeout, unit); 643 public ScheduledFuture<?> schedule(Runnable command, long delay, TimeUnit unit) { 644 return e.schedule(command, delay, unit); 646 public <V> ScheduledFuture<V> schedule(Callable<V> callable, long delay, TimeUnit unit) { 647 return e.schedule(callable, delay, unit); [all …]
|
D | ScheduledThreadPoolExecutor.java | 207 public long getDelay(TimeUnit unit) { in getDelay() argument 208 return unit.convert(time - now(), NANOSECONDS); in getDelay() 462 private long triggerTime(long delay, TimeUnit unit) { in triggerTime() argument 463 return triggerTime(unit.toNanos((delay < 0) ? 0 : delay)); in triggerTime() 497 TimeUnit unit) { in schedule() argument 498 if (command == null || unit == null) in schedule() 502 triggerTime(delay, unit))); in schedule() 513 TimeUnit unit) { in schedule() argument 514 if (callable == null || unit == null) in schedule() 518 triggerTime(delay, unit))); in schedule() [all …]
|
D | ExecutorService.java | 170 boolean awaitTermination(long timeout, TimeUnit unit) in awaitTermination() argument 275 long timeout, TimeUnit unit) in invokeAll() argument 322 long timeout, TimeUnit unit) in invokeAny() argument
|
D | Semaphore.java | 378 public boolean tryAcquire(long timeout, TimeUnit unit) in tryAcquire() argument 380 return sync.tryAcquireSharedNanos(1, unit.toNanos(timeout)); in tryAcquire() 550 public boolean tryAcquire(int permits, long timeout, TimeUnit unit) in tryAcquire() argument 553 return sync.tryAcquireSharedNanos(permits, unit.toNanos(timeout)); in tryAcquire()
|
D | BlockingQueue.java | 223 boolean offer(E e, long timeout, TimeUnit unit) in offer() argument 247 E poll(long timeout, TimeUnit unit) in poll() argument
|
D | CountDownLatch.java | 246 public boolean await(long timeout, TimeUnit unit) in await() argument 248 return sync.tryAcquireSharedNanos(1, unit.toNanos(timeout)); in await()
|
D | ThreadPoolExecutor.java | 1163 TimeUnit unit, in ThreadPoolExecutor() argument 1165 this(corePoolSize, maximumPoolSize, keepAliveTime, unit, workQueue, in ThreadPoolExecutor() 1197 TimeUnit unit, in ThreadPoolExecutor() argument 1200 this(corePoolSize, maximumPoolSize, keepAliveTime, unit, workQueue, in ThreadPoolExecutor() 1232 TimeUnit unit, in ThreadPoolExecutor() argument 1235 this(corePoolSize, maximumPoolSize, keepAliveTime, unit, workQueue, in ThreadPoolExecutor() 1269 TimeUnit unit, in ThreadPoolExecutor() argument 1283 this.keepAliveTime = unit.toNanos(keepAliveTime); in ThreadPoolExecutor() 1420 public boolean awaitTermination(long timeout, TimeUnit unit) in awaitTermination() argument 1422 long nanos = unit.toNanos(timeout); in awaitTermination() [all …]
|
D | LinkedBlockingDeque.java | 374 public boolean offerFirst(E e, long timeout, TimeUnit unit) in offerFirst() argument 378 long nanos = unit.toNanos(timeout); in offerFirst() 397 public boolean offerLast(E e, long timeout, TimeUnit unit) in offerLast() argument 401 long nanos = unit.toNanos(timeout); in offerLast() 480 public E pollFirst(long timeout, TimeUnit unit) in pollFirst() argument 482 long nanos = unit.toNanos(timeout); in pollFirst() 498 public E pollLast(long timeout, TimeUnit unit) in pollLast() argument 500 long nanos = unit.toNanos(timeout); in pollLast() 625 public boolean offer(E e, long timeout, TimeUnit unit) in offer() argument 627 return offerLast(e, timeout, unit); in offer() [all …]
|
D | Delayed.java | 30 long getDelay(TimeUnit unit); in getDelay() argument
|
D | Future.java | 138 V get(long timeout, TimeUnit unit) in get() argument
|
D | TransferQueue.java | 105 boolean tryTransfer(E e, long timeout, TimeUnit unit) in tryTransfer() argument
|
D | ExecutorCompletionService.java | 171 public Future<V> poll(long timeout, TimeUnit unit) in poll() argument 173 return completionQueue.poll(timeout, unit); in poll()
|
D | AbstractExecutorService.java | 192 long timeout, TimeUnit unit) in invokeAny() argument 194 return doInvokeAny(tasks, true, unit.toNanos(timeout)); in invokeAny() 229 long timeout, TimeUnit unit) in invokeAll() argument 233 long nanos = unit.toNanos(timeout); in invokeAll()
|
D | CompletionService.java | 94 Future<V> poll(long timeout, TimeUnit unit) throws InterruptedException; in poll() argument
|
D | CyclicBarrier.java | 397 public int await(long timeout, TimeUnit unit) in await() argument 401 return dowait(true, unit.toNanos(timeout)); in await()
|
D | FutureTask.java | 169 public V get(long timeout, TimeUnit unit) in get() argument 171 if (unit == null) in get() 175 (s = awaitDone(true, unit.toNanos(timeout))) <= COMPLETING) in get()
|
D | DelayQueue.java | 143 public boolean offer(E e, long timeout, TimeUnit unit) { in offer() argument 219 public E poll(long timeout, TimeUnit unit) throws InterruptedException { in poll() argument 220 long nanos = unit.toNanos(timeout); in poll()
|
/libcore/luni/src/main/java/java/util/concurrent/locks/ |
D | Lock.java | 292 boolean tryLock(long time, TimeUnit unit) throws InterruptedException; in tryLock() argument
|
D | Condition.java | 344 boolean await(long time, TimeUnit unit) throws InterruptedException; in await() argument
|
D | ReentrantLock.java | 411 public boolean tryLock(long timeout, TimeUnit unit) in tryLock() argument 413 return sync.tryAcquireNanos(1, unit.toNanos(timeout)); in tryLock()
|
D | ReentrantReadWriteLock.java | 841 public boolean tryLock(long timeout, TimeUnit unit) in tryLock() argument 843 return sync.tryAcquireSharedNanos(1, unit.toNanos(timeout)); in tryLock() 1085 public boolean tryLock(long timeout, TimeUnit unit) in tryLock() argument 1087 return sync.tryAcquireNanos(1, unit.toNanos(timeout)); in tryLock()
|
/libcore/luni/src/test/resources/systemid/ |
D | recipt.dtd | 8 unit CDATA #IMPLIED> attribute
|
/libcore/luni/src/test/resources/ |
D | recipt.dtd | 8 unit CDATA #IMPLIED> attribute
|