@Internal public interface StateChangelogStorageFactory
StateChangelogStorage
. Please use StateChangelogStorageLoader
to
create StateChangelogStorage
.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.
|
String getIdentifier()
StateChangelogStorage<?> createStorage(JobID jobID, Configuration configuration, TaskManagerJobMetricGroup metricGroup, LocalRecoveryConfig localRecoveryConfig) throws IOException
IOException
StateChangelogStorageView<?> createStorageView(Configuration configuration) throws IOException
IOException
Copyright © 2014–2023 The Apache Software Foundation. All rights reserved.