@Internal public interface StateChangeUploadScheduler extends AutoCloseable
upload tasks on a StateChangeUploader. In the simplest form,
directly calls StateChangeUploader.upload(Collection). Other implementations might batch
the tasks for efficiency.| Modifier and Type | Interface and Description |
|---|---|
static class |
StateChangeUploadScheduler.UploadTask
Upload Task for
StateChangeUploadScheduler. |
| Modifier and Type | Method and Description |
|---|---|
static StateChangeUploadScheduler |
directScheduler(StateChangeUploader uploader) |
static StateChangeUploadScheduler |
fromConfig(org.apache.flink.api.common.JobID jobID,
org.apache.flink.configuration.ReadableConfig config,
ChangelogStorageMetricGroup metricGroup,
TaskChangelogRegistry changelogRegistry,
org.apache.flink.runtime.state.LocalRecoveryConfig localRecoveryConfig) |
default org.apache.flink.runtime.io.AvailabilityProvider |
getAvailabilityProvider() |
void |
upload(StateChangeUploadScheduler.UploadTask uploadTask)
|
closevoid upload(StateChangeUploadScheduler.UploadTask uploadTask) throws IOException
IOExceptionstatic StateChangeUploadScheduler directScheduler(StateChangeUploader uploader)
static StateChangeUploadScheduler fromConfig(org.apache.flink.api.common.JobID jobID, org.apache.flink.configuration.ReadableConfig config, ChangelogStorageMetricGroup metricGroup, TaskChangelogRegistry changelogRegistry, org.apache.flink.runtime.state.LocalRecoveryConfig localRecoveryConfig) throws IOException
IOExceptiondefault org.apache.flink.runtime.io.AvailabilityProvider getAvailabilityProvider()
Copyright © 2014–2023 The Apache Software Foundation. All rights reserved.