Interface RemoteBundle

All Superinterfaces:
AutoCloseable
All Known Implementing Classes:
SdkHarnessClient.BundleProcessor.ActiveBundle

public interface RemoteBundle extends AutoCloseable
A bundle capable of handling input data elements for a bundle descriptor by forwarding them to a remote environment for processing.

When a RemoteBundle is closed, it will block until bundle processing is finished on remote resources, and throw an exception if bundle processing has failed.

  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Closes this bundle.
    Get an id used to represent this bundle.
    Get a map of PCollection ids to receivers which consume input elements, forwarding them to the remote environment.
    Map<KV<String,String>,FnDataReceiver<org.apache.beam.sdk.util.construction.Timer>>
    Get a map of (transform id, timer id) to receivers which consume timers, forwarding them to the remote environment.
    void
    Ask the remote bundle for progress.
    void
    split(double fractionOfRemainder)
    Ask the remote bundle to split its current processing based upon its knowledge of remaining work.