Class InMemoryStateChangelogStorageFactory
java.lang.Object
org.apache.flink.runtime.state.changelog.inmemory.InMemoryStateChangelogStorageFactory
- All Implemented Interfaces:
StateChangelogStorageFactory
public class InMemoryStateChangelogStorageFactory
extends Object
implements StateChangelogStorageFactory
An
StateChangelogStorageFactory for creating InMemoryStateChangelogStorage.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateStorage(org.apache.flink.api.common.JobID jobID, org.apache.flink.configuration.Configuration configuration, TaskManagerJobMetricGroup metricGroup, LocalRecoveryConfig localRecoveryConfig) Create the storage based on a configuration.createStorageView(org.apache.flink.configuration.Configuration configuration) Create the storage for recovery.Get the identifier for user to use this changelog storage factory.
-
Field Details
-
IDENTIFIER
- See Also:
-
-
Constructor Details
-
InMemoryStateChangelogStorageFactory
public InMemoryStateChangelogStorageFactory()
-
-
Method Details
-
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
-