public abstract class CheckpointMetadataOutputStream
extends org.apache.flink.core.fs.FSDataOutputStream
| Constructor and Description |
|---|
CheckpointMetadataOutputStream() |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
close()
This method should close the stream, if has not been closed before.
|
abstract CompletedCheckpointStorageLocation |
closeAndFinalizeCheckpoint() |
write, write, writepublic abstract CompletedCheckpointStorageLocation closeAndFinalizeCheckpoint() throws IOException
IOExceptionpublic abstract void close()
throws IOException
The above implies that this method is intended to be the "unsuccessful close",
such as when cancelling the stream writing, or when an exception occurs.
Closing the stream for the successful case must go through closeAndFinalizeCheckpoint().
close in interface Closeableclose in interface AutoCloseableclose in class org.apache.flink.core.fs.FSDataOutputStreamIOException - Thrown, if the stream cannot be closed.Copyright © 2014–2018 The Apache Software Foundation. All rights reserved.