/libcore/luni/src/main/java/java/nio/channels/spi/ |
H A D | AbstractSelectionKey.java | 57 public final void cancel() { method in class:AbstractSelectionKey 60 ((AbstractSelector) selector()).cancel(this);
|
H A D | AbstractSelector.java | 126 void cancel(SelectionKey key) { method in class:AbstractSelector
|
/libcore/luni/src/main/java/java/util/ |
H A D | TimerTask.java | 91 public boolean cancel() { method in class:TimerTask
|
H A D | Timer.java | 44 * <p>When a timer is no longer needed, users should call {@link #cancel}, which 167 * True if the method cancel() of the Timer was called or the !!!stop() 305 public synchronized void cancel() { method in class:Timer.TimerImpl 399 public void cancel() { method in class:Timer 400 impl.cancel();
|
/libcore/luni/src/main/java/java/util/concurrent/ |
H A D | Future.java | 16 * {@code cancel} method. Additional methods are provided to 70 * Attempts to cancel execution of this task. This attempt will 73 * and this task has not started when {@code cancel} is called, 90 boolean cancel(boolean mayInterruptIfRunning); method in interface:Future
|
H A D | FutureTask.java | 12 * implementation of {@link Future}, with methods to start and cancel 50 * setException, and cancel. During completion, state may take on 53 * cancel(true)). Transitions from these intermediate to final 135 public boolean cancel(boolean mayInterruptIfRunning) { method in class:FutureTask 299 * Ensures that any interrupt from a possible cancel(true) is only 312 // cancel(true). However, it is permissible to use interrupts
|
H A D | ForkJoinTask.java | 468 * Cancels, ignoring any exceptions thrown by cancel. Used during 476 t.cancel(false); 758 t.cancel(false); 809 t.cancel(false); 820 * Attempts to cancel execution of this task. This attempt will 823 * has not started when {@code cancel} is called, execution of 827 * {@link #isDone}, and {@code cancel} will return {@code true} 833 * {@code cancel} method itself must not throw exceptions. 846 public boolean cancel(boolean mayInterruptIfRunning) { method in class:ForkJoinTask
|
H A D | ScheduledThreadPoolExecutor.java | 113 * leads to overrides of shutdown methods to remove and cancel 125 * False if should cancel/suppress periodic tasks on shutdown. 130 * False if should cancel non-periodic tasks on shutdown. 135 * True if ScheduledFutureTask.cancel should remove from queue 250 public boolean cancel(boolean mayInterruptIfRunning) { method in class:ScheduledThreadPoolExecutor.ScheduledFutureTask 251 boolean cancelled = super.cancel(mayInterruptIfRunning); 263 cancel(false); 291 * is being added, cancel and remove it if required by state and 304 task.cancel(false); 320 task.cancel(fals [all...] |
/libcore/luni/src/main/java/java/nio/channels/ |
H A D | SelectionKey.java | 103 public abstract void cancel(); method in class:SelectionKey
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/ |
H A D | SelectionKeyTest.java | 51 selectionKey.cancel(); 65 public void cancel() { method in class:SelectionKeyTest.MockSelectionKey 129 selectionKey.cancel(); 180 selectionKey.cancel(); 241 * @tests java.nio.channels.SelectionKey#cancel() 244 selectionKey.cancel(); 315 selectionKey.cancel();
|
/libcore/luni/src/main/java/java/sql/ |
H A D | Statement.java | 104 public void cancel() throws SQLException; method in interface:Statement
|
/libcore/jsr166-tests/src/test/java/jsr166/ |
H A D | ScheduledExecutorSubclassTest.java | 30 public boolean cancel(boolean mayInterruptIfRunning) { method in class:ScheduledExecutorSubclassTest.CustomTask 31 return task.cancel(mayInterruptIfRunning); 152 f.cancel(true); 176 f.cancel(true); 196 h.cancel(true); 214 h.cancel(true); 641 if (tasks[4].cancel(true)) --max; 642 if (tasks[3].cancel(true)) --max; 655 task.cancel(true); 782 assertTrue(task.cancel(fals [all...] |
H A D | ThreadPoolExecutorSubclassTest.java | 44 public boolean cancel(boolean mayInterrupt) { method in class:ThreadPoolExecutorSubclassTest.CustomTask 660 tasks[4].cancel(true); 661 tasks[3].cancel(false);
|