public interface CheckpointStreamFactory
Stream factories can be created from the CheckpointStorageAccess through CheckpointStorageWorkerView.resolveCheckpointStorageLocation(long,
CheckpointStorageLocationReference).
| 限定符和类型 | 接口和说明 |
|---|---|
static class |
CheckpointStreamFactory.CheckpointStateOutputStream
A dedicated output stream that produces a
StreamStateHandle when closed. |
| 限定符和类型 | 方法和说明 |
|---|---|
CheckpointStreamFactory.CheckpointStateOutputStream |
createCheckpointStateOutputStream(CheckpointedStateScope scope)
Creates an new
CheckpointStreamFactory.CheckpointStateOutputStream. |
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–2022 The Apache Software Foundation. All rights reserved.