Class SdkHarnessClient.BundleProcessor.ActiveBundle

  • All Implemented Interfaces:
    java.lang.AutoCloseable, RemoteBundle
    Enclosing class:
    SdkHarnessClient.BundleProcessor

    public class SdkHarnessClient.BundleProcessor.ActiveBundle
    extends java.lang.Object
    implements RemoteBundle
    An active bundle for a particular BeamFnApi.ProcessBundleDescriptor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void close()
      Blocks until bundle processing is finished.
      java.lang.String getId()
      Returns an id used to represent this bundle.
      java.util.Map<java.lang.String,​org.apache.beam.sdk.fn.data.FnDataReceiver> getInputReceivers()
      Get a map of PCollection ids to receivers which consume input elements, forwarding them to the remote environment.
      java.util.Map<org.apache.beam.sdk.values.KV<java.lang.String,​java.lang.String>,​org.apache.beam.sdk.fn.data.FnDataReceiver<org.apache.beam.sdk.util.construction.Timer>> getTimerReceivers()
      Get a map of (transform id, timer id) to receivers which consume timers, forwarding them to the remote environment.
      void requestProgress()
      Ask the remote bundle for progress.
      void split​(double fractionOfRemainder)
      Ask the remote bundle to split its current processing based upon its knowledge of remaining work.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait