Class ProcessingThread

    • Field Detail

      • LOGGER

        private static final org.apache.logging.log4j.Logger LOGGER
      • dataAvailableLock

        private final java.lang.Object dataAvailableLock
      • executorService

        private final java.util.concurrent.ExecutorService executorService
      • batchSize

        private final int batchSize
    • Method Detail

      • setListeningThread

        public void setListeningThread​(ListeningThread listeningThreadIn)
      • notifyDataAvailable

        public void notifyDataAvailable()
        Notifies the processor that some data is ready to be processed. Used by the ListeningThread to trigger the processing after receiving a notification.
      • run

        public void run()