Class FSDataOutputStreamWrapper
- java.lang.Object
-
- org.apache.flink.runtime.state.filesystem.MetadataOutputStreamWrapper
-
- org.apache.flink.runtime.state.filesystem.FSDataOutputStreamWrapper
-
@Internal public class FSDataOutputStreamWrapper extends MetadataOutputStreamWrapper
Implementation ofMetadataOutputStreamWrapperencapsulates theFSDataOutputStreamforFsCheckpointMetadataOutputStream.
-
-
Constructor Summary
Constructors Constructor Description FSDataOutputStreamWrapper(org.apache.flink.core.fs.FileSystem fileSystem, org.apache.flink.core.fs.Path metadataFilePath)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcleanup()voidcloseAction()voidcloseForCommitAction()org.apache.flink.core.fs.FSDataOutputStreamgetOutput()
-
-
-
Constructor Detail
-
FSDataOutputStreamWrapper
public FSDataOutputStreamWrapper(org.apache.flink.core.fs.FileSystem fileSystem, org.apache.flink.core.fs.Path metadataFilePath) throws IOException- Throws:
IOException
-
-
Method Detail
-
getOutput
public org.apache.flink.core.fs.FSDataOutputStream getOutput()
-
closeForCommitAction
public void closeForCommitAction() throws IOException- Throws:
IOException
-
closeAction
public void closeAction() throws IOException- Throws:
IOException
-
cleanup
public void cleanup() throws IOException- Throws:
IOException
-
-