Class InMemoryStateChangelogStorageFactory
- java.lang.Object
-
- org.apache.flink.runtime.state.changelog.inmemory.InMemoryStateChangelogStorageFactory
-
- All Implemented Interfaces:
StateChangelogStorageFactory
public class InMemoryStateChangelogStorageFactory extends Object implements StateChangelogStorageFactory
AnStateChangelogStorageFactoryfor creatingInMemoryStateChangelogStorage.
-
-
Field Summary
Fields Modifier and Type Field Description static StringIDENTIFIER
-
Constructor Summary
Constructors Constructor Description InMemoryStateChangelogStorageFactory()
-
Method Summary
All Methods Instance Methods Concrete 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.
-
-
-
Field Detail
-
IDENTIFIER
public static final String IDENTIFIER
- See Also:
- Constant Field Values
-
-
Method Detail
-
getIdentifier
public String getIdentifier()
Description copied from interface:StateChangelogStorageFactoryGet the identifier for user to use this changelog storage factory.- Specified by:
getIdentifierin interfaceStateChangelogStorageFactory
-
createStorage
public StateChangelogStorage<?> createStorage(org.apache.flink.api.common.JobID jobID, org.apache.flink.configuration.Configuration configuration, TaskManagerJobMetricGroup metricGroup, LocalRecoveryConfig localRecoveryConfig)
Description copied from interface:StateChangelogStorageFactoryCreate the storage based on a configuration.- Specified by:
createStoragein interfaceStateChangelogStorageFactory
-
createStorageView
public StateChangelogStorageView<?> createStorageView(org.apache.flink.configuration.Configuration configuration)
Description copied from interface:StateChangelogStorageFactoryCreate the storage for recovery.- Specified by:
createStorageViewin interfaceStateChangelogStorageFactory
-
-