public class ThreadedS3Service extends ThreadedStorageService
Constructor | Description |
---|---|
ThreadedS3Service(S3Service service,
StorageServiceEventListener listener) |
Modifier and Type | Method | Description |
---|---|---|
boolean |
multipartCompleteUploads(List<MultipartUpload> multipartUploads) |
Completes multiple multipart uploads and sends
MultipartCompletesEvent notification events. |
boolean |
multipartStartUploads(String bucketName,
List<StorageObject> objects) |
Starts multiple multipart uploads and sends
MultipartStartsEvent notification events. |
boolean |
multipartUploadParts(List<MultipartUploadAndParts> uploadAndPartsList) |
Uploads multiple objects that will constitute a single final object,
and sends
MultipartUploadsEvent notification events. |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addServiceEventListener, copyObjects, createBuckets, deleteObjects, deleteObjects, downloadObjects, getObjectACLs, getObjects, getObjects, getObjectsHeads, getObjectsHeads, getProviderCredentials, getStorageService, isAuthenticatedConnection, isShutdown, listObjects, putACLs, putObjects, removeServiceEventListener, shutdown
public ThreadedS3Service(S3Service service, StorageServiceEventListener listener) throws ServiceException
ServiceException
public boolean multipartStartUploads(String bucketName, List<StorageObject> objects)
MultipartStartsEvent
notification events.
The maximum number of threads is controlled by the JetS3t configuration property threaded-service.max-admin-thread-count.
bucketName
- the target bucket.objects
- a list of objects representing the overall multipart object.public boolean multipartCompleteUploads(List<MultipartUpload> multipartUploads)
MultipartCompletesEvent
notification events.
The maximum number of threads is controlled by the JetS3t configuration property threaded-service.max-admin-thread-count.
multipartUploads
- a list of objects representing the multipart-uploads that will be completed.public boolean multipartUploadParts(List<MultipartUploadAndParts> uploadAndPartsList)
MultipartUploadsEvent
notification events.
The maximum number of threads is controlled by the JetS3t configuration property threaded-service.max-admin-thread-count.
uploadAndPartsList
- list of wrapper objects containing a previously-started MultipartUpload and a
list of objects representing the parts that will make up the final object.