java - How to snapshot a file in meantime modify it? -


now try conquer problem. problem have file may update in random time, clients download it, when clients download log file, need snapshot file. however, file may update when downing. how make sure copy of log file same user downed one?

you need alter download process.

when click download, should first copy file (your snapshot).

then send them copy of file, not active one.


Comments

Popular posts from this blog

serialization - Convert Any type in scala to Array[Byte] and back -

matplotlib support failed in PyCharm on OSX -

python - Matplotlib: TypeError: 'AxesSubplot' object is not callable -