@Internal public class StateChangelogStorageLoader extends Object
PluginManager
to load StateChangelogStorage
.Constructor and Description |
---|
StateChangelogStorageLoader() |
Modifier and Type | Method and Description |
---|---|
static void |
initialize(PluginManager pluginManager) |
static StateChangelogStorage<?> |
load(JobID jobID,
Configuration configuration,
TaskManagerJobMetricGroup metricGroup,
LocalRecoveryConfig localRecoveryConfig) |
static StateChangelogStorageView<?> |
loadFromStateHandle(Configuration configuration,
ChangelogStateHandle changelogStateHandle) |
public static void initialize(PluginManager pluginManager)
@Nullable public static StateChangelogStorage<?> load(JobID jobID, Configuration configuration, TaskManagerJobMetricGroup metricGroup, LocalRecoveryConfig localRecoveryConfig) throws IOException
IOException
@Nonnull public static StateChangelogStorageView<?> loadFromStateHandle(Configuration configuration, ChangelogStateHandle changelogStateHandle) throws IOException
IOException
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.