Interface BundleProgressReporter

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void reset()
      Reset the monitoring data after a bundle has finished processing to be re-used for a future bundle.
      void updateFinalMonitoringData​(java.util.Map<java.lang.String,​org.apache.beam.vendor.grpc.v1p69p0.com.google.protobuf.ByteString> monitoringData)
      Update the monitoring data for a bundle that has finished processing.
      void updateIntermediateMonitoringData​(java.util.Map<java.lang.String,​org.apache.beam.vendor.grpc.v1p69p0.com.google.protobuf.ByteString> monitoringData)
      Update the monitoring data for a bundle that is currently being processed.
    • Method Detail

      • updateIntermediateMonitoringData

        void updateIntermediateMonitoringData​(java.util.Map<java.lang.String,​org.apache.beam.vendor.grpc.v1p69p0.com.google.protobuf.ByteString> monitoringData)
        Update the monitoring data for a bundle that is currently being processed.

        Must be invoked while holding the ProcessBundleHandler.BundleProcessor.getProgressRequestLock().

      • updateFinalMonitoringData

        void updateFinalMonitoringData​(java.util.Map<java.lang.String,​org.apache.beam.vendor.grpc.v1p69p0.com.google.protobuf.ByteString> monitoringData)
        Update the monitoring data for a bundle that has finished processing.

        Must be invoked from the main bundle processing thread and while holding the ProcessBundleHandler.BundleProcessor.getProgressRequestLock().

      • reset

        void reset()
        Reset the monitoring data after a bundle has finished processing to be re-used for a future bundle.

        Must be invoked from the main bundle processing thread and while holding the ProcessBundleHandler.BundleProcessor.getProgressRequestLock().