Package org.apache.flink.changelog.fs
Interface StateChangeUploader
- All Superinterfaces:
AutoCloseable
- All Known Implementing Classes:
AbstractStateChangeFsUploader,DuplicatingStateChangeFsUploader,StateChangeFsUploader
The purpose of this interface is to abstract the different implementations of uploading state
changelog parts. It has a single
upload(java.util.Collection<org.apache.flink.changelog.fs.StateChangeUploadScheduler.UploadTask>) method with a collection of StateChangeUploadScheduler.UploadTask
argument which is meant to initiate such an upload.-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classResult of executing one or moreupload tasks. -
Method Summary
Modifier and TypeMethodDescriptionExecute the upload task and return the results.Methods inherited from interface java.lang.AutoCloseable
close
-
Method Details
-
upload
StateChangeUploader.UploadTasksResult upload(Collection<StateChangeUploadScheduler.UploadTask> tasks) throws IOException Execute the upload task and return the results. It is the caller responsibility tocompletethe tasks.- Throws:
IOException
-