public interface PersistedJobStatusObserver
| Modifier and Type | Method and Description |
|---|---|
void |
notify(java.lang.String jobId,
com.netflix.genie.common.external.dtos.v4.JobStatus previousStatus,
com.netflix.genie.common.external.dtos.v4.JobStatus currentStatus)
Handle a notification of job status change after the latter was successfully committed to persistent storage.
|
void notify(java.lang.String jobId,
@Nullable
com.netflix.genie.common.external.dtos.v4.JobStatus previousStatus,
com.netflix.genie.common.external.dtos.v4.JobStatus currentStatus)
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.