Package de.dlr.proseo.storagemgr.posix
Klasse PosixAtomicFileCopier
java.lang.Object
de.dlr.proseo.storagemgr.posix.PosixAtomicFileCopier
- Alle implementierten Schnittstellen:
AtomicCommand<String>
Posix Atomic File Copier from some POSIX absolute path to another POSIX absolute path (normally, to cache)
- Autor:
- Denys Chaykovskiy
-
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungPosixAtomicFileCopier
(String sourceFile, String targetFileOrDir) Constructor -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungexecute()
Executes copy of the file from a posix path to a posix path (normally, to the cache)Gets 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
-
PosixAtomicFileCopier
Constructor- Parameter:
sourceFile
- sourceFiletargetFileOrDir
- target file or directory
-
-
Methodendetails
-
execute
Executes copy of the file from a posix path to a posix path (normally, to the cache)- Angegeben von:
execute
in SchnittstelleAtomicCommand<String>
- Gibt zurück:
- copied 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
-