Searched refs:cancelled (Results 1 – 4 of 4) sorted by relevance
447 final CountDownLatch cancelled = new CountDownLatch(1); in testCancelInterrupt_ThrowsSecurityException() local452 await(cancelled); in testCancelInterrupt_ThrowsSecurityException()478 cancelled.countDown(); in testCancelInterrupt_ThrowsSecurityException()520 final CountDownLatch cancelled = new CountDownLatch(1); in testCancelNoInterrupt() local525 await(cancelled); in testCancelNoInterrupt()534 cancelled.countDown(); in testCancelNoInterrupt()632 final CountDownLatch cancelled = new CountDownLatch(1); in testTimedGet_Cancellation() local642 await(cancelled); in testTimedGet_Cancellation()667 cancelled.countDown(); in testTimedGet_Cancellation()
58 boolean cancelled; field in ThreadPoolExecutorSubclassTest.CustomTask75 lock.lock(); try { return cancelled; } finally { lock.unlock() ; } in isCancelled()81 cancelled = true; in cancel()124 if (cancelled) in get()142 if (cancelled) in get()
287 boolean cancelled = super.cancel(mayInterruptIfRunning); in cancel()288 if (cancelled && removeOnCancel && heapIndex >= 0) in cancel()290 return cancelled; in cancel()
2292 boolean cancelled = (result == null) && in cancel()2295 return cancelled || isCancelled(); in cancel()