Package org.apache.flink.state.changelog
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
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 TypeMethodDescriptionprotected <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 org.apache.flink.state.changelog.AbstractChangelogStateBackend
createKeyedStateBackend, createOperatorStateBackend, getDelegatedStateBackend, supportsSavepointFormat, useManagedMemoryMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.flink.runtime.state.delegate.DelegatingStateBackend
getNameMethods 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:
restorein classAbstractChangelogStateBackend- Throws:
Exception
-