Searched refs:mayInterruptIfRunning (Results 1 – 6 of 6) sorted by relevance
90 boolean cancel(boolean mayInterruptIfRunning); in cancel() argument
135 public boolean cancel(boolean mayInterruptIfRunning) { in cancel() argument138 mayInterruptIfRunning ? INTERRUPTING : CANCELLED))) in cancel()141 if (mayInterruptIfRunning) { in cancel()
250 public boolean cancel(boolean mayInterruptIfRunning) { in cancel() argument251 boolean cancelled = super.cancel(mayInterruptIfRunning); in cancel()
846 public boolean cancel(boolean mayInterruptIfRunning) { in cancel() argument
124 for (boolean mayInterruptIfRunning : new boolean[] { true, false }) { in tryToConfuseDoneTask()268 for (boolean mayInterruptIfRunning : new boolean[] { true, false }) { in testRunAndResetAfterCancel()270 assertTrue(task.cancel(mayInterruptIfRunning)); in testRunAndResetAfterCancel()612 public void testTimedGet_Cancellation(final boolean mayInterruptIfRunning) { in testTimedGet_Cancellation() argument619 if (mayInterruptIfRunning) { in testTimedGet_Cancellation()645 task.cancel(mayInterruptIfRunning); in testTimedGet_Cancellation()
30 public boolean cancel(boolean mayInterruptIfRunning) { in cancel() argument31 return task.cancel(mayInterruptIfRunning); in cancel()