public class InMemoryStateChangelogStorageFactory extends Object implements StateChangelogStorageFactory
StateChangelogStorageFactory for creating InMemoryStateChangelogStorage.| Modifier and Type | Field and Description |
|---|---|
static String |
IDENTIFIER |
| Constructor and Description |
|---|
InMemoryStateChangelogStorageFactory() |
| Modifier and Type | Method and 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.
|
String |
getIdentifier()
Get the identifier for user to use this changelog storage factory.
|
public static final String IDENTIFIER
public InMemoryStateChangelogStorageFactory()
public String getIdentifier()
StateChangelogStorageFactorygetIdentifier in interface StateChangelogStorageFactorypublic StateChangelogStorage<?> createStorage(org.apache.flink.api.common.JobID jobID, org.apache.flink.configuration.Configuration configuration, TaskManagerJobMetricGroup metricGroup, LocalRecoveryConfig localRecoveryConfig)
StateChangelogStorageFactorycreateStorage in interface StateChangelogStorageFactorypublic StateChangelogStorageView<?> createStorageView(org.apache.flink.configuration.Configuration configuration)
StateChangelogStorageFactorycreateStorageView in interface StateChangelogStorageFactoryCopyright © 2014–2024 The Apache Software Foundation. All rights reserved.