< prev index next >
src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.nodes/src/org/graalvm/compiler/nodes/Cancellable.java
Print this page
rev 52509 : [mq]: graal2
*** 31,37 ****
--- 31,40 ----
* Cancellable to a task and the task polls the Cancellable at regular intervals. If
* {@link #isCancelled} returns true, then the task will promptly terminate by means of throwing a
* {@link CancellationBailoutException}.
*/
public interface Cancellable {
+ /**
+ * Determines if this task has been cancelled.
+ */
boolean isCancelled();
}
< prev index next >