Interface PersistedJobStatusObserver
- All Known Implementing Classes:
PersistedJobStatusObserverImpl
public interface PersistedJobStatusObserver
Interface for an observer that gets notified of job 'status' change after the latter is persisted.
This observer is invoked as callback during data/persistence methods.
It should NOT spend significant time processing.
- Since:
- 4.0.0
-
Method Summary
-
Method Details
-
notify
Handle a notification of job status change after the latter was successfully committed to persistent storage.- Parameters:
jobId
- the job unique idpreviousStatus
- the previous job status, or null if this job was just created and persistedcurrentStatus
- the job status that was just persisted. Guaranteed to be different than the previous.
-