Package org.apache.flink.changelog.fs
Class FsStateChangelogStorageFactory
java.lang.Object
org.apache.flink.changelog.fs.FsStateChangelogStorageFactory
- All Implemented Interfaces:
org.apache.flink.runtime.state.changelog.StateChangelogStorageFactory
@Internal
public class FsStateChangelogStorageFactory
extends Object
implements org.apache.flink.runtime.state.changelog.StateChangelogStorageFactory
FsStateChangelogStorage factory.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidconfigure(org.apache.flink.configuration.Configuration configuration, File newFolder, Duration uploadTimeout, int maxUploadAttempts) org.apache.flink.runtime.state.changelog.StateChangelogStorage<?>createStorage(org.apache.flink.api.common.JobID jobID, org.apache.flink.configuration.Configuration configuration, org.apache.flink.runtime.metrics.groups.TaskManagerJobMetricGroup metricGroup, org.apache.flink.runtime.state.LocalRecoveryConfig localRecoveryConfig) org.apache.flink.runtime.state.changelog.StateChangelogStorageView<?>createStorageView(org.apache.flink.configuration.Configuration configuration)
-
Field Details
-
IDENTIFIER
- See Also:
-
-
Constructor Details
-
FsStateChangelogStorageFactory
public FsStateChangelogStorageFactory()
-
-
Method Details
-
getIdentifier
- Specified by:
getIdentifierin interfaceorg.apache.flink.runtime.state.changelog.StateChangelogStorageFactory
-
createStorage
public org.apache.flink.runtime.state.changelog.StateChangelogStorage<?> createStorage(org.apache.flink.api.common.JobID jobID, org.apache.flink.configuration.Configuration configuration, org.apache.flink.runtime.metrics.groups.TaskManagerJobMetricGroup metricGroup, org.apache.flink.runtime.state.LocalRecoveryConfig localRecoveryConfig) throws IOException - Specified by:
createStoragein interfaceorg.apache.flink.runtime.state.changelog.StateChangelogStorageFactory- Throws:
IOException
-
createStorageView
public org.apache.flink.runtime.state.changelog.StateChangelogStorageView<?> createStorageView(org.apache.flink.configuration.Configuration configuration) - Specified by:
createStorageViewin interfaceorg.apache.flink.runtime.state.changelog.StateChangelogStorageFactory
-
configure
-