@Experimental @ThreadSafe public class FsStateChangelogStorage extends FsStateChangelogStorageForRecovery implements org.apache.flink.runtime.state.changelog.StateChangelogStorage<org.apache.flink.runtime.state.changelog.ChangelogStateHandleStreamImpl>
StateChangelogStorage.| Constructor and Description |
|---|
FsStateChangelogStorage(org.apache.flink.api.common.JobID jobID,
org.apache.flink.configuration.Configuration config,
org.apache.flink.runtime.metrics.groups.TaskManagerJobMetricGroup metricGroup,
org.apache.flink.runtime.state.LocalRecoveryConfig localRecoveryConfig) |
FsStateChangelogStorage(org.apache.flink.api.common.JobID jobID,
org.apache.flink.configuration.Configuration config,
org.apache.flink.runtime.metrics.groups.TaskManagerJobMetricGroup metricGroup,
TaskChangelogRegistry changelogRegistry,
org.apache.flink.runtime.state.LocalRecoveryConfig localRecoveryConfig) |
FsStateChangelogStorage(org.apache.flink.api.common.JobID jobID,
org.apache.flink.core.fs.Path basePath,
boolean compression,
int bufferSize,
ChangelogStorageMetricGroup metricGroup,
TaskChangelogRegistry changelogRegistry,
org.apache.flink.runtime.state.LocalRecoveryConfig localRecoveryConfig) |
FsStateChangelogStorage(StateChangeUploadScheduler uploader,
long preEmptivePersistThresholdInBytes,
TaskChangelogRegistry changelogRegistry,
org.apache.flink.runtime.state.LocalRecoveryConfig localRecoveryConfig) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
org.apache.flink.changelog.fs.FsStateChangelogWriter |
createWriter(String operatorID,
org.apache.flink.runtime.state.KeyGroupRange keyGroupRange,
org.apache.flink.api.common.operators.MailboxExecutor mailboxExecutor) |
org.apache.flink.runtime.io.AvailabilityProvider |
getAvailabilityProvider() |
createReaderpublic FsStateChangelogStorage(org.apache.flink.api.common.JobID jobID,
org.apache.flink.configuration.Configuration config,
org.apache.flink.runtime.metrics.groups.TaskManagerJobMetricGroup metricGroup,
org.apache.flink.runtime.state.LocalRecoveryConfig localRecoveryConfig)
throws IOException
IOExceptionpublic FsStateChangelogStorage(org.apache.flink.api.common.JobID jobID,
org.apache.flink.configuration.Configuration config,
org.apache.flink.runtime.metrics.groups.TaskManagerJobMetricGroup metricGroup,
TaskChangelogRegistry changelogRegistry,
org.apache.flink.runtime.state.LocalRecoveryConfig localRecoveryConfig)
throws IOException
IOException@VisibleForTesting
public FsStateChangelogStorage(org.apache.flink.api.common.JobID jobID,
org.apache.flink.core.fs.Path basePath,
boolean compression,
int bufferSize,
ChangelogStorageMetricGroup metricGroup,
TaskChangelogRegistry changelogRegistry,
org.apache.flink.runtime.state.LocalRecoveryConfig localRecoveryConfig)
throws IOException
IOException@VisibleForTesting public FsStateChangelogStorage(StateChangeUploadScheduler uploader, long preEmptivePersistThresholdInBytes, TaskChangelogRegistry changelogRegistry, org.apache.flink.runtime.state.LocalRecoveryConfig localRecoveryConfig)
public org.apache.flink.changelog.fs.FsStateChangelogWriter createWriter(String operatorID, org.apache.flink.runtime.state.KeyGroupRange keyGroupRange, org.apache.flink.api.common.operators.MailboxExecutor mailboxExecutor)
createWriter in interface org.apache.flink.runtime.state.changelog.StateChangelogStorage<org.apache.flink.runtime.state.changelog.ChangelogStateHandleStreamImpl>public void close()
throws Exception
close in interface AutoCloseableclose in interface org.apache.flink.runtime.state.changelog.StateChangelogStorageView<org.apache.flink.runtime.state.changelog.ChangelogStateHandleStreamImpl>close in class FsStateChangelogStorageForRecoveryExceptionpublic org.apache.flink.runtime.io.AvailabilityProvider getAvailabilityProvider()
getAvailabilityProvider in interface org.apache.flink.runtime.state.changelog.StateChangelogStorage<org.apache.flink.runtime.state.changelog.ChangelogStateHandleStreamImpl>Copyright © 2014–2023 The Apache Software Foundation. All rights reserved.