| 程序包 | 说明 |
|---|---|
| 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.
|
| org.apache.flink.runtime.state.ttl |
| 限定符和类型 | 接口和说明 |
|---|---|
interface |
CheckpointableKeyedStateBackend<K>
Interface that combines both, the
KeyedStateBackend interface, which encapsulates methods
responsible for keyed state management and the Snapshotable which tells the system how to
snapshot the underlying state. |
interface |
TestableKeyedStateBackend<K>
A keyed state backend interface for internal testing purpose.
|
| 限定符和类型 | 类和说明 |
|---|---|
class |
AbstractKeyedStateBackend<K>
Base implementation of KeyedStateBackend.
|
| 限定符和类型 | 字段和说明 |
|---|---|
protected KeyedStateBackend<?> |
DefaultKeyedStateStore.keyedStateBackend |
| 限定符和类型 | 方法和说明 |
|---|---|
default KeyedStateBackend<K> |
TestableKeyedStateBackend.getDelegatedKeyedStateBackend(boolean recursive) |
| 构造器和说明 |
|---|
DefaultKeyedStateStore(KeyedStateBackend<?> keyedStateBackend,
org.apache.flink.api.common.ExecutionConfig executionConfig) |
| 限定符和类型 | 类和说明 |
|---|---|
class |
HeapKeyedStateBackend<K>
A
AbstractKeyedStateBackend that keeps state on the Java Heap and will serialize state to
streams provided by a CheckpointStreamFactory upon checkpointing. |
| 限定符和类型 | 方法和说明 |
|---|---|
static <K,N,SV,TTLSV,S extends org.apache.flink.api.common.state.State,IS extends S> |
TtlStateFactory.createStateAndWrapWithTtlIfEnabled(org.apache.flink.api.common.typeutils.TypeSerializer<N> namespaceSerializer,
org.apache.flink.api.common.state.StateDescriptor<S,SV> stateDesc,
KeyedStateBackend<K> stateBackend,
TtlTimeProvider timeProvider) |
Copyright © 2014–2023 The Apache Software Foundation. All rights reserved.