public static class SdkHarnessClient.ActiveBundle<InputT> extends java.lang.Object implements RemoteBundle<InputT>
BeamFnApi.ProcessBundleDescriptor.| Modifier and Type | Method and Description |
|---|---|
void |
close()
Blocks till bundle processing is finished.
|
java.lang.String |
getId()
Returns an id used to represent this bundle.
|
FnDataReceiver<org.apache.beam.sdk.util.WindowedValue<InputT>> |
getInputReceiver()
Returns a
receiver which consumes input elements forwarding them to
the SDK. |
public java.lang.String getId()
getId in interface RemoteBundle<InputT>public FnDataReceiver<org.apache.beam.sdk.util.WindowedValue<InputT>> getInputReceiver()
receiver which consumes input elements forwarding them to
the SDK.getInputReceiver in interface RemoteBundle<InputT>public void close()
throws java.lang.Exception
input receiver.
This method will throw an exception if bundle processing has failed. Throwable.getSuppressed() will return all the reasons as to why processing has failed.
close in interface java.lang.AutoCloseableclose in interface RemoteBundle<InputT>java.lang.Exception