Package de.dlr.proseo.storagemgr.s3
Klasse S3AtomicFileContentGetter
java.lang.Object
de.dlr.proseo.storagemgr.s3.S3AtomicFileContentGetter
- Alle implementierten Schnittstellen:
AtomicCommand<String>
S3 Atomic File Content Getter
- Autor:
- Denys Chaykovskiy
-
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungS3AtomicFileContentGetter(software.amazon.awssdk.services.s3.S3Client s3Client, String bucket, String path) Constructor -
Methodenübersicht
-
Konstruktordetails
-
Methodendetails
-
execute
Gets if file exists- Angegeben von:
executein SchnittstelleAtomicCommand<String>- Gibt zurück:
- "true" if file exists
- Löst aus:
IOException- if atomic command was not successful
-
getInfo
Gets information about atomic command (mostly for logs)- Angegeben von:
getInfoin SchnittstelleAtomicCommand<String>- Gibt zurück:
- information about atomic command
-
getCompletedInfo
Gets information about completed atomic command (mostly for logs)- Angegeben von:
getCompletedInfoin SchnittstelleAtomicCommand<String>- Gibt zurück:
- information about completed atomic command
-
getFailedInfo
Gets information about failed atomic command (mostly for logs)- Angegeben von:
getFailedInfoin SchnittstelleAtomicCommand<String>- Gibt zurück:
- information about failed atomic command
-