Package de.dlr.proseo.storagemgr.s3
Klasse S3AtomicFileUploader
java.lang.Object
de.dlr.proseo.storagemgr.s3.S3AtomicFileUploader
- Alle implementierten Schnittstellen:
AtomicCommand<String>
S3 Atomic Uploader
- Autor:
- Denys Chaykovskiy
-
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungS3AtomicFileUploader
(com.amazonaws.services.s3.AmazonS3 s3ClientV1, String bucket, String sourceFile, String targetFileOrDir) Constructor -
Methodenübersicht
-
Konstruktordetails
-
Methodendetails
-
execute
Executes upload of the file to s3- Angegeben von:
execute
in SchnittstelleAtomicCommand<String>
- Gibt zurück:
- uploaded file name
- Löst aus:
IOException
- if atomic command was not successful
-
getInfo
Gets information about atomic command (mostly for logs)- Angegeben von:
getInfo
in SchnittstelleAtomicCommand<String>
- Gibt zurück:
- information about atomic command
-
getCompletedInfo
Gets information about completed atomic command (mostly for logs)- Angegeben von:
getCompletedInfo
in SchnittstelleAtomicCommand<String>
- Gibt zurück:
- information about completed atomic command
-
getFailedInfo
Gets information about failed atomic command (mostly for logs)- Angegeben von:
getFailedInfo
in SchnittstelleAtomicCommand<String>
- Gibt zurück:
- information about failed atomic command
-