Interface IJobPersistence.JobInstanceUpdateCallback

Enclosing interface:
IJobPersistence

Callback to update a JobInstance within a locked transaction. Return true from the callback if the record write should continue, or false if the change should be discarded.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    doUpdate(JobInstance theInstance)
    Modify theInstance within a write-lock transaction.
  • Method Details

    • doUpdate

      boolean doUpdate(JobInstance theInstance)
      Modify theInstance within a write-lock transaction.
      Parameters:
      theInstance - a copy of the instance to modify.
      Returns:
      true if the change to theInstance should be written back to the db.