@Internal public class ChangelogStateBackend extends Object implements org.apache.flink.runtime.state.delegate.DelegatingStateBackend, org.apache.flink.runtime.state.ConfigurableStateBackend
| Modifier and Type | Method and Description |
|---|---|
org.apache.flink.runtime.state.StateBackend |
configure(org.apache.flink.configuration.ReadableConfig config,
ClassLoader classLoader) |
<K> ChangelogKeyedStateBackend<K> |
createKeyedStateBackend(org.apache.flink.runtime.execution.Environment env,
org.apache.flink.api.common.JobID jobID,
String operatorIdentifier,
org.apache.flink.api.common.typeutils.TypeSerializer<K> keySerializer,
int numberOfKeyGroups,
org.apache.flink.runtime.state.KeyGroupRange keyGroupRange,
org.apache.flink.runtime.query.TaskKvStateRegistry kvStateRegistry,
org.apache.flink.runtime.state.ttl.TtlTimeProvider ttlTimeProvider,
org.apache.flink.metrics.MetricGroup metricGroup,
Collection<org.apache.flink.runtime.state.KeyedStateHandle> stateHandles,
org.apache.flink.core.fs.CloseableRegistry cancelStreamRegistry) |
<K> org.apache.flink.runtime.state.CheckpointableKeyedStateBackend<K> |
createKeyedStateBackend(org.apache.flink.runtime.execution.Environment env,
org.apache.flink.api.common.JobID jobID,
String operatorIdentifier,
org.apache.flink.api.common.typeutils.TypeSerializer<K> keySerializer,
int numberOfKeyGroups,
org.apache.flink.runtime.state.KeyGroupRange keyGroupRange,
org.apache.flink.runtime.query.TaskKvStateRegistry kvStateRegistry,
org.apache.flink.runtime.state.ttl.TtlTimeProvider ttlTimeProvider,
org.apache.flink.metrics.MetricGroup metricGroup,
Collection<org.apache.flink.runtime.state.KeyedStateHandle> stateHandles,
org.apache.flink.core.fs.CloseableRegistry cancelStreamRegistry,
double managedMemoryFraction) |
org.apache.flink.runtime.state.OperatorStateBackend |
createOperatorStateBackend(org.apache.flink.runtime.execution.Environment env,
String operatorIdentifier,
Collection<org.apache.flink.runtime.state.OperatorStateHandle> stateHandles,
org.apache.flink.core.fs.CloseableRegistry cancelStreamRegistry) |
org.apache.flink.runtime.state.StateBackend |
getDelegatedStateBackend() |
boolean |
useManagedMemory() |
public <K> ChangelogKeyedStateBackend<K> createKeyedStateBackend(org.apache.flink.runtime.execution.Environment env, org.apache.flink.api.common.JobID jobID, String operatorIdentifier, org.apache.flink.api.common.typeutils.TypeSerializer<K> keySerializer, int numberOfKeyGroups, org.apache.flink.runtime.state.KeyGroupRange keyGroupRange, org.apache.flink.runtime.query.TaskKvStateRegistry kvStateRegistry, org.apache.flink.runtime.state.ttl.TtlTimeProvider ttlTimeProvider, org.apache.flink.metrics.MetricGroup metricGroup, @Nonnull Collection<org.apache.flink.runtime.state.KeyedStateHandle> stateHandles, org.apache.flink.core.fs.CloseableRegistry cancelStreamRegistry) throws Exception
createKeyedStateBackend in interface org.apache.flink.runtime.state.StateBackendExceptionpublic <K> org.apache.flink.runtime.state.CheckpointableKeyedStateBackend<K> createKeyedStateBackend(org.apache.flink.runtime.execution.Environment env,
org.apache.flink.api.common.JobID jobID,
String operatorIdentifier,
org.apache.flink.api.common.typeutils.TypeSerializer<K> keySerializer,
int numberOfKeyGroups,
org.apache.flink.runtime.state.KeyGroupRange keyGroupRange,
org.apache.flink.runtime.query.TaskKvStateRegistry kvStateRegistry,
org.apache.flink.runtime.state.ttl.TtlTimeProvider ttlTimeProvider,
org.apache.flink.metrics.MetricGroup metricGroup,
@Nonnull
Collection<org.apache.flink.runtime.state.KeyedStateHandle> stateHandles,
org.apache.flink.core.fs.CloseableRegistry cancelStreamRegistry,
double managedMemoryFraction)
throws Exception
createKeyedStateBackend in interface org.apache.flink.runtime.state.StateBackendExceptionpublic org.apache.flink.runtime.state.OperatorStateBackend createOperatorStateBackend(org.apache.flink.runtime.execution.Environment env,
String operatorIdentifier,
@Nonnull
Collection<org.apache.flink.runtime.state.OperatorStateHandle> stateHandles,
org.apache.flink.core.fs.CloseableRegistry cancelStreamRegistry)
throws Exception
createOperatorStateBackend in interface org.apache.flink.runtime.state.StateBackendExceptionpublic boolean useManagedMemory()
useManagedMemory in interface org.apache.flink.runtime.state.StateBackendpublic org.apache.flink.runtime.state.StateBackend getDelegatedStateBackend()
getDelegatedStateBackend in interface org.apache.flink.runtime.state.delegate.DelegatingStateBackendpublic org.apache.flink.runtime.state.StateBackend configure(org.apache.flink.configuration.ReadableConfig config,
ClassLoader classLoader)
throws org.apache.flink.configuration.IllegalConfigurationException
configure in interface org.apache.flink.runtime.state.ConfigurableStateBackendorg.apache.flink.configuration.IllegalConfigurationExceptionCopyright © 2014–2022 The Apache Software Foundation. All rights reserved.