corda/node
kyriathar 877ce5587f CORDA-3196 warning at intervals when flows waiting in flow hospital (#2636)
* added the warning as a TimerTask at StaffedFlowHospital#delayedDischargeTimer

* moved the scheduling of the warning task at StaffedFlowHospital#init block. That way we ensure that the task will be scheduled only once at StaffedFlowHospital initialization.

* Corrected overnight observation warning task's logging message. Changed StaffedFlowHospital#delayedDischargeTimer to the more generic StaffedFlowHospital#hospitalJobTimer since it now schedules delayed discharges tasks as well the overnight observation warning task. Removed this from property reference

* switching to fun timerTask for the instantiation of anonymous TimerTask classes

* Correct condition to log patients who are currently in the hospital, whose last record in their medical records is Outcome.OVERNIGHT_OBSERVATION. Extended logging to include treatableSessionInits staying in the hospital

* Add not empty check for patientsUnderOvernightObservation. Correct strings.
2019-11-01 11:48:07 +00:00
..
capsule CORDA-3224 JDK11 built and published artifacts to include classifier. (#5488) 2019-10-08 10:45:10 +01:00
src CORDA-3196 warning at intervals when flows waiting in flow hospital (#2636) 2019-11-01 11:48:07 +00:00
build.gradle CORDA-3217 and CORDA-3195 Various bits arond SQL exceptions and flow hospital (#2605) 2019-11-01 11:48:07 +00:00