Interface StateChangelogStorageFactory
-
- All Known Implementing Classes:
InMemoryStateChangelogStorageFactory
@Internal public interface StateChangelogStorageFactoryA factory forStateChangelogStorage. Please useStateChangelogStorageLoaderto createStateChangelogStorage.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StateChangelogStorage<?>createStorage(org.apache.flink.api.common.JobID jobID, org.apache.flink.configuration.Configuration configuration, TaskManagerJobMetricGroup metricGroup, LocalRecoveryConfig localRecoveryConfig)Create the storage based on a configuration.StateChangelogStorageView<?>createStorageView(org.apache.flink.configuration.Configuration configuration)Create the storage for recovery.StringgetIdentifier()Get the identifier for user to use this changelog storage factory.
-
-
-
Method Detail
-
getIdentifier
String getIdentifier()
Get the identifier for user to use this changelog storage factory.
-
createStorage
StateChangelogStorage<?> createStorage(org.apache.flink.api.common.JobID jobID, org.apache.flink.configuration.Configuration configuration, TaskManagerJobMetricGroup metricGroup, LocalRecoveryConfig localRecoveryConfig) throws IOException
Create the storage based on a configuration.- Throws:
IOException
-
createStorageView
StateChangelogStorageView<?> createStorageView(org.apache.flink.configuration.Configuration configuration) throws IOException
Create the storage for recovery.- Throws:
IOException
-
-