Package de.dlr.proseo.storagemgr.s3
Klasse S3AtomicFileSizeGetter
java.lang.Object
de.dlr.proseo.storagemgr.s3.S3AtomicFileSizeGetter
- Alle implementierten Schnittstellen:
AtomicCommand<String>
S3 Atomic File Size Getter
- Autor:
- Denys Chaykovskiy
-
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungS3AtomicFileSizeGetter
(software.amazon.awssdk.services.s3.S3Client s3Client, String bucket, String path) Constructor -
Methodenübersicht
-
Konstruktordetails
-
Methodendetails
-
execute
Gets if file exists- Angegeben von:
execute
in 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:
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
-