Package org.apache.flink.changelog.fs
Interface StateChangeUploadScheduler
-
- All Superinterfaces:
AutoCloseable
@Internal public interface StateChangeUploadScheduler extends AutoCloseable
Schedulesupload taskson aStateChangeUploader. In the simplest form, directly callsStateChangeUploader.upload(Collection). Other implementations might batch the tasks for efficiency.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classStateChangeUploadScheduler.UploadTaskUpload Task forStateChangeUploadScheduler.
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description static 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.AvailabilityProvidergetAvailabilityProvider()voidupload(StateChangeUploadScheduler.UploadTask uploadTask)-
Methods inherited from interface java.lang.AutoCloseable
close
-
-
-
-
Method Detail
-
upload
void upload(StateChangeUploadScheduler.UploadTask uploadTask) throws IOException
- Throws:
IOException
-
directScheduler
static StateChangeUploadScheduler directScheduler(StateChangeUploader uploader)
-
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()
-
-