Class ReportProcessor

  • All Implemented Interfaces:
    com.google.common.util.concurrent.Service

    
    public class ReportProcessor
    extends AbstractIdleService
                        

    Class that is responsible for buffering and processing of incoming reports.

    As long as there is no MDIB (plus optional context states) available, the report processor buffers incoming reports and only applies them once an MDIB (plus optional context states) was set. In case every report type is received through one subscription, the ReportProcessor ensures data coherency.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      void processEpisodicReport(EpisodicReport report) Queues or processes a report.
      void startApplyingReportsOnMdib(RemoteMdibAccess mdibAccess) Accepts an MDIB and starts applying reports on it.
      • Methods inherited from class com.google.common.util.concurrent.AbstractIdleService

        addListener, awaitRunning, awaitTerminated, failureCause, isRunning, startAsync, state, stopAsync, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • startApplyingReportsOnMdib

         void startApplyingReportsOnMdib(RemoteMdibAccess mdibAccess)

        Accepts an MDIB and starts applying reports on it.

        Parameters:
        mdibAccess - the MDIB access to use for application of incoming reports.