public abstract static class CheckpointStreamFactory.CheckpointStateOutputStream extends FSDataOutputStream
StreamStateHandle
when closed.
Note: This is an abstract class and not an interface because OutputStream
is an abstract class.
Constructor and Description |
---|
CheckpointStateOutputStream() |
Modifier and Type | Method and Description |
---|---|
abstract StreamStateHandle |
closeAndGetHandle()
Closes the stream and gets a state handle that can create an input stream
producing the data written to this stream.
|
close, flush, getPos, sync
write, write, write
public abstract StreamStateHandle closeAndGetHandle() throws IOException
IOException
- Thrown, if the stream cannot be closed.Copyright © 2014–2018 The Apache Software Foundation. All rights reserved.