Package org.apache.beam.sdk.fn.data
Interface CloseableFnDataReceiver<T>
- All Superinterfaces:
AutoCloseable
,FnDataReceiver<T>
- All Known Implementing Classes:
BeamFnDataInboundObserver
A receiver of streamed data that can be closed.
The close method for a CloseableFnDataReceiver
must be idempotent.
-
Method Summary
Methods inherited from interface org.apache.beam.sdk.fn.data.FnDataReceiver
accept
-
Method Details
-
flush
Deprecated.to be removed once splitting/checkpointing are available in SDKs and rewinding in readers.Eagerly flushes any data that is buffered in this channel.- Throws:
Exception
-
close
.Does nothing if this
CloseableFnDataReceiver
is already closed.- Specified by:
close
in interfaceAutoCloseable
- Throws:
Exception
-