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 ofMetadataOutputStreamWrapper
encapsulates theFSDataOutputStream
forFsCheckpointMetadataOutputStream
.
-
-
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 void
cleanup()
void
closeAction()
void
closeForCommitAction()
org.apache.flink.core.fs.FSDataOutputStream
getOutput()
-
-
-
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
-
-