Package de.dlr.proseo.storagemgr.posix
Klasse PosixAtomicFileUploader
java.lang.Object
de.dlr.proseo.storagemgr.posix.PosixAtomicFileUploader
- Alle implementierten Schnittstellen:
AtomicCommand<String>
Posix Atomic File Uploader from some external POSIX absolute path to the POSIX Storage
- Autor:
- Denys Chaykovskiy
-
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungPosixAtomicFileUploader
(String sourceFile, String targetFileOrDir) Constructor -
Methodenübersicht
-
Konstruktordetails
-
PosixAtomicFileUploader
Constructor- Parameter:
sourceFile
- sourceFiletargetFileOrDir
- target file or directory
-
-
Methodendetails
-
execute
Executes upload of the file to posix path- 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
-