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 Details

    • finalizeAllOutstandingBundles

      public void finalizeAllOutstandingBundles()
      All finalization requests will be sent without waiting for the responses.
    • requestsFinalization

      public void requestsFinalization(String bundleId)
      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 interface BundleFinalizationHandler