| 程序包 | 说明 |
|---|---|
| org.apache.flink.runtime.state | |
| org.apache.flink.runtime.state.changelog | |
| org.apache.flink.runtime.state.changelog.inmemory | |
| org.apache.flink.runtime.state.heap |
This package contains the classes for key/value state backends that store the state on the JVM
heap as objects.
|
| 限定符和类型 | 字段和说明 |
|---|---|
protected LocalRecoveryConfig |
TaskLocalStateStoreImpl.localRecoveryConfig
The configured mode for local recovery.
|
| 限定符和类型 | 方法和说明 |
|---|---|
LocalRecoveryConfig |
TaskStateManager.createLocalRecoveryConfig()
Returns the configuration for local recovery, i.e. the base directories for all file-based
local state of the owning subtask and the general mode for local recovery.
|
LocalRecoveryConfig |
TaskStateManagerImpl.createLocalRecoveryConfig() |
LocalRecoveryConfig |
TaskLocalStateStoreImpl.getLocalRecoveryConfig() |
LocalRecoveryConfig |
TaskLocalStateStore.getLocalRecoveryConfig()
Returns the
LocalRecoveryConfig for this task local state store. |
LocalRecoveryConfig |
NoOpTaskLocalStateStoreImpl.getLocalRecoveryConfig() |
| 限定符和类型 | 方法和说明 |
|---|---|
StateChangelogStorage<?> |
TaskExecutorStateChangelogStoragesManager.stateChangelogStorageForJob(org.apache.flink.api.common.JobID jobId,
org.apache.flink.configuration.Configuration configuration,
TaskManagerJobMetricGroup metricGroup,
LocalRecoveryConfig localRecoveryConfig) |
| 构造器和说明 |
|---|
ChangelogTaskLocalStateStore(org.apache.flink.api.common.JobID jobID,
AllocationID allocationID,
JobVertexID jobVertexID,
int subtaskIndex,
LocalRecoveryConfig localRecoveryConfig,
Executor discardExecutor) |
TaskLocalStateStoreImpl(org.apache.flink.api.common.JobID jobID,
AllocationID allocationID,
JobVertexID jobVertexID,
int subtaskIndex,
LocalRecoveryConfig localRecoveryConfig,
Executor discardExecutor) |
| 限定符和类型 | 方法和说明 |
|---|---|
StateChangelogStorage<?> |
StateChangelogStorageFactory.createStorage(org.apache.flink.api.common.JobID jobID,
org.apache.flink.configuration.Configuration configuration,
TaskManagerJobMetricGroup metricGroup,
LocalRecoveryConfig localRecoveryConfig)
Create the storage based on a configuration.
|
static StateChangelogStorage<?> |
StateChangelogStorageLoader.load(org.apache.flink.api.common.JobID jobID,
org.apache.flink.configuration.Configuration configuration,
TaskManagerJobMetricGroup metricGroup,
LocalRecoveryConfig localRecoveryConfig) |
| 限定符和类型 | 方法和说明 |
|---|---|
StateChangelogStorage<?> |
InMemoryStateChangelogStorageFactory.createStorage(org.apache.flink.api.common.JobID jobID,
org.apache.flink.configuration.Configuration configuration,
TaskManagerJobMetricGroup metricGroup,
LocalRecoveryConfig localRecoveryConfig) |
| 限定符和类型 | 方法和说明 |
|---|---|
LocalRecoveryConfig |
HeapKeyedStateBackend.getLocalRecoveryConfig() |
| 构造器和说明 |
|---|
HeapKeyedStateBackend(TaskKvStateRegistry kvStateRegistry,
org.apache.flink.api.common.typeutils.TypeSerializer<K> keySerializer,
ClassLoader userCodeClassLoader,
org.apache.flink.api.common.ExecutionConfig executionConfig,
TtlTimeProvider ttlTimeProvider,
LatencyTrackingStateConfig latencyTrackingStateConfig,
org.apache.flink.core.fs.CloseableRegistry cancelStreamRegistry,
StreamCompressionDecorator keyGroupCompressionDecorator,
Map<String,StateTable<K,?,?>> registeredKVStates,
Map<String,HeapPriorityQueueSnapshotRestoreWrapper<?>> registeredPQStates,
LocalRecoveryConfig localRecoveryConfig,
HeapPriorityQueueSetFactory priorityQueueSetFactory,
org.apache.flink.runtime.state.heap.HeapSnapshotStrategy<K> checkpointStrategy,
SnapshotExecutionType snapshotExecutionType,
org.apache.flink.runtime.state.heap.StateTableFactory<K> stateTableFactory,
InternalKeyContext<K> keyContext) |
HeapKeyedStateBackendBuilder(TaskKvStateRegistry kvStateRegistry,
org.apache.flink.api.common.typeutils.TypeSerializer<K> keySerializer,
ClassLoader userCodeClassLoader,
int numberOfKeyGroups,
KeyGroupRange keyGroupRange,
org.apache.flink.api.common.ExecutionConfig executionConfig,
TtlTimeProvider ttlTimeProvider,
LatencyTrackingStateConfig latencyTrackingStateConfig,
Collection<KeyedStateHandle> stateHandles,
StreamCompressionDecorator keyGroupCompressionDecorator,
LocalRecoveryConfig localRecoveryConfig,
HeapPriorityQueueSetFactory priorityQueueSetFactory,
boolean asynchronousSnapshots,
org.apache.flink.core.fs.CloseableRegistry cancelStreamRegistry) |
Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.