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