Package de.dlr.proseo.storagemgr.model
Schnittstelle AtomicCommand<T>
- Alle bekannten Implementierungsklassen:
PosixAtomicFileCopier
,PosixAtomicFileDownloader
,PosixAtomicFileUploader
,S3AtomicBucketCreator
,S3AtomicBucketDeleter
,S3AtomicBucketListGetter
,S3AtomicFileContentGetter
,S3AtomicFileDeleter
,S3AtomicFileDownloader
,S3AtomicFileExistsGetter
,S3AtomicFileListDeleter
,S3AtomicFileListGetter
,S3AtomicFileSizeGetter
,S3AtomicFileUploader
,S3AtomicInputStreamGetter
,S3AtomicSynchroFileUploader
public interface AtomicCommand<T>
An interface for atomic operations or commands related to IO operations with
storage systems. It provides a set of methods to execute, retrieve
information, and handle the results of these atomic commands.
- Autor:
- Denys Chaykovskiy
-
Methodendetails
-
execute
Executes atomic command- Gibt zurück:
- string with result of command execution
- Löst aus:
IOException
- if atomic command was not successful
-
getInfo
String getInfo()Gets information about atomic command (mostly for logs)- Gibt zurück:
- information about atomic command
-
getCompletedInfo
String getCompletedInfo()Gets information about completed atomic command (mostly for logs)- Gibt zurück:
- information about completed atomic command
-
getFailedInfo
String getFailedInfo()Gets information about failed atomic command (mostly for logs)- Gibt zurück:
- information about failed atomic command
-