Package org.apache.flink.changelog.fs
Interface StateChangeUploadScheduler
- All Superinterfaces:
AutoCloseable
Schedules
upload tasks on a StateChangeUploader. In the simplest form,
directly calls StateChangeUploader.upload(Collection). Other implementations might batch
the tasks for efficiency.-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classUpload Task forStateChangeUploadScheduler. -
Method Summary
Modifier and TypeMethodDescriptionstatic StateChangeUploadSchedulerdirectScheduler(StateChangeUploader uploader) static StateChangeUploadSchedulerfromConfig(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.AvailabilityProvidervoidupload(StateChangeUploadScheduler.UploadTask uploadTask) Methods inherited from interface java.lang.AutoCloseable
close
-
Method Details
-
upload
- Throws:
IOException
-
directScheduler
-
fromConfig
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 - Throws:
IOException
-
getAvailabilityProvider
default org.apache.flink.runtime.io.AvailabilityProvider getAvailabilityProvider()
-