public static class CheckpointStreamWithResultProvider.PrimaryStreamOnly extends Object implements CheckpointStreamWithResultProvider
CheckpointStreamWithResultProvider that only creates the
primary/remote/jm-owned state.LOG| 构造器和说明 |
|---|
PrimaryStreamOnly(CheckpointStreamFactory.CheckpointStateOutputStream outputStream) |
| 限定符和类型 | 方法和说明 |
|---|---|
SnapshotResult<StreamStateHandle> |
closeAndFinalizeCheckpointStreamResult()
Closes the stream ans returns a snapshot result with the stream handle(s).
|
CheckpointStreamFactory.CheckpointStateOutputStream |
getCheckpointOutputStream()
Returns the encapsulated output stream.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclose, createDuplicatingStream, createSimpleStream, toKeyedStateHandleSnapshotResultpublic PrimaryStreamOnly(@Nonnull CheckpointStreamFactory.CheckpointStateOutputStream outputStream)
@Nonnull public SnapshotResult<StreamStateHandle> closeAndFinalizeCheckpointStreamResult() throws IOException
CheckpointStreamWithResultProvider@Nonnull public CheckpointStreamFactory.CheckpointStateOutputStream getCheckpointOutputStream()
CheckpointStreamWithResultProviderCopyright © 2014–2022 The Apache Software Foundation. All rights reserved.