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 |
|---|
CheckpointStreamFactory.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, syncwrite, write, writepublic CheckpointStreamFactory.CheckpointStateOutputStream()
public abstract StreamStateHandle closeAndGetHandle() throws IOException
IOException - Thrown, if the stream cannot be closed.Copyright © 2014–2017 The Apache Software Foundation. All rights reserved.