public abstract class GridGgfsJobAdapter extends Object implements GridGgfsJob
GridGgfsJob with no-op implementation of cancel() method.| Constructor and Description |
|---|
GridGgfsJobAdapter() |
| Modifier and Type | Method and Description |
|---|---|
void |
cancel()
This method is called when system detects that completion of this
job can no longer alter the overall outcome (for example, when parent task
has already reduced the results).
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitexecutepublic void cancel()
GridFuture.cancel() is called.
Note that job cancellation is only a hint, and just like with
Thread.interrupt() method, it is really up to the actual job
instance to gracefully finish execution and exit.
cancel in interface GridGgfsJobCopyright © 2014. All rights reserved.