Class BundleSplitListener.InMemory

    • Constructor Summary

      Constructors 
      Constructor Description
      InMemory()  
    • Method Summary

      All Methods Static Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      void clear()  
      static BundleSplitListener.InMemory create()  
      abstract java.util.List<org.apache.beam.model.fnexecution.v1.BeamFnApi.BundleApplication> getPrimaryRoots()  
      abstract java.util.List<org.apache.beam.model.fnexecution.v1.BeamFnApi.DelayedBundleApplication> getResidualRoots()  
      void split​(java.util.List<org.apache.beam.model.fnexecution.v1.BeamFnApi.BundleApplication> primaryRoots, java.util.List<org.apache.beam.model.fnexecution.v1.BeamFnApi.DelayedBundleApplication> residualRoots)
      Signals that the current application should be split into the given primary and residual roots.
      • Methods inherited from class java.lang.Object

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

      • InMemory

        public InMemory()
    • Method Detail

      • split

        public void split​(java.util.List<org.apache.beam.model.fnexecution.v1.BeamFnApi.BundleApplication> primaryRoots,
                          java.util.List<org.apache.beam.model.fnexecution.v1.BeamFnApi.DelayedBundleApplication> residualRoots)
        Description copied from interface: BundleSplitListener
        Signals that the current application should be split into the given primary and residual roots.

        Primary roots are the new decomposition of the bundle's work into transform applications that have happened or will happen as part of this bundle (modulo future splits). Residual roots are a decomposition of work that has been given away by the bundle, so the runner must delegate it for someone else to execute.

        Specified by:
        split in interface BundleSplitListener
      • clear

        public void clear()
      • getPrimaryRoots

        public abstract java.util.List<org.apache.beam.model.fnexecution.v1.BeamFnApi.BundleApplication> getPrimaryRoots()
      • getResidualRoots

        public abstract java.util.List<org.apache.beam.model.fnexecution.v1.BeamFnApi.DelayedBundleApplication> getResidualRoots()