Home | History | Annotate | Download | only in concurrent

Lines Matching refs:CANCELLED

50  * completed, failed, or cancelled.
154 * Returns true if this future was cancelled with {@code
213 * {@link #COMPLETED}, {@link #CANCELLED}, or {@link #INTERRUPTED}
218 * computation, and only then transition to COMPLETED, CANCELLED, or
232 static final int CANCELLED = 4;
278 * was cancelled, or a {@link ExecutionException} if the task completed with
304 case CANCELLED:
307 "Task was cancelled.", exception);
316 * Checks if the state is {@link #COMPLETED}, {@link #CANCELLED}, or {@link
320 return (getState() & (COMPLETED | CANCELLED | INTERRUPTED)) != 0;
324 * Checks if the state is {@link #CANCELLED} or {@link #INTERRUPTED}.
327 return (getState() & (CANCELLED | INTERRUPTED)) != 0;
352 * Transition to the CANCELLED or INTERRUPTED state.
355 return complete(null, null, interrupt ? INTERRUPTED : CANCELLED);
363 * final state ({@link #COMPLETED}, {@link #CANCELLED}, or {@link
378 this.exception = ((finalState & (CANCELLED | INTERRUPTED)) != 0)