Class InteropWorkload


  • public class InteropWorkload
    extends Object
    Very simple emulation of a possible interop workload. Adds some random read activity to the system (FHIR server/database) so we can measure the impact this has on ingestion and visa versa.
    • Constructor Detail

      • InteropWorkload

        public InteropWorkload​(DataAccess dataAccess,
                               IPatientScenario patientScenario,
                               int maxConcurrentRequests,
                               int patientBufferSize)
        Public constructor
        Parameters:
        client -
        maxConcurrentRequests -
    • Method Detail

      • init

        public void init()
        Start the main loop
      • signalStop

        public void signalStop()
      • waitForStop

        public void waitForStop()
        Wait until things are stopped
      • mainLoop

        protected void mainLoop()
        The main loop in this object which starts when init() is called and will run until #shutdown().