Package org.filestack.internal
Class UploadTransferFunc
java.lang.Object
org.filestack.internal.UploadTransferFunc
- All Implemented Interfaces:
io.reactivex.FlowableOnSubscribe<org.filestack.internal.Prog>
public class UploadTransferFunc
extends Object
implements io.reactivex.FlowableOnSubscribe<org.filestack.internal.Prog>
Function to be passed to
Flowable.create(FlowableOnSubscribe, BackpressureStrategy)
.
This class handles uploading of parts/chunks and makes calls to both S3 and Filestack endpoints.
An upload should be divided between multiple instances.
Different instances are not assigned to section of the file, instead we synchronize reads.-
Method Summary
Modifier and TypeMethodDescriptionvoid
subscribe
(io.reactivex.FlowableEmitter<org.filestack.internal.Prog> e)
-
Method Details
-
subscribe
- Specified by:
subscribe
in interfaceio.reactivex.FlowableOnSubscribe<org.filestack.internal.Prog>
- Throws:
Exception
-