Class ForStHeapTimersFullRestoreOperation<K>

    • Constructor Detail

      • ForStHeapTimersFullRestoreOperation

        public ForStHeapTimersFullRestoreOperation​(org.apache.flink.runtime.state.KeyGroupRange keyGroupRange,
                                                   int numberOfKeyGroups,
                                                   ClassLoader userCodeClassLoader,
                                                   Map<String,​ForStOperationUtils.ForStKvStateInfo> kvStateInformation,
                                                   LinkedHashMap<String,​org.apache.flink.runtime.state.heap.HeapPriorityQueueSnapshotRestoreWrapper<?>> registeredPQStates,
                                                   org.apache.flink.runtime.state.heap.HeapPriorityQueueSetFactory priorityQueueFactory,
                                                   org.apache.flink.runtime.state.StateSerializerProvider<K> keySerializerProvider,
                                                   org.apache.flink.core.fs.Path instanceRocksDBPath,
                                                   org.forstdb.DBOptions dbOptions,
                                                   Function<String,​org.forstdb.ColumnFamilyOptions> columnFamilyOptionsFactory,
                                                   ForStNativeMetricOptions nativeMetricOptions,
                                                   org.apache.flink.metrics.MetricGroup metricGroup,
                                                   @Nonnull
                                                   ForStDBTtlCompactFiltersManager ttlCompactFiltersManager,
                                                   @Nonnegative
                                                   long writeBatchSize,
                                                   Long writeBufferManagerCapacity,
                                                   @Nonnull
                                                   Collection<org.apache.flink.runtime.state.KeyedStateHandle> restoreStateHandles,
                                                   org.apache.flink.core.fs.ICloseableRegistry cancelStreamRegistryForRestore)
    • Method Detail

      • restore

        public ForStRestoreResult restore()
                                   throws IOException,
                                          org.apache.flink.util.StateMigrationException,
                                          org.forstdb.RocksDBException
        Restores all key-groups data that is referenced by the passed state handles.
        Specified by:
        restore in interface ForStRestoreOperation
        Specified by:
        restore in interface org.apache.flink.runtime.state.RestoreOperation<K>
        Throws:
        IOException
        org.apache.flink.util.StateMigrationException
        org.forstdb.RocksDBException