Atomic File Retriever
[File Retrievers]

SYNOPSYS

Retriever URI:
atomicfile:filepath

i.e.

atomicfile:/etc/passwd

DESCRIPTION

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.


Generated on Sat May 19 01:19:48 2012 for Node Director by  doxygen 1.4.5