Interface BundleSplitListener
-
- All Known Implementing Classes:
BundleSplitListener.InMemory
public interface BundleSplitListenerListens to splits happening to a single bundle application. See Breaking the Fusion Barrier for a discussion of the design.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classBundleSplitListener.InMemoryABundleSplitListenerwhich gathers all splits produced and stores them in memory.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidsplit(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.
-
-
-
Method Detail
-
split
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.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.
-
-