public interface CheckpointStreamFactory
Stream factories can be created from the
|Modifier and Type||Interface and Description|
A dedicated output stream that produces a
|Modifier and Type||Method and Description|
Creates an new
CheckpointStreamFactory.CheckpointStateOutputStream createCheckpointStateOutputStream(CheckpointedStateScope scope) throws IOException
CheckpointStreamFactory.CheckpointStateOutputStream. When the stream is closed, it returns a state handle that can retrieve the state back.
scope- The state's scope, whether it is exclusive or shared.
IOException- Exceptions may occur while creating the stream and should be forwarded.
Copyright © 2014–2019 The Apache Software Foundation. All rights reserved.