Class ChangelogStateBackend

  • All Implemented Interfaces:
    Serializable, org.apache.flink.runtime.state.ConfigurableStateBackend, org.apache.flink.runtime.state.delegate.DelegatingStateBackend, org.apache.flink.runtime.state.StateBackend

    @Internal
    public class ChangelogStateBackend
    extends AbstractChangelogStateBackend
    implements org.apache.flink.runtime.state.ConfigurableStateBackend
    This state backend holds the working state in the underlying delegatedStateBackend, and forwards state changes to State Changelog.
    See Also:
    Serialized Form
    • Method Detail

      • configure

        public org.apache.flink.runtime.state.StateBackend configure​(org.apache.flink.configuration.ReadableConfig config,
                                                                     ClassLoader classLoader)
                                                              throws org.apache.flink.configuration.IllegalConfigurationException
        Specified by:
        configure in interface org.apache.flink.runtime.state.ConfigurableStateBackend
        Throws:
        org.apache.flink.configuration.IllegalConfigurationException
      • restore

        protected <K> org.apache.flink.runtime.state.CheckpointableKeyedStateBackend<K> restore​(org.apache.flink.runtime.execution.Environment env,
                                                                                                String operatorIdentifier,
                                                                                                org.apache.flink.runtime.state.KeyGroupRange keyGroupRange,
                                                                                                org.apache.flink.runtime.state.ttl.TtlTimeProvider ttlTimeProvider,
                                                                                                org.apache.flink.metrics.MetricGroup metricGroup,
                                                                                                Collection<org.apache.flink.runtime.state.changelog.ChangelogStateBackendHandle> stateBackendHandles,
                                                                                                ChangelogBackendRestoreOperation.BaseBackendBuilder<K> baseBackendBuilder)
                                                                                         throws Exception
        Specified by:
        restore in class AbstractChangelogStateBackend
        Throws:
        Exception