public static final class AbstractStateBackend.CheckpointStateOutputView extends DataOutputViewStreamWrapper
StateHandle<DataInputView>
when closed.written
Constructor and Description |
---|
CheckpointStateOutputView(AbstractStateBackend.CheckpointStateOutputStream out) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
StateHandle<DataInputView> |
closeAndGetHandle()
Closes the stream and gets a state handle that can create a DataInputView.
|
skipBytesToWrite, write
flush, size, write, write, writeBoolean, writeByte, writeBytes, writeChar, writeChars, writeDouble, writeFloat, writeInt, writeLong, writeShort, writeUTF
write
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
write, write, write, writeBoolean, writeByte, writeBytes, writeChar, writeChars, writeDouble, writeFloat, writeInt, writeLong, writeShort, writeUTF
public CheckpointStateOutputView(AbstractStateBackend.CheckpointStateOutputStream out)
public StateHandle<DataInputView> closeAndGetHandle() throws IOException
IOException
- Thrown, if the stream cannot be closed.public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class FilterOutputStream
IOException
Copyright © 2014–2017 The Apache Software Foundation. All rights reserved.