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 java.lang.Object implements BundleFinalizationHandler
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidfinalizeAllOutstandingBundles()All finalization requests will be sent without waiting for the responses.voidrequestsFinalization(java.lang.String bundleId)This callback is invoked whenever an inflight bundle that is being processed requests finalization.
-
-
-
Method Detail
-
finalizeAllOutstandingBundles
public void finalizeAllOutstandingBundles()
All finalization requests will be sent without waiting for the responses.
-
requestsFinalization
public void requestsFinalization(java.lang.String bundleId)
Description copied from interface:BundleFinalizationHandlerThis 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:
requestsFinalizationin interfaceBundleFinalizationHandler
-
-