finished method

  1. @visibleForOverriding
void finished()

The subclass leaves the run.

Called for every job that gets an outcome, including one dropped before its body ever ran — then there was no started to match it. An error thrown here goes to notifyError and the job finishes all the same, but the engine is left half-way through its own bookkeeping: keep it short and unconditional. solo, for example, clears current here and moves its queue on.

Implementation

@visibleForOverriding
void finished() {}