Class ForStSnapshotStrategyBase.ForStNativeSnapshotResources

  • All Implemented Interfaces:
    org.apache.flink.runtime.state.SnapshotResources
    Enclosing class:
    ForStSnapshotStrategyBase<K,​R extends org.apache.flink.runtime.state.SnapshotResources>

    protected static class ForStSnapshotStrategyBase.ForStNativeSnapshotResources
    extends Object
    implements org.apache.flink.runtime.state.SnapshotResources
    A SnapshotResources for native ForSt snapshot.
    • Field Detail

      • stateMetaInfoSnapshots

        @Nonnull
        protected final List<org.apache.flink.runtime.state.metainfo.StateMetaInfoSnapshot> stateMetaInfoSnapshots
      • manifestFileSize

        protected final long manifestFileSize
      • liveFiles

        @Nonnull
        protected final List<org.apache.flink.core.fs.Path> liveFiles
      • manifestFileName

        @Nonnull
        protected final String manifestFileName
      • manifestFilePath

        @Nonnull
        protected final org.apache.flink.core.fs.Path manifestFilePath
      • releaser

        @Nonnull
        protected final Runnable releaser
    • Constructor Detail

      • ForStNativeSnapshotResources

        public ForStNativeSnapshotResources​(@Nonnull
                                            List<org.apache.flink.runtime.state.metainfo.StateMetaInfoSnapshot> stateMetaInfoSnapshots,
                                            long manifestFileSize,
                                            @Nonnull
                                            List<org.apache.flink.core.fs.Path> liveFiles,
                                            @Nonnull
                                            org.apache.flink.core.fs.Path manifestFilePath,
                                            @Nonnull
                                            ForStSnapshotStrategyBase.PreviousSnapshot previousSnapshot,
                                            @Nonnull
                                            Runnable releaser)
    • Method Detail

      • getCurrentFileContent

        public String getCurrentFileContent()
      • release

        public void release()
        Specified by:
        release in interface org.apache.flink.runtime.state.SnapshotResources