Class DeactivatedChangelogStateBackend

java.lang.Object
org.apache.flink.state.changelog.AbstractChangelogStateBackend
org.apache.flink.state.changelog.DeactivatedChangelogStateBackend
All Implemented Interfaces:
Serializable, org.apache.flink.runtime.state.delegate.DelegatingStateBackend, org.apache.flink.runtime.state.StateBackend

@Internal public class DeactivatedChangelogStateBackend extends AbstractChangelogStateBackend
This state backend use delegatedStateBackend and State changes to restore to the delegatedStateBackend in which switching Changelog from enabled to disabled.
See Also:
  • Nested Class Summary

    Nested classes/interfaces inherited from interface org.apache.flink.runtime.state.StateBackend

    org.apache.flink.runtime.state.StateBackend.CustomInitializationMetrics, org.apache.flink.runtime.state.StateBackend.KeyedStateBackendParameters<K extends Object>, org.apache.flink.runtime.state.StateBackend.OperatorStateBackendParameters
  • Field Summary

    Fields inherited from class org.apache.flink.state.changelog.AbstractChangelogStateBackend

    delegatedStateBackend
  • Method Summary

    Modifier and Type
    Method
    Description
    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)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.apache.flink.runtime.state.delegate.DelegatingStateBackend

    getName

    Methods inherited from interface org.apache.flink.runtime.state.StateBackend

    createAsyncKeyedStateBackend, supportsAsyncKeyedStateBackend, supportsNoClaimRestoreMode
  • Method Details

    • 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