All Downloads are FREE. Search and download functionalities are using the official Maven repository.

tdl.s3.sync.destination.Destination Maven / Gradle / Ivy

Go to download

Library that continuously syncs the contents of a folder to an S3 bucket. Optimised for streaming file formats (video, logs).

The newest version!
package tdl.s3.sync.destination;

import com.amazonaws.services.s3.model.PartETag;
import com.amazonaws.services.s3.model.PartListing;
import com.amazonaws.services.s3.model.UploadPartRequest;
import tdl.s3.upload.MultipartUploadResult;

import java.util.List;

public interface Destination {

    void startS3SyncSession() throws DestinationOperationException;
    void stopS3SyncSession() throws DestinationOperationException;

    List filterUploadableFiles(List paths) throws DestinationOperationException;

    String initUploading(String remotePath) throws DestinationOperationException;

    PartListing getAlreadyUploadedParts(String remotePath) throws DestinationOperationException;

    MultipartUploadResult uploadMultiPart(UploadPartRequest request) throws DestinationOperationException;

    void commitMultipartUpload(String remotePath, List eTags, String uploadId) throws DestinationOperationException;

    UploadPartRequest createUploadPartRequest(String remotePath) throws DestinationOperationException;

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy