Node Director
|
Local file access with files written in an atomic operation. More...
Local file access with files written in an atomic operation.
Retriever URI:
i.e.
Like the File retriever the Atomic file retriever provides access to a file in the local filesystem. But whenever a file is written, the atomic file retriever will first write to a temporary file in the same directory as the true target file and will only replace the target file as soon as the file write is complete with a single file rename operation. Depending on the operating system this operation is either atomic or at least very fast. Therefore, the file is never in an inconsistent state during write operations - it either still contains the old contents or already contains the new contents. Thus the name AtomicFile.