Interface BundleProgressHandler
public interface BundleProgressHandler
A handler for bundle progress messages, both during bundle execution and on its completion.
Methods on this interface will only be called serially, and after onCompleted(org.apache.beam.model.fnexecution.v1.BeamFnApi.ProcessBundleResponse) no more
calls will be made.
-
Method Summary
Modifier and TypeMethodDescriptionstatic BundleProgressHandlerignored()Returns a handler that ignores metrics.voidonCompleted(org.apache.beam.model.fnexecution.v1.BeamFnApi.ProcessBundleResponse response) Handles the bundle's completion report.voidonProgress(org.apache.beam.model.fnexecution.v1.BeamFnApi.ProcessBundleProgressResponse progress) Handles a progress report from the bundle while it is executing.
-
Method Details
-
onProgress
void onProgress(org.apache.beam.model.fnexecution.v1.BeamFnApi.ProcessBundleProgressResponse progress) Handles a progress report from the bundle while it is executing. -
onCompleted
void onCompleted(org.apache.beam.model.fnexecution.v1.BeamFnApi.ProcessBundleResponse response) Handles the bundle's completion report. -
ignored
Returns a handler that ignores metrics.
-