Lines Matching refs:cancelled
55 * <p>When a submitted task is cancelled before it is run, execution
56 * is suppressed. By default, such a cancelled task is not
59 * may also cause unbounded retention of cancelled tasks. To avoid
278 boolean cancelled = super.cancel(mayInterruptIfRunning);
279 if (cancelled && removeOnCancel && heapIndex >= 0)
281 return cancelled;
376 t.isCancelled()) { // also remove if already cancelled
714 * Sets the policy on whether cancelled tasks should be immediately
727 * Gets the policy on whether cancelled tasks should be immediately
731 * @return {@code true} if cancelled tasks are immediately removed
751 * have not yet elapsed are cancelled. And unless the {@code
754 * be cancelled.