@Internal public class FSDataOutputStreamWrapper extends MetadataOutputStreamWrapper
MetadataOutputStreamWrapper encapsulates the FSDataOutputStream
for FsCheckpointMetadataOutputStream.| 构造器和说明 |
|---|
FSDataOutputStreamWrapper(org.apache.flink.core.fs.FileSystem fileSystem,
org.apache.flink.core.fs.Path metadataFilePath) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
cleanup()
The abstract function of aborting temporary files or doing nothing, which depends on the
different output stream implementations.
|
void |
closeAction()
The abstract function of once closing output stream operation.
|
void |
closeForCommitAction()
The abstract function of once closing output stream and committing operation.
|
org.apache.flink.core.fs.FSDataOutputStream |
getOutput()
Returns
FSDataOutputStream to write and other operations. |
public FSDataOutputStreamWrapper(org.apache.flink.core.fs.FileSystem fileSystem,
org.apache.flink.core.fs.Path metadataFilePath)
throws IOException
IOExceptionpublic org.apache.flink.core.fs.FSDataOutputStream getOutput()
MetadataOutputStreamWrapperFSDataOutputStream to write and other operations.public void closeForCommitAction()
throws IOException
MetadataOutputStreamWrapperIOException when failed and should be invoked by closeForCommit() indirectly
instead of this function.IOExceptionpublic void closeAction()
throws IOException
MetadataOutputStreamWrapperIOException when failed and should be invoked by close() indirectly instead of this
function.IOExceptionpublic void cleanup()
throws IOException
MetadataOutputStreamWrapperIOException when failed.IOExceptionCopyright © 2014–2023 The Apache Software Foundation. All rights reserved.