Package org.apache.flink.runtime.state
Class CheckpointStreamWithResultProvider.PrimaryStreamOnly
java.lang.Object
org.apache.flink.runtime.state.CheckpointStreamWithResultProvider.PrimaryStreamOnly
- All Implemented Interfaces:
Closeable,AutoCloseable,CheckpointStreamWithResultProvider
- Enclosing interface:
- CheckpointStreamWithResultProvider
public static class CheckpointStreamWithResultProvider.PrimaryStreamOnly
extends Object
implements CheckpointStreamWithResultProvider
Implementation of
CheckpointStreamWithResultProvider that only creates the
primary/remote/jm-owned state.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.flink.runtime.state.CheckpointStreamWithResultProvider
CheckpointStreamWithResultProvider.KeyedStateHandleFactory, CheckpointStreamWithResultProvider.PrimaryAndSecondaryStream, CheckpointStreamWithResultProvider.PrimaryStreamOnly -
Field Summary
Fields inherited from interface org.apache.flink.runtime.state.CheckpointStreamWithResultProvider
LOG -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCloses the stream ans returns a snapshot result with the stream handle(s).Returns the encapsulated output stream.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.flink.runtime.state.CheckpointStreamWithResultProvider
close
-
Constructor Details
-
PrimaryStreamOnly
-
-
Method Details
-
closeAndFinalizeCheckpointStreamResult
@Nonnull public SnapshotResult<StreamStateHandle> closeAndFinalizeCheckpointStreamResult() throws IOExceptionDescription copied from interface:CheckpointStreamWithResultProviderCloses the stream ans returns a snapshot result with the stream handle(s).- Specified by:
closeAndFinalizeCheckpointStreamResultin interfaceCheckpointStreamWithResultProvider- Throws:
IOException
-
getCheckpointOutputStream
Description copied from interface:CheckpointStreamWithResultProviderReturns the encapsulated output stream.- Specified by:
getCheckpointOutputStreamin interfaceCheckpointStreamWithResultProvider
-