Package de.dlr.proseo.storagemgr.posix
Klasse PosixAtomicFileDownloader
java.lang.Object
de.dlr.proseo.storagemgr.posix.PosixAtomicFileDownloader
- Alle implementierten Schnittstellen:
AtomicCommand<String>
Posix Atomic File Downloader from the POSIX Storage to some POSIX Path (normally, to the cache)
- Autor:
- Denys Chaykovskiy
-
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungPosixAtomicFileDownloader
(String sourceFile, String targetFileOrDir) Constructor -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungexecute()
Executes download of the file from the storage to posix pathGets information about completed atomic command (mostly for logs)Gets information about failed atomic command (mostly for logs)getInfo()
Gets information about atomic command (mostly for logs)
-
Konstruktordetails
-
PosixAtomicFileDownloader
Constructor- Parameter:
sourceFile
- sourceFiletargetFileOrDir
- target file or directory
-
-
Methodendetails
-
execute
Executes download of the file from the storage 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
-