Searched refs:periodic (Results 1 – 3 of 3) sorted by relevance
297 boolean periodic = isPeriodic(); in run()298 if (!canRunInCurrentRunState(periodic)) in run()300 else if (!periodic) in run()315 boolean canRunInCurrentRunState(boolean periodic) { in canRunInCurrentRunState() argument316 return isRunningOrShutdown(periodic ? in canRunInCurrentRunState()
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()
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()