@Experimental @ThreadSafe public class FsStateChangelogStorage extends FsStateChangelogStorageForRecovery implements StateChangelogStorage<ChangelogStateHandleStreamImpl>
StateChangelogStorage
.Constructor and Description |
---|
FsStateChangelogStorage(JobID jobID,
Configuration config,
TaskManagerJobMetricGroup metricGroup,
LocalRecoveryConfig localRecoveryConfig) |
FsStateChangelogStorage(JobID jobID,
Configuration config,
TaskManagerJobMetricGroup metricGroup,
TaskChangelogRegistry changelogRegistry,
LocalRecoveryConfig localRecoveryConfig) |
FsStateChangelogStorage(JobID jobID,
Path basePath,
boolean compression,
int bufferSize,
ChangelogStorageMetricGroup metricGroup,
TaskChangelogRegistry changelogRegistry,
LocalRecoveryConfig localRecoveryConfig) |
FsStateChangelogStorage(StateChangeUploadScheduler uploader,
long preEmptivePersistThresholdInBytes,
TaskChangelogRegistry changelogRegistry,
LocalRecoveryConfig localRecoveryConfig) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
org.apache.flink.changelog.fs.FsStateChangelogWriter |
createWriter(String operatorID,
KeyGroupRange keyGroupRange,
MailboxExecutor mailboxExecutor) |
AvailabilityProvider |
getAvailabilityProvider() |
createReader
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createReader
public FsStateChangelogStorage(JobID jobID, Configuration config, TaskManagerJobMetricGroup metricGroup, LocalRecoveryConfig localRecoveryConfig) throws IOException
IOException
public FsStateChangelogStorage(JobID jobID, Configuration config, TaskManagerJobMetricGroup metricGroup, TaskChangelogRegistry changelogRegistry, LocalRecoveryConfig localRecoveryConfig) throws IOException
IOException
@VisibleForTesting public FsStateChangelogStorage(JobID jobID, Path basePath, boolean compression, int bufferSize, ChangelogStorageMetricGroup metricGroup, TaskChangelogRegistry changelogRegistry, LocalRecoveryConfig localRecoveryConfig) throws IOException
IOException
@VisibleForTesting public FsStateChangelogStorage(StateChangeUploadScheduler uploader, long preEmptivePersistThresholdInBytes, TaskChangelogRegistry changelogRegistry, LocalRecoveryConfig localRecoveryConfig)
public org.apache.flink.changelog.fs.FsStateChangelogWriter createWriter(String operatorID, KeyGroupRange keyGroupRange, MailboxExecutor mailboxExecutor)
createWriter
in interface StateChangelogStorage<ChangelogStateHandleStreamImpl>
public void close() throws Exception
close
in interface AutoCloseable
close
in interface StateChangelogStorageView<ChangelogStateHandleStreamImpl>
close
in class FsStateChangelogStorageForRecovery
Exception
public AvailabilityProvider getAvailabilityProvider()
getAvailabilityProvider
in interface StateChangelogStorage<ChangelogStateHandleStreamImpl>
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.