public abstract class AbstractKeyedStateBackendBuilder<K> extends Object implements StateBackendBuilder<AbstractKeyedStateBackend,BackendBuildingException>
StateBackendBuilder
interface.Modifier and Type | Field and Description |
---|---|
protected CloseableRegistry |
cancelStreamRegistry |
protected ExecutionConfig |
executionConfig |
protected StreamCompressionDecorator |
keyGroupCompressionDecorator |
protected KeyGroupRange |
keyGroupRange |
protected StateSerializerProvider<K> |
keySerializerProvider |
protected TaskKvStateRegistry |
kvStateRegistry |
protected int |
numberOfKeyGroups |
protected Collection<KeyedStateHandle> |
restoreStateHandles |
protected TtlTimeProvider |
ttlTimeProvider |
protected ClassLoader |
userCodeClassLoader |
Constructor and Description |
---|
AbstractKeyedStateBackendBuilder(TaskKvStateRegistry kvStateRegistry,
TypeSerializer<K> keySerializer,
ClassLoader userCodeClassLoader,
int numberOfKeyGroups,
KeyGroupRange keyGroupRange,
ExecutionConfig executionConfig,
TtlTimeProvider ttlTimeProvider,
Collection<KeyedStateHandle> stateHandles,
StreamCompressionDecorator keyGroupCompressionDecorator,
CloseableRegistry cancelStreamRegistry) |
protected final TaskKvStateRegistry kvStateRegistry
protected final StateSerializerProvider<K> keySerializerProvider
protected final ClassLoader userCodeClassLoader
protected final int numberOfKeyGroups
protected final KeyGroupRange keyGroupRange
protected final ExecutionConfig executionConfig
protected final TtlTimeProvider ttlTimeProvider
protected final StreamCompressionDecorator keyGroupCompressionDecorator
protected final Collection<KeyedStateHandle> restoreStateHandles
protected final CloseableRegistry cancelStreamRegistry
public AbstractKeyedStateBackendBuilder(TaskKvStateRegistry kvStateRegistry, TypeSerializer<K> keySerializer, ClassLoader userCodeClassLoader, int numberOfKeyGroups, KeyGroupRange keyGroupRange, ExecutionConfig executionConfig, TtlTimeProvider ttlTimeProvider, @Nonnull Collection<KeyedStateHandle> stateHandles, StreamCompressionDecorator keyGroupCompressionDecorator, CloseableRegistry cancelStreamRegistry)
Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.