| Modifier and Type | Method and Description |
|---|---|
static StateBackend |
Checkpoints.loadStateBackend(org.apache.flink.configuration.Configuration configuration,
ClassLoader classLoader,
org.slf4j.Logger logger) |
| Modifier and Type | Method and Description |
|---|---|
static void |
Checkpoints.disposeSavepoint(String pointer,
StateBackend stateBackend,
ClassLoader classLoader) |
| Constructor and Description |
|---|
CheckpointCoordinator(org.apache.flink.api.common.JobID job,
CheckpointCoordinatorConfiguration chkConfig,
ExecutionVertex[] tasksToTrigger,
ExecutionVertex[] tasksToWaitFor,
ExecutionVertex[] tasksToCommitTo,
CheckpointIDCounter checkpointIDCounter,
CompletedCheckpointStore completedCheckpointStore,
StateBackend checkpointStateBackend,
Executor executor,
ScheduledExecutor timer,
SharedStateRegistryFactory sharedStateRegistryFactory,
CheckpointFailureManager failureManager) |
CheckpointCoordinator(org.apache.flink.api.common.JobID job,
CheckpointCoordinatorConfiguration chkConfig,
ExecutionVertex[] tasksToTrigger,
ExecutionVertex[] tasksToWaitFor,
ExecutionVertex[] tasksToCommitTo,
CheckpointIDCounter checkpointIDCounter,
CompletedCheckpointStore completedCheckpointStore,
StateBackend checkpointStateBackend,
Executor executor,
ScheduledExecutor timer,
SharedStateRegistryFactory sharedStateRegistryFactory,
CheckpointFailureManager failureManager,
Clock clock) |
| Modifier and Type | Method and Description |
|---|---|
void |
ExecutionGraph.enableCheckpointing(CheckpointCoordinatorConfiguration chkConfig,
List<ExecutionJobVertex> verticesToTrigger,
List<ExecutionJobVertex> verticesToWaitFor,
List<ExecutionJobVertex> verticesToCommitTo,
List<MasterTriggerRestoreHook<?>> masterHooks,
CheckpointIDCounter checkpointIDCounter,
CompletedCheckpointStore checkpointStore,
StateBackend checkpointStateBackend,
CheckpointStatsTracker statsTracker) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.flink.util.SerializedValue<StateBackend> |
JobCheckpointingSettings.getDefaultStateBackend() |
| Constructor and Description |
|---|
JobCheckpointingSettings(List<JobVertexID> verticesToTrigger,
List<JobVertexID> verticesToAcknowledge,
List<JobVertexID> verticesToConfirm,
CheckpointCoordinatorConfiguration checkpointCoordinatorConfiguration,
org.apache.flink.util.SerializedValue<StateBackend> defaultStateBackend) |
JobCheckpointingSettings(List<JobVertexID> verticesToTrigger,
List<JobVertexID> verticesToAcknowledge,
List<JobVertexID> verticesToConfirm,
CheckpointCoordinatorConfiguration checkpointCoordinatorConfiguration,
org.apache.flink.util.SerializedValue<StateBackend> defaultStateBackend,
org.apache.flink.util.SerializedValue<MasterTriggerRestoreHook.Factory[]> masterHooks) |
| Modifier and Type | Interface and Description |
|---|---|
interface |
StateBackendFactory<T extends StateBackend>
A factory to create a specific state backend.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractStateBackend
An abstract base implementation of the
StateBackend interface. |
| Modifier and Type | Method and Description |
|---|---|
StateBackend |
ConfigurableStateBackend.configure(org.apache.flink.configuration.Configuration config,
ClassLoader classLoader)
Creates a variant of the state backend that applies additional configuration parameters.
|
static StateBackend |
StateBackendLoader.fromApplicationOrConfigOrDefault(StateBackend fromApplication,
org.apache.flink.configuration.Configuration config,
ClassLoader classLoader,
org.slf4j.Logger logger)
Checks if an application-defined state backend is given, and if not, loads the state
backend from the configuration, from the parameter 'state.backend', as defined
in
CheckpointingOptions.STATE_BACKEND. |
static StateBackend |
StateBackendLoader.loadStateBackendFromConfig(org.apache.flink.configuration.Configuration config,
ClassLoader classLoader,
org.slf4j.Logger logger)
Loads the state backend from the configuration, from the parameter 'state.backend', as defined
in
CheckpointingOptions.STATE_BACKEND. |
| Modifier and Type | Method and Description |
|---|---|
static StateBackend |
StateBackendLoader.fromApplicationOrConfigOrDefault(StateBackend fromApplication,
org.apache.flink.configuration.Configuration config,
ClassLoader classLoader,
org.slf4j.Logger logger)
Checks if an application-defined state backend is given, and if not, loads the state
backend from the configuration, from the parameter 'state.backend', as defined
in
CheckpointingOptions.STATE_BACKEND. |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractFileStateBackend
A base class for all state backends that store their metadata (and data) in files.
|
class |
FsStateBackend
This state backend holds the working state in the memory (JVM heap) of the TaskManagers.
|
| Modifier and Type | Class and Description |
|---|---|
class |
MemoryStateBackend
This state backend holds the working state in the memory (JVM heap) of the TaskManagers.
|
Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.