public interface CloseableFnDataReceiver<T> extends FnDataReceiver<T>, java.lang.AutoCloseable
The close method for a CloseableFnDataReceiver must be idempotent.
| Modifier and Type | Method and Description |
|---|---|
void |
close()
.
|
void |
flush()
Deprecated.
to be removed once splitting/checkpointing are available in SDKs and rewinding in
readers.
|
accept@Deprecated
void flush()
throws java.lang.Exception
java.lang.Exceptionvoid close()
throws java.lang.Exception
Does nothing if this CloseableFnDataReceiver is already closed.
close in interface java.lang.AutoCloseablejava.lang.Exception