JobOperator has an abandon method that makes a non-running job non-restartable. This would add a markFiled API to essentially do the same thing, but to a job whose state is unclear. Maybe the server it was running in died suddenly and needs to be restarted to fail the job. This API would let you get ahead of that processing without having to wait for the server to restart (which might be difficult to impossible).
JobOperator has an abandon method that makes a non-running job non-restartable. This would add a markFiled API to essentially do the same thing, but to a job whose state is unclear. Maybe the server it was running in died suddenly and needs to be restarted to fail the job. This API would let you get ahead of that processing without having to wait for the server to restart (which might be difficult to impossible).