Package org.apache.flink.runtime.state
Class AbstractKeyedStateBackendBuilder<K>
- java.lang.Object
-
- org.apache.flink.runtime.state.AbstractKeyedStateBackendBuilder<K>
-
- All Implemented Interfaces:
StateBackendBuilder<AbstractKeyedStateBackend<K>,BackendBuildingException>
- Direct Known Subclasses:
ForStSyncKeyedStateBackendBuilder
,HeapKeyedStateBackendBuilder
,RocksDBKeyedStateBackendBuilder
public abstract class AbstractKeyedStateBackendBuilder<K> extends Object implements StateBackendBuilder<AbstractKeyedStateBackend<K>,BackendBuildingException>
An abstract base implementation of theStateBackendBuilder
interface.
-
-
Field Summary
Fields Modifier and Type Field Description protected CloseableRegistry
cancelStreamRegistry
protected ExecutionConfig
executionConfig
protected StreamCompressionDecorator
keyGroupCompressionDecorator
protected KeyGroupRange
keyGroupRange
protected StateSerializerProvider<K>
keySerializerProvider
protected TaskKvStateRegistry
kvStateRegistry
protected LatencyTrackingStateConfig
latencyTrackingStateConfig
protected org.slf4j.Logger
logger
protected int
numberOfKeyGroups
protected Collection<KeyedStateHandle>
restoreStateHandles
protected TtlTimeProvider
ttlTimeProvider
protected ClassLoader
userCodeClassLoader
-
Constructor Summary
Constructors Constructor Description AbstractKeyedStateBackendBuilder(TaskKvStateRegistry kvStateRegistry, TypeSerializer<K> keySerializer, ClassLoader userCodeClassLoader, int numberOfKeyGroups, KeyGroupRange keyGroupRange, ExecutionConfig executionConfig, TtlTimeProvider ttlTimeProvider, LatencyTrackingStateConfig latencyTrackingStateConfig, Collection<KeyedStateHandle> stateHandles, StreamCompressionDecorator keyGroupCompressionDecorator, CloseableRegistry cancelStreamRegistry)
-
-
-
Field Detail
-
logger
protected final org.slf4j.Logger logger
-
kvStateRegistry
protected final TaskKvStateRegistry kvStateRegistry
-
keySerializerProvider
protected final StateSerializerProvider<K> keySerializerProvider
-
userCodeClassLoader
protected final ClassLoader userCodeClassLoader
-
numberOfKeyGroups
protected final int numberOfKeyGroups
-
keyGroupRange
protected final KeyGroupRange keyGroupRange
-
executionConfig
protected final ExecutionConfig executionConfig
-
ttlTimeProvider
protected final TtlTimeProvider ttlTimeProvider
-
latencyTrackingStateConfig
protected final LatencyTrackingStateConfig latencyTrackingStateConfig
-
keyGroupCompressionDecorator
protected final StreamCompressionDecorator keyGroupCompressionDecorator
-
restoreStateHandles
protected final Collection<KeyedStateHandle> restoreStateHandles
-
cancelStreamRegistry
protected final CloseableRegistry cancelStreamRegistry
-
-
Constructor Detail
-
AbstractKeyedStateBackendBuilder
public AbstractKeyedStateBackendBuilder(TaskKvStateRegistry kvStateRegistry, TypeSerializer<K> keySerializer, ClassLoader userCodeClassLoader, int numberOfKeyGroups, KeyGroupRange keyGroupRange, ExecutionConfig executionConfig, TtlTimeProvider ttlTimeProvider, LatencyTrackingStateConfig latencyTrackingStateConfig, @Nonnull Collection<KeyedStateHandle> stateHandles, StreamCompressionDecorator keyGroupCompressionDecorator, CloseableRegistry cancelStreamRegistry)
-
-