Searched refs:periodic (Results 1 – 3 of 3) sorted by relevance
268 boolean periodic = isPeriodic(); in run()269 if (!canRunInCurrentRunState(periodic)) in run()271 else if (!periodic) in run()286 boolean canRunInCurrentRunState(boolean periodic) { in canRunInCurrentRunState() argument287 return isRunningOrShutdown(periodic ? in canRunInCurrentRunState()
793 for (Future<?> periodic : periodics) { in testShutdown_cancellation()794 assertTrue(effectivePeriodicPolicy ^ periodic.isCancelled()); in testShutdown_cancellation()795 assertTrue(effectivePeriodicPolicy ^ periodic.isDone()); in testShutdown_cancellation()818 for (Future<?> periodic : periodics) { in testShutdown_cancellation()819 assertTrue(periodic.cancel(false)); in testShutdown_cancellation()820 assertTrue(periodic.isCancelled()); in testShutdown_cancellation()821 assertTrue(periodic.isDone()); in testShutdown_cancellation()
844 for (Future<?> periodic : periodics) { in testShutdown_cancellation()845 assertTrue(effectivePeriodicPolicy ^ periodic.isCancelled()); in testShutdown_cancellation()846 assertTrue(effectivePeriodicPolicy ^ periodic.isDone()); in testShutdown_cancellation()869 for (Future<?> periodic : periodics) { in testShutdown_cancellation()870 assertTrue(periodic.cancel(false)); in testShutdown_cancellation()871 assertTrue(periodic.isCancelled()); in testShutdown_cancellation()872 assertTrue(periodic.isDone()); in testShutdown_cancellation()