| Package | Description |
|---|---|
| org.apache.flink.runtime.checkpoint | |
| org.apache.flink.runtime.jobmaster | |
| org.apache.flink.runtime.query | |
| org.apache.flink.runtime.scheduler | |
| org.apache.flink.runtime.scheduler.adaptive | |
| org.apache.flink.runtime.state | |
| org.apache.flink.runtime.state.changelog | |
| org.apache.flink.runtime.state.changelog.inmemory | |
| org.apache.flink.runtime.state.filesystem | |
| org.apache.flink.runtime.state.hashmap | |
| 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.memory | |
| org.apache.flink.runtime.state.restore | |
| org.apache.flink.runtime.taskexecutor.rpc |
| Modifier and Type | Method and Description |
|---|---|
static List<KeyGroupRange> |
StateAssignmentOperation.createKeyGroupPartitions(int numberKeyGroups,
int parallelism)
Groups the available set of key groups into key group partitions.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
StateAssignmentOperation.extractIntersectingState(Collection<? extends KeyedStateHandle> originalSubtaskStateHandles,
KeyGroupRange rangeToExtract,
List<KeyedStateHandle> extractedStateCollector)
Extracts certain key group ranges from the given state handles and adds them to the
collector.
|
static List<KeyedStateHandle> |
StateAssignmentOperation.getManagedKeyedStateHandles(OperatorState operatorState,
KeyGroupRange subtaskKeyGroupRange)
Collect
managedKeyedStateHandles which have intersection with
given KeyGroupRange from operatorState. |
static List<KeyedStateHandle> |
StateAssignmentOperation.getRawKeyedStateHandles(OperatorState operatorState,
KeyGroupRange subtaskKeyGroupRange)
|
| Modifier and Type | Method and Description |
|---|---|
CompletableFuture<Acknowledge> |
KvStateRegistryGateway.notifyKvStateRegistered(org.apache.flink.api.common.JobID jobId,
JobVertexID jobVertexId,
KeyGroupRange keyGroupRange,
String registrationName,
org.apache.flink.queryablestate.KvStateID kvStateId,
InetSocketAddress kvStateServerAddress)
Notifies that queryable state has been registered.
|
CompletableFuture<Acknowledge> |
JobMaster.notifyKvStateRegistered(org.apache.flink.api.common.JobID jobId,
JobVertexID jobVertexId,
KeyGroupRange keyGroupRange,
String registrationName,
org.apache.flink.queryablestate.KvStateID kvStateId,
InetSocketAddress kvStateServerAddress) |
CompletableFuture<Acknowledge> |
KvStateRegistryGateway.notifyKvStateUnregistered(org.apache.flink.api.common.JobID jobId,
JobVertexID jobVertexId,
KeyGroupRange keyGroupRange,
String registrationName)
Notifies that queryable state has been unregistered.
|
CompletableFuture<Acknowledge> |
JobMaster.notifyKvStateUnregistered(org.apache.flink.api.common.JobID jobId,
JobVertexID jobVertexId,
KeyGroupRange keyGroupRange,
String registrationName) |
| Modifier and Type | Method and Description |
|---|---|
void |
KvStateRegistryListener.notifyKvStateRegistered(org.apache.flink.api.common.JobID jobId,
JobVertexID jobVertexId,
KeyGroupRange keyGroupRange,
String registrationName,
org.apache.flink.queryablestate.KvStateID kvStateId)
Notifies the listener about a registered KvState instance.
|
void |
KvStateLocationRegistry.notifyKvStateRegistered(JobVertexID jobVertexId,
KeyGroupRange keyGroupRange,
String registrationName,
org.apache.flink.queryablestate.KvStateID kvStateId,
InetSocketAddress kvStateServerAddress)
Notifies the registry about a registered KvState instance.
|
void |
KvStateRegistryListener.notifyKvStateUnregistered(org.apache.flink.api.common.JobID jobId,
JobVertexID jobVertexId,
KeyGroupRange keyGroupRange,
String registrationName)
Notifies the listener about an unregistered KvState instance.
|
void |
KvStateLocationRegistry.notifyKvStateUnregistered(JobVertexID jobVertexId,
KeyGroupRange keyGroupRange,
String registrationName)
Notifies the registry about an unregistered KvState instance.
|
org.apache.flink.queryablestate.KvStateID |
KvStateRegistry.registerKvState(org.apache.flink.api.common.JobID jobId,
JobVertexID jobVertexId,
KeyGroupRange keyGroupRange,
String registrationName,
InternalKvState<?,?,?> kvState,
ClassLoader userClassLoader)
Registers the KvState instance and returns the assigned ID.
|
void |
KvStateLocation.registerKvState(KeyGroupRange keyGroupRange,
org.apache.flink.queryablestate.KvStateID kvStateId,
InetSocketAddress kvStateAddress)
Registers a KvState instance for the given key group index.
|
void |
TaskKvStateRegistry.registerKvState(KeyGroupRange keyGroupRange,
String registrationName,
InternalKvState<?,?,?> kvState,
ClassLoader userClassLoader)
Registers the KvState instance at the KvStateRegistry.
|
void |
KvStateRegistry.unregisterKvState(org.apache.flink.api.common.JobID jobId,
JobVertexID jobVertexId,
KeyGroupRange keyGroupRange,
String registrationName,
org.apache.flink.queryablestate.KvStateID kvStateId)
Unregisters the KvState instance identified by the given KvStateID.
|
| Modifier and Type | Method and Description |
|---|---|
void |
KvStateHandler.notifyKvStateRegistered(org.apache.flink.api.common.JobID jobId,
JobVertexID jobVertexId,
KeyGroupRange keyGroupRange,
String registrationName,
org.apache.flink.queryablestate.KvStateID kvStateId,
InetSocketAddress kvStateServerAddress) |
void |
SchedulerNG.notifyKvStateRegistered(org.apache.flink.api.common.JobID jobId,
JobVertexID jobVertexId,
KeyGroupRange keyGroupRange,
String registrationName,
org.apache.flink.queryablestate.KvStateID kvStateId,
InetSocketAddress kvStateServerAddress) |
void |
SchedulerBase.notifyKvStateRegistered(org.apache.flink.api.common.JobID jobId,
JobVertexID jobVertexId,
KeyGroupRange keyGroupRange,
String registrationName,
org.apache.flink.queryablestate.KvStateID kvStateId,
InetSocketAddress kvStateServerAddress) |
void |
KvStateHandler.notifyKvStateUnregistered(org.apache.flink.api.common.JobID jobId,
JobVertexID jobVertexId,
KeyGroupRange keyGroupRange,
String registrationName) |
void |
SchedulerNG.notifyKvStateUnregistered(org.apache.flink.api.common.JobID jobId,
JobVertexID jobVertexId,
KeyGroupRange keyGroupRange,
String registrationName) |
void |
SchedulerBase.notifyKvStateUnregistered(org.apache.flink.api.common.JobID jobId,
JobVertexID jobVertexId,
KeyGroupRange keyGroupRange,
String registrationName) |
| Modifier and Type | Method and Description |
|---|---|
void |
AdaptiveScheduler.notifyKvStateRegistered(org.apache.flink.api.common.JobID jobId,
JobVertexID jobVertexId,
KeyGroupRange keyGroupRange,
String registrationName,
org.apache.flink.queryablestate.KvStateID kvStateId,
InetSocketAddress kvStateServerAddress) |
void |
AdaptiveScheduler.notifyKvStateUnregistered(org.apache.flink.api.common.JobID jobId,
JobVertexID jobVertexId,
KeyGroupRange keyGroupRange,
String registrationName) |
| Modifier and Type | Field and Description |
|---|---|
static KeyGroupRange |
KeyGroupRange.EMPTY_KEY_GROUP_RANGE
The empty key-group
|
protected KeyGroupRange |
AbstractKeyedStateBackend.keyGroupRange
Range of key-groups for which this backend is responsible.
|
protected KeyGroupRange |
AbstractKeyedStateBackendBuilder.keyGroupRange |
| Modifier and Type | Method and Description |
|---|---|
static KeyGroupRange |
KeyGroupRangeAssignment.computeKeyGroupRangeForOperatorIndex(int maxParallelism,
int parallelism,
int operatorIndex)
Computes the range of key-groups that are assigned to a given operator under the given
parallelism and maximum parallelism.
|
KeyGroupRange |
KeyGroupRange.getIntersection(KeyGroupRange other)
Create a range that represent the intersection between this range and the given range.
|
KeyGroupRange |
KeyGroupRangeOffsets.getKeyGroupRange() |
KeyGroupRange |
AbstractKeyedStateBackend.getKeyGroupRange() |
KeyGroupRange |
CheckpointableKeyedStateBackend.getKeyGroupRange()
Returns the key groups which this state backend is responsible for.
|
KeyGroupRange |
KeyGroupsStateHandle.getKeyGroupRange() |
KeyGroupRange |
FullSnapshotResources.getKeyGroupRange()
Returns the
KeyGroupRange of this snapshot. |
KeyGroupRange |
IncrementalRemoteKeyedStateHandle.getKeyGroupRange() |
KeyGroupRange |
DirectoryKeyedStateHandle.getKeyGroupRange() |
KeyGroupRange |
KeyedStateHandle.getKeyGroupRange()
Returns the range of the key groups contained in the state.
|
static KeyGroupRange |
KeyGroupRange.of(int startKeyGroup,
int endKeyGroup)
Factory method that also handles creation of empty key-groups.
|
| Modifier and Type | Method and Description |
|---|---|
abstract <K> AbstractKeyedStateBackend<K> |
AbstractStateBackend.createKeyedStateBackend(Environment env,
org.apache.flink.api.common.JobID jobID,
String operatorIdentifier,
org.apache.flink.api.common.typeutils.TypeSerializer<K> keySerializer,
int numberOfKeyGroups,
KeyGroupRange keyGroupRange,
TaskKvStateRegistry kvStateRegistry,
TtlTimeProvider ttlTimeProvider,
org.apache.flink.metrics.MetricGroup metricGroup,
Collection<KeyedStateHandle> stateHandles,
org.apache.flink.core.fs.CloseableRegistry cancelStreamRegistry) |
<K> CheckpointableKeyedStateBackend<K> |
StateBackend.createKeyedStateBackend(Environment env,
org.apache.flink.api.common.JobID jobID,
String operatorIdentifier,
org.apache.flink.api.common.typeutils.TypeSerializer<K> keySerializer,
int numberOfKeyGroups,
KeyGroupRange keyGroupRange,
TaskKvStateRegistry kvStateRegistry,
TtlTimeProvider ttlTimeProvider,
org.apache.flink.metrics.MetricGroup metricGroup,
Collection<KeyedStateHandle> stateHandles,
org.apache.flink.core.fs.CloseableRegistry cancelStreamRegistry)
Creates a new
CheckpointableKeyedStateBackend that is responsible for holding
keyed state and checkpointing it. |
abstract <K> AbstractKeyedStateBackend<K> |
AbstractManagedMemoryStateBackend.createKeyedStateBackend(Environment env,
org.apache.flink.api.common.JobID jobID,
String operatorIdentifier,
org.apache.flink.api.common.typeutils.TypeSerializer<K> keySerializer,
int numberOfKeyGroups,
KeyGroupRange keyGroupRange,
TaskKvStateRegistry kvStateRegistry,
TtlTimeProvider ttlTimeProvider,
org.apache.flink.metrics.MetricGroup metricGroup,
Collection<KeyedStateHandle> stateHandles,
org.apache.flink.core.fs.CloseableRegistry cancelStreamRegistry,
double managedMemoryFraction) |
default <K> CheckpointableKeyedStateBackend<K> |
StateBackend.createKeyedStateBackend(Environment env,
org.apache.flink.api.common.JobID jobID,
String operatorIdentifier,
org.apache.flink.api.common.typeutils.TypeSerializer<K> keySerializer,
int numberOfKeyGroups,
KeyGroupRange keyGroupRange,
TaskKvStateRegistry kvStateRegistry,
TtlTimeProvider ttlTimeProvider,
org.apache.flink.metrics.MetricGroup metricGroup,
Collection<KeyedStateHandle> stateHandles,
org.apache.flink.core.fs.CloseableRegistry cancelStreamRegistry,
double managedMemoryFraction)
Creates a new
CheckpointableKeyedStateBackend with the given managed memory fraction. |
KeyGroupRangeOffsets |
KeyGroupRangeOffsets.getIntersection(KeyGroupRange keyGroupRange)
Returns a key-group range with offsets which is the intersection of the internal key-group
range with the given key-group range.
|
KeyGroupsStateHandle |
KeyGroupsStateHandle.getIntersection(KeyGroupRange keyGroupRange) |
KeyGroupsStateHandle |
KeyGroupsSavepointStateHandle.getIntersection(KeyGroupRange keyGroupRange) |
KeyGroupRange |
KeyGroupRange.getIntersection(KeyGroupRange other)
Create a range that represent the intersection between this range and the given range.
|
KeyedStateHandle |
IncrementalRemoteKeyedStateHandle.getIntersection(KeyGroupRange keyGroupRange) |
KeyedStateHandle |
DirectoryKeyedStateHandle.getIntersection(KeyGroupRange otherKeyGroupRange) |
KeyedStateHandle |
KeyedStateHandle.getIntersection(KeyGroupRange keyGroupRange)
Returns a state over a range that is the intersection between this handle's key-group range
and the provided key-group range.
|
static IllegalArgumentException |
KeyGroupRangeOffsets.newIllegalKeyGroupException(int keyGroup,
KeyGroupRange keyGroupRange) |
static IncrementalRemoteKeyedStateHandle |
IncrementalRemoteKeyedStateHandle.restore(UUID backendIdentifier,
KeyGroupRange keyGroupRange,
long checkpointId,
Map<StateHandleID,StreamStateHandle> sharedState,
Map<StateHandleID,StreamStateHandle> privateState,
StreamStateHandle metaStateHandle,
long persistedSizeOfThisCheckpoint,
StateHandleID stateHandleId) |
| Constructor and Description |
|---|
AbstractKeyedStateBackendBuilder(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,
org.apache.flink.core.fs.CloseableRegistry cancelStreamRegistry) |
DirectoryKeyedStateHandle(DirectoryStateHandle directoryStateHandle,
KeyGroupRange keyGroupRange) |
HeapPriorityQueuesManager(Map<String,HeapPriorityQueueSnapshotRestoreWrapper<?>> registeredPQStates,
HeapPriorityQueueSetFactory priorityQueueSetFactory,
KeyGroupRange keyGroupRange,
int numberOfKeyGroups) |
IncrementalLocalKeyedStateHandle(UUID backendIdentifier,
long checkpointId,
DirectoryStateHandle directoryStateHandle,
KeyGroupRange keyGroupRange,
StreamStateHandle metaDataState,
Map<StateHandleID,StreamStateHandle> sharedStateHandleIDs) |
IncrementalRemoteKeyedStateHandle(UUID backendIdentifier,
KeyGroupRange keyGroupRange,
long checkpointId,
Map<StateHandleID,StreamStateHandle> sharedState,
Map<StateHandleID,StreamStateHandle> privateState,
StreamStateHandle metaStateHandle) |
IncrementalRemoteKeyedStateHandle(UUID backendIdentifier,
KeyGroupRange keyGroupRange,
long checkpointId,
Map<StateHandleID,StreamStateHandle> sharedState,
Map<StateHandleID,StreamStateHandle> privateState,
StreamStateHandle metaStateHandle,
long persistedSizeOfThisCheckpoint) |
IncrementalRemoteKeyedStateHandle(UUID backendIdentifier,
KeyGroupRange keyGroupRange,
long checkpointId,
Map<StateHandleID,StreamStateHandle> sharedState,
Map<StateHandleID,StreamStateHandle> privateState,
StreamStateHandle metaStateHandle,
long persistedSizeOfThisCheckpoint,
StateHandleID stateHandleId) |
KeyedStateCheckpointOutputStream(CheckpointStateOutputStream delegate,
KeyGroupRange keyGroupRange) |
KeyGroupPartitioner(T[] partitioningSource,
int numberOfElements,
T[] partitioningDestination,
KeyGroupRange keyGroupRange,
int totalKeyGroups,
KeyExtractorFunction<T> keyExtractorFunction,
KeyGroupPartitioner.ElementWriterFunction<T> elementWriterFunction)
Creates a new
KeyGroupPartitioner. |
KeyGroupRangeOffsets(KeyGroupRange keyGroupRange)
Creates key-group range with offsets for the given key-group range, where all offsets are
initially zero.
|
KeyGroupRangeOffsets(KeyGroupRange keyGroupRange,
long[] offsets)
Creates key-group range with offsets from the given key-group range.
|
StateSnapshotContextSynchronousImpl(long checkpointId,
long checkpointTimestamp,
CheckpointStreamFactory streamFactory,
KeyGroupRange keyGroupRange,
org.apache.flink.core.fs.CloseableRegistry closableRegistry) |
| Modifier and Type | Method and Description |
|---|---|
KeyGroupRange |
ChangelogStateHandleStreamImpl.getKeyGroupRange() |
KeyGroupRange |
ChangelogStateBackendHandle.ChangelogStateBackendHandleImpl.getKeyGroupRange() |
| Modifier and Type | Method and Description |
|---|---|
StateChangelogWriter<Handle> |
StateChangelogStorage.createWriter(String operatorID,
KeyGroupRange keyGroupRange,
org.apache.flink.api.common.operators.MailboxExecutor mailboxExecutor) |
KeyedStateHandle |
ChangelogStateHandleStreamImpl.getIntersection(KeyGroupRange keyGroupRange) |
KeyedStateHandle |
ChangelogStateBackendHandle.ChangelogStateBackendHandleImpl.getIntersection(KeyGroupRange keyGroupRange) |
static ChangelogStateBackendHandle.ChangelogStateBackendHandleImpl |
ChangelogStateBackendHandle.ChangelogStateBackendHandleImpl.restore(List<KeyedStateHandle> materialized,
List<ChangelogStateHandle> nonMaterialized,
KeyGroupRange keyGroupRange,
long materializationID,
long persistedSizeOfThisCheckpoint,
StateHandleID stateHandleId) |
static ChangelogStateHandleStreamImpl |
ChangelogStateHandleStreamImpl.restore(List<org.apache.flink.api.java.tuple.Tuple2<StreamStateHandle,Long>> handlesAndOffsets,
KeyGroupRange keyGroupRange,
long size,
long incrementalSize,
StateHandleID stateHandleID) |
| Constructor and Description |
|---|
ChangelogStateBackendHandleImpl(List<KeyedStateHandle> materialized,
List<ChangelogStateHandle> nonMaterialized,
KeyGroupRange keyGroupRange,
long materializationID,
long persistedSizeOfThisCheckpoint) |
ChangelogStateHandleStreamImpl(List<org.apache.flink.api.java.tuple.Tuple2<StreamStateHandle,Long>> handlesAndOffsets,
KeyGroupRange keyGroupRange,
long size,
long incrementalSize) |
| Modifier and Type | Method and Description |
|---|---|
KeyGroupRange |
InMemoryChangelogStateHandle.getKeyGroupRange() |
| Modifier and Type | Method and Description |
|---|---|
org.apache.flink.runtime.state.changelog.inmemory.InMemoryStateChangelogWriter |
InMemoryStateChangelogStorage.createWriter(String operatorID,
KeyGroupRange keyGroupRange,
org.apache.flink.api.common.operators.MailboxExecutor mailboxExecutor) |
KeyedStateHandle |
InMemoryChangelogStateHandle.getIntersection(KeyGroupRange keyGroupRange) |
static InMemoryChangelogStateHandle |
InMemoryChangelogStateHandle.restore(List<StateChange> changes,
SequenceNumber from,
SequenceNumber to,
KeyGroupRange keyGroupRange,
StateHandleID stateHandleId) |
| Constructor and Description |
|---|
InMemoryChangelogStateHandle(List<StateChange> changes,
SequenceNumber from,
SequenceNumber to,
KeyGroupRange keyGroupRange) |
| Modifier and Type | Method and Description |
|---|---|
<K> AbstractKeyedStateBackend<K> |
FsStateBackend.createKeyedStateBackend(Environment env,
org.apache.flink.api.common.JobID jobID,
String operatorIdentifier,
org.apache.flink.api.common.typeutils.TypeSerializer<K> keySerializer,
int numberOfKeyGroups,
KeyGroupRange keyGroupRange,
TaskKvStateRegistry kvStateRegistry,
TtlTimeProvider ttlTimeProvider,
org.apache.flink.metrics.MetricGroup metricGroup,
Collection<KeyedStateHandle> stateHandles,
org.apache.flink.core.fs.CloseableRegistry cancelStreamRegistry)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
<K> AbstractKeyedStateBackend<K> |
HashMapStateBackend.createKeyedStateBackend(Environment env,
org.apache.flink.api.common.JobID jobID,
String operatorIdentifier,
org.apache.flink.api.common.typeutils.TypeSerializer<K> keySerializer,
int numberOfKeyGroups,
KeyGroupRange keyGroupRange,
TaskKvStateRegistry kvStateRegistry,
TtlTimeProvider ttlTimeProvider,
org.apache.flink.metrics.MetricGroup metricGroup,
Collection<KeyedStateHandle> stateHandles,
org.apache.flink.core.fs.CloseableRegistry cancelStreamRegistry) |
| Modifier and Type | Field and Description |
|---|---|
protected KeyGroupRange |
StateTable.keyGroupRange
The current key group range.
|
| Modifier and Type | Method and Description |
|---|---|
KeyGroupRange |
InternalKeyContext.getKeyGroupRange()
Returns the key groups for this backend.
|
KeyGroupRange |
InternalKeyContextImpl.getKeyGroupRange() |
| Constructor and Description |
|---|
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) |
HeapKeyValueStateIterator(KeyGroupRange keyGroupRange,
org.apache.flink.api.common.typeutils.TypeSerializer<?> keySerializer,
int totalKeyGroups,
Map<org.apache.flink.runtime.state.heap.StateUID,Integer> stateNamesToId,
Map<org.apache.flink.runtime.state.heap.StateUID,StateSnapshot> stateSnapshots) |
HeapPriorityQueueSet(PriorityComparator<T> elementPriorityComparator,
KeyExtractorFunction<T> keyExtractor,
int minimumCapacity,
KeyGroupRange keyGroupRange,
int totalNumberOfKeyGroups)
Creates an empty
HeapPriorityQueueSet with the requested initial capacity. |
HeapPriorityQueueSetFactory(KeyGroupRange keyGroupRange,
int totalKeyGroups,
int minimumCapacity) |
HeapPriorityQueueSnapshotRestoreWrapper(HeapPriorityQueueSet<T> priorityQueue,
RegisteredPriorityQueueStateBackendMetaInfo<T> metaInfo,
KeyExtractorFunction<T> keyExtractorFunction,
KeyGroupRange localKeyGroupRange,
int totalKeyGroups) |
InternalKeyContextImpl(KeyGroupRange keyGroupRange,
int numberOfKeyGroups) |
KeyGroupPartitionedPriorityQueue(KeyExtractorFunction<T> keyExtractor,
PriorityComparator<T> elementPriorityComparator,
KeyGroupPartitionedPriorityQueue.PartitionQueueSetFactory<T,PQ> orderedCacheFactory,
KeyGroupRange keyGroupRange,
int totalKeyGroups) |
| Modifier and Type | Method and Description |
|---|---|
<K> AbstractKeyedStateBackend<K> |
MemoryStateBackend.createKeyedStateBackend(Environment env,
org.apache.flink.api.common.JobID jobID,
String operatorIdentifier,
org.apache.flink.api.common.typeutils.TypeSerializer<K> keySerializer,
int numberOfKeyGroups,
KeyGroupRange keyGroupRange,
TaskKvStateRegistry kvStateRegistry,
TtlTimeProvider ttlTimeProvider,
org.apache.flink.metrics.MetricGroup metricGroup,
Collection<KeyedStateHandle> stateHandles,
org.apache.flink.core.fs.CloseableRegistry cancelStreamRegistry)
Deprecated.
|
| Constructor and Description |
|---|
FullSnapshotRestoreOperation(KeyGroupRange keyGroupRange,
ClassLoader userCodeClassLoader,
Collection<KeyedStateHandle> restoreStateHandles,
StateSerializerProvider<K> keySerializerProvider) |
| Modifier and Type | Method and Description |
|---|---|
void |
RpcKvStateRegistryListener.notifyKvStateRegistered(org.apache.flink.api.common.JobID jobId,
JobVertexID jobVertexId,
KeyGroupRange keyGroupRange,
String registrationName,
org.apache.flink.queryablestate.KvStateID kvStateId) |
void |
RpcKvStateRegistryListener.notifyKvStateUnregistered(org.apache.flink.api.common.JobID jobId,
JobVertexID jobVertexId,
KeyGroupRange keyGroupRange,
String registrationName) |
Copyright © 2014–2023 The Apache Software Foundation. All rights reserved.