Package ca.uhn.fhir.batch2.api
Interface IJobPersistence.JobInstanceUpdateCallback
- Enclosing interface:
- IJobPersistence
public static interface IJobPersistence.JobInstanceUpdateCallback
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 TypeMethodDescriptionbooleandoUpdate(JobInstance theInstance) Modify theInstance within a write-lock transaction.
-
Method Details
-
doUpdate
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.
-