# | Line 171 | Line 171 | public class CancellableTask implements | |
---|---|---|
171 | protected InnerCancellableFuture(Callable<V> callable) { | |
172 | this.callable = callable; | |
173 | } | |
174 | + | |
175 | + | public boolean cancel(boolean mayInterruptIfRunning) { |
176 | + | return CancellableTask.this.cancel(mayInterruptIfRunning); |
177 | + | } |
178 | + | |
179 | + | public boolean isCancelled() { |
180 | + | return CancellableTask.this.isCancelled(); |
181 | + | } |
182 | + | |
183 | ||
184 | public boolean isDone() { | |
185 | return CancellableTask.this.isDone(); |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |