Interface BundleSplitHandler
-
public interface BundleSplitHandlerA handler which is invoked whenever an active bundle is split. The active bundle will continue to keep processing until it is complete.The returned split response contains a description of work that has been performed containing a
primaryportion that the SDK is responsible for processing and aresidualwhich the runner is responsible for scheduling for future processing. See breaking the fusion barrier for further details.
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description voidsplit(org.apache.beam.model.fnexecution.v1.BeamFnApi.ProcessBundleSplitResponse splitResponse)static BundleSplitHandlerunsupported()Returns a bundle split handler that throws on any split response.
-
-
-
Method Detail
-
split
void split(org.apache.beam.model.fnexecution.v1.BeamFnApi.ProcessBundleSplitResponse splitResponse)
-
unsupported
static BundleSplitHandler unsupported()
Returns a bundle split handler that throws on any split response.
-
-