- join
Waits for the job to complete and throws an exception if the job completes with
an error. Does not r
- cancel
- getStatus
Returns the current status of this job.
- getName
Returns the name of this job or null if no name was supplied. Jobs can be named
through JobConfig#se
- suspend
Gracefully suspends the current execution of the job. The job's status will
become JobStatus#SUSPEND
- exportSnapshot
Exports a state snapshot and saves it under the given name. You can start a new
job using the export
- getFuture
Gets the future associated with the job. The returned future is not cancellable.
To cancel the job,
- getId
Returns the ID of this job.
- restart
Gracefully stops the current execution and schedules a new execution with the
current member list of
- resume
Resumes a #suspend job. The job will resume from the last known successful
snapshot, if there is one
- cancelAndExportSnapshot
Exports and saves a state snapshot with the given name, and then cancels the job
without processing
- getConfig
Returns the configuration this job was submitted with. Changes made to the
returned config object wi