| 限定符和类型 | 方法和说明 |
|---|---|
static StateBackend |
Checkpoints.loadStateBackend(org.apache.flink.configuration.Configuration configuration,
ClassLoader classLoader,
org.slf4j.Logger logger) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
DefaultExecutionGraph.enableCheckpointing(CheckpointCoordinatorConfiguration chkConfig,
List<MasterTriggerRestoreHook<?>> masterHooks,
CheckpointIDCounter checkpointIDCounter,
CompletedCheckpointStore checkpointStore,
StateBackend checkpointStateBackend,
CheckpointStorage checkpointStorage,
CheckpointStatsTracker statsTracker,
CheckpointsCleaner checkpointsCleaner,
String changelogStorageName) |
void |
ExecutionGraph.enableCheckpointing(CheckpointCoordinatorConfiguration chkConfig,
List<MasterTriggerRestoreHook<?>> masterHooks,
CheckpointIDCounter checkpointIDCounter,
CompletedCheckpointStore checkpointStore,
StateBackend checkpointStateBackend,
CheckpointStorage checkpointStorage,
CheckpointStatsTracker statsTracker,
CheckpointsCleaner checkpointsCleaner,
String changelogStorage) |
| 限定符和类型 | 方法和说明 |
|---|---|
org.apache.flink.util.SerializedValue<StateBackend> |
JobCheckpointingSettings.getDefaultStateBackend() |
| 构造器和说明 |
|---|
JobCheckpointingSettings(CheckpointCoordinatorConfiguration checkpointCoordinatorConfiguration,
org.apache.flink.util.SerializedValue<StateBackend> defaultStateBackend) |
JobCheckpointingSettings(CheckpointCoordinatorConfiguration checkpointCoordinatorConfiguration,
org.apache.flink.util.SerializedValue<StateBackend> defaultStateBackend,
org.apache.flink.util.TernaryBoolean changelogStateBackendEnabled,
org.apache.flink.util.SerializedValue<CheckpointStorage> defaultCheckpointStorage,
org.apache.flink.util.SerializedValue<MasterTriggerRestoreHook.Factory[]> masterHooks) |
| 限定符和类型 | 接口和说明 |
|---|---|
interface |
StateBackendFactory<T extends StateBackend>
A factory to create a specific state backend.
|
| 限定符和类型 | 接口和说明 |
|---|---|
interface |
ConfigurableStateBackend
An interface for state backends that pick up additional parameters from a configuration.
|
| 限定符和类型 | 类和说明 |
|---|---|
class |
AbstractManagedMemoryStateBackend
Abstract base class for state backends that use managed memory.
|
class |
AbstractStateBackend
An abstract base implementation of the
StateBackend interface. |
| 限定符和类型 | 方法和说明 |
|---|---|
StateBackend |
ConfigurableStateBackend.configure(org.apache.flink.configuration.ReadableConfig config,
ClassLoader classLoader)
Creates a variant of the state backend that applies additional configuration parameters.
|
static StateBackend |
StateBackendLoader.fromApplicationOrConfigOrDefault(StateBackend fromApplication,
org.apache.flink.util.TernaryBoolean isChangelogStateBackendEnableFromApplication,
org.apache.flink.configuration.Configuration config,
ClassLoader classLoader,
org.slf4j.Logger logger)
This is the state backend loader that loads a
DelegatingStateBackend wrapping the
state backend loaded from StateBackendLoader.loadFromApplicationOrConfigOrDefaultInternal(org.apache.flink.runtime.state.StateBackend, org.apache.flink.configuration.Configuration, java.lang.ClassLoader, org.slf4j.Logger) when delegation is enabled. |
static StateBackend |
StateBackendLoader.loadStateBackendFromConfig(org.apache.flink.configuration.ReadableConfig config,
ClassLoader classLoader,
org.slf4j.Logger logger)
Loads the unwrapped state backend from the configuration, from the parameter 'state.backend',
as defined in
StateBackendOptions.STATE_BACKEND. |
static StateBackend |
StateBackendLoader.loadStateBackendFromKeyedStateHandles(StateBackend originalStateBackend,
ClassLoader classLoader,
Collection<KeyedStateHandle> keyedStateHandles)
Load state backend which may wrap the original state backend for recovery.
|
| 限定符和类型 | 方法和说明 |
|---|---|
static StateBackend |
StateBackendLoader.fromApplicationOrConfigOrDefault(StateBackend fromApplication,
org.apache.flink.util.TernaryBoolean isChangelogStateBackendEnableFromApplication,
org.apache.flink.configuration.Configuration config,
ClassLoader classLoader,
org.slf4j.Logger logger)
This is the state backend loader that loads a
DelegatingStateBackend wrapping the
state backend loaded from StateBackendLoader.loadFromApplicationOrConfigOrDefaultInternal(org.apache.flink.runtime.state.StateBackend, org.apache.flink.configuration.Configuration, java.lang.ClassLoader, org.slf4j.Logger) when delegation is enabled. |
static boolean |
StateBackendLoader.isChangelogStateBackend(StateBackend backend) |
static CheckpointStorage |
CheckpointStorageLoader.load(CheckpointStorage fromApplication,
org.apache.flink.core.fs.Path defaultSavepointDirectory,
StateBackend configuredStateBackend,
org.apache.flink.configuration.Configuration config,
ClassLoader classLoader,
org.slf4j.Logger logger)
Loads the configured
CheckpointStorage for the job based on the following precedent
rules:
1) If the jobs configured StateBackend implements CheckpointStorage it
will always be used. |
static StateBackend |
StateBackendLoader.loadStateBackendFromKeyedStateHandles(StateBackend originalStateBackend,
ClassLoader classLoader,
Collection<KeyedStateHandle> keyedStateHandles)
Load state backend which may wrap the original state backend for recovery.
|
| 限定符和类型 | 接口和说明 |
|---|---|
interface |
DelegatingStateBackend
An interface to delegate state backend.
|
| 限定符和类型 | 方法和说明 |
|---|---|
StateBackend |
DelegatingStateBackend.getDelegatedStateBackend() |
| 限定符和类型 | 类和说明 |
|---|---|
class |
AbstractFileStateBackend
已过时。
State backends should no longer implement
CheckpointStorage functionality.
Please inherit AbstractStateBackend instead. Custom checkpoint storage can be
additionally implemented as a separate class. |
class |
FsStateBackend
已过时。
|
| 限定符和类型 | 类和说明 |
|---|---|
class |
HashMapStateBackend
This state backend holds the working state in the memory (JVM heap) of the TaskManagers and
checkpoints based on the configured
CheckpointStorage. |
| 限定符和类型 | 类和说明 |
|---|---|
class |
MemoryStateBackend
已过时。
|
Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.