Skip navigation links
A B C E F G I M N P Q S T U W 

A

abort() - Method in class alex.mojaki.s3upload.ExecutorServiceResultsHandler
 
abort(Throwable) - Method in class alex.mojaki.s3upload.StreamTransferManager
Aborts the upload and rethrows the argument, wrapped in a RuntimeException if necessary.
abort() - Method in class alex.mojaki.s3upload.StreamTransferManager
Aborts the upload.
alex.mojaki.s3upload - package alex.mojaki.s3upload
 
awaitCompletion() - Method in class alex.mojaki.s3upload.ExecutorServiceResultsHandler
Convenience method to wait for the callables to finish for when you don't care about the results.

B

bucketName - Variable in class alex.mojaki.s3upload.StreamTransferManager
 

C

checkIntegrity - Variable in class alex.mojaki.s3upload.StreamTransferManager
 
checkIntegrity(boolean) - Method in class alex.mojaki.s3upload.StreamTransferManager
Sets whether a data integrity check should be performed during and after upload.
close() - Method in class alex.mojaki.s3upload.MultiPartOutputStream
Packages any remaining data into a StreamPart and signals to the StreamTransferManager that there are no more parts afterwards.
complete() - Method in class alex.mojaki.s3upload.StreamTransferManager
Blocks while waiting for the threads uploading the contents of the streams returned by StreamTransferManager.getMultiPartOutputStreams() to finish, then sends a request to S3 to complete the upload.
customiseCompleteRequest(CompleteMultipartUploadRequest) - Method in class alex.mojaki.s3upload.StreamTransferManager
 
customiseInitiateRequest(InitiateMultipartUploadRequest) - Method in class alex.mojaki.s3upload.StreamTransferManager
 
customisePutEmptyObjectRequest(PutObjectRequest) - Method in class alex.mojaki.s3upload.StreamTransferManager
 
customiseUploadPartRequest(UploadPartRequest) - Method in class alex.mojaki.s3upload.StreamTransferManager
 

E

ExecutorServiceResultsHandler<V> - Class in alex.mojaki.s3upload
Wrapper around an ExecutorService that allows you to easily submit Callables, get results via iteration, and handle failure quickly.
ExecutorServiceResultsHandler(ExecutorService) - Constructor for class alex.mojaki.s3upload.ExecutorServiceResultsHandler
 

F

finishedSubmitting() - Method in class alex.mojaki.s3upload.ExecutorServiceResultsHandler
 

G

getMultiPartOutputStreams() - Method in class alex.mojaki.s3upload.StreamTransferManager
Get the list of output streams to write to.

I

IntegrityCheckException - Exception in alex.mojaki.s3upload
Thrown when final integrity check fails.
IntegrityCheckException(String) - Constructor for exception alex.mojaki.s3upload.IntegrityCheckException
 
iterator() - Method in class alex.mojaki.s3upload.ExecutorServiceResultsHandler
 

M

MultiPartOutputStream - Class in alex.mojaki.s3upload
An OutputStream which packages data written to it into discrete StreamParts which can be obtained in a separate thread via iteration and uploaded to S3.

N

numStreams - Variable in class alex.mojaki.s3upload.StreamTransferManager
 
numStreams(int) - Method in class alex.mojaki.s3upload.StreamTransferManager
Sets the number of MultiPartOutputStreams that will be created and returned by StreamTransferManager.getMultiPartOutputStreams() for you to write to.
numUploadThreads - Variable in class alex.mojaki.s3upload.StreamTransferManager
 
numUploadThreads(int) - Method in class alex.mojaki.s3upload.StreamTransferManager
Sets the number of threads that will be created to upload the data in parallel to S3.

P

partSize - Variable in class alex.mojaki.s3upload.StreamTransferManager
 
partSize(long) - Method in class alex.mojaki.s3upload.StreamTransferManager
Sets the size in MB of the parts to be uploaded to S3.
putKey - Variable in class alex.mojaki.s3upload.StreamTransferManager
 

Q

queueCapacity - Variable in class alex.mojaki.s3upload.StreamTransferManager
 
queueCapacity(int) - Method in class alex.mojaki.s3upload.StreamTransferManager
Sets the capacity of the queue where completed parts from the output streams will sit waiting to be taken by the upload threads.

S

S3_MIN_PART_SIZE - Static variable in class alex.mojaki.s3upload.MultiPartOutputStream
 
s3Client - Variable in class alex.mojaki.s3upload.StreamTransferManager
 
StreamTransferManager - Class in alex.mojaki.s3upload
Manages streaming of data to S3 without knowing the size beforehand and without keeping it all in memory or writing to disk.
StreamTransferManager(String, String, AmazonS3) - Constructor for class alex.mojaki.s3upload.StreamTransferManager
 
StreamTransferManager(String, String, AmazonS3, int, int, int, int) - Constructor for class alex.mojaki.s3upload.StreamTransferManager
Deprecated.
submit(Callable<V>) - Method in class alex.mojaki.s3upload.ExecutorServiceResultsHandler
 

T

toString() - Method in class alex.mojaki.s3upload.MultiPartOutputStream
 
toString() - Method in class alex.mojaki.s3upload.StreamTransferManager
 

U

uploadId - Variable in class alex.mojaki.s3upload.StreamTransferManager
 

W

write(int) - Method in class alex.mojaki.s3upload.MultiPartOutputStream
 
write(byte[], int, int) - Method in class alex.mojaki.s3upload.MultiPartOutputStream
 
write(byte[]) - Method in class alex.mojaki.s3upload.MultiPartOutputStream
 
A B C E F G I M N P Q S T U W 
Skip navigation links

Copyright © 2020. All rights reserved.