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(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.
|
public static final String IDENTIFIER
public InMemoryStateChangelogStorageFactory()
public String getIdentifier()
StateChangelogStorageFactory
getIdentifier
in interface StateChangelogStorageFactory
public StateChangelogStorage<?> createStorage(JobID jobID, Configuration configuration, TaskManagerJobMetricGroup metricGroup, LocalRecoveryConfig localRecoveryConfig)
StateChangelogStorageFactory
createStorage
in interface StateChangelogStorageFactory
public StateChangelogStorageView<?> createStorageView(Configuration configuration)
StateChangelogStorageFactory
createStorageView
in interface StateChangelogStorageFactory
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.