Class BundleFinalizationHandlers.InMemoryFinalizer
java.lang.Object
org.apache.beam.runners.fnexecution.control.BundleFinalizationHandlers.InMemoryFinalizer
- All Implemented Interfaces:
BundleFinalizationHandler
- Enclosing class:
BundleFinalizationHandlers
public static class BundleFinalizationHandlers.InMemoryFinalizer
extends Object
implements BundleFinalizationHandler
-
Method Summary
Modifier and TypeMethodDescriptionvoid
All finalization requests will be sent without waiting for the responses.void
requestsFinalization
(String bundleId) This callback is invoked whenever an inflight bundle that is being processed requests finalization.
-
Method Details
-
finalizeAllOutstandingBundles
public void finalizeAllOutstandingBundles()All finalization requests will be sent without waiting for the responses. -
requestsFinalization
Description copied from interface:BundleFinalizationHandler
This callback is invoked whenever an inflight bundle that is being processed requests finalization.The runner is responsible for invoking bundle finalization when the output of the bundle has been durably persisted.
- Specified by:
requestsFinalization
in interfaceBundleFinalizationHandler
-