public interface BundleSplitListener
| Modifier and Type | Interface and Description |
|---|---|
static class |
BundleSplitListener.InMemory
A
BundleSplitListener which gathers all splits produced and stores them in memory. |
| Modifier and Type | Method and Description |
|---|---|
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.
|
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)
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.