| 程序包 | 说明 |
|---|---|
| org.apache.flink.runtime.state | |
| 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.
|
| 限定符和类型 | 方法和说明 |
|---|---|
SnapshotExecutionType |
SavepointResources.getPreferredSnapshotExecutionType() |
static SnapshotExecutionType |
SnapshotExecutionType.valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static SnapshotExecutionType[] |
SnapshotExecutionType.values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
| 构造器和说明 |
|---|
SavepointResources(FullSnapshotResources<K> snapshotResources,
SnapshotExecutionType preferredSnapshotExecutionType) |
SnapshotStrategyRunner(String description,
SnapshotStrategy<T,SR> snapshotStrategy,
org.apache.flink.core.fs.CloseableRegistry cancelStreamRegistry,
SnapshotExecutionType executionType) |
| 构造器和说明 |
|---|
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) |
Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.