Searched refs:cancelled (Results 1 – 5 of 5) sorted by relevance
32 boolean cancelled; field in TimerTask93 boolean willRun = !cancelled && when > 0; in cancel()94 cancelled = true; in cancel()
146 if (timers[i].cancelled) { in deleteIfCancelled()170 private boolean cancelled; field in Timer.TimerImpl205 if (cancelled) { in run()226 if (task.cancelled) { in run()251 if (task.cancelled) { in run()289 cancelled = true; in run()306 cancelled = true; in cancel()557 if (impl.cancelled) { in scheduleImpl()572 if (task.cancelled) { in scheduleImpl()
429 final CountDownLatch cancelled = new CountDownLatch(1); in testCancelInterrupt_ThrowsSecurityException() local434 await(cancelled); in testCancelInterrupt_ThrowsSecurityException()460 cancelled.countDown(); in testCancelInterrupt_ThrowsSecurityException()502 final CountDownLatch cancelled = new CountDownLatch(1); in testCancelNoInterrupt() local507 await(cancelled); in testCancelNoInterrupt()516 cancelled.countDown(); in testCancelNoInterrupt()614 final CountDownLatch cancelled = new CountDownLatch(1); in testTimedGet_Cancellation() local624 await(cancelled); in testTimedGet_Cancellation()649 cancelled.countDown(); in testTimedGet_Cancellation()
25 boolean cancelled; field in ThreadPoolExecutorSubclassTest.CustomTask42 lock.lock(); try { return cancelled; } finally { lock.unlock() ; } in isCancelled()48 cancelled = true; in cancel()
251 boolean cancelled = super.cancel(mayInterruptIfRunning); in cancel()252 if (cancelled && removeOnCancel && heapIndex >= 0) in cancel()254 return cancelled; in cancel()