Class ForStNoneRestoreOperation
- java.lang.Object
-
- org.apache.flink.state.forst.restore.ForStNoneRestoreOperation
-
- All Implemented Interfaces:
AutoCloseable
,RestoreOperation<ForStRestoreResult>
,ForStRestoreOperation
public class ForStNoneRestoreOperation extends Object implements ForStRestoreOperation
Encapsulates the process of initiating a ForSt instance without restore.
-
-
Constructor Summary
Constructors Constructor Description ForStNoneRestoreOperation(Map<String,ForStKeyedStateBackend.ForStKvStateInfo> kvStateInformation, File instanceRocksDBPath, org.forstdb.DBOptions dbOptions, Function<String,org.forstdb.ColumnFamilyOptions> columnFamilyOptionsFactory, ForStNativeMetricOptions nativeMetricOptions, MetricGroup metricGroup)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
ForStRestoreResult
restore()
Restores state that was previously snapshot-ed from the provided state handles.
-
-
-
Constructor Detail
-
ForStNoneRestoreOperation
public ForStNoneRestoreOperation(Map<String,ForStKeyedStateBackend.ForStKvStateInfo> kvStateInformation, File instanceRocksDBPath, org.forstdb.DBOptions dbOptions, Function<String,org.forstdb.ColumnFamilyOptions> columnFamilyOptionsFactory, ForStNativeMetricOptions nativeMetricOptions, MetricGroup metricGroup)
-
-
Method Detail
-
restore
public ForStRestoreResult restore() throws Exception
Description copied from interface:ForStRestoreOperation
Restores state that was previously snapshot-ed from the provided state handles.- Specified by:
restore
in interfaceForStRestoreOperation
- Specified by:
restore
in interfaceRestoreOperation<ForStRestoreResult>
- Throws:
Exception
-
close
public void close()
- Specified by:
close
in interfaceAutoCloseable
-
-