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

java - Jasper subreport showing only one entry from the JSON data source when embedded in the Title band -

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

SonarQube Plugin for Jenkins does not find SonarQube Scanner executable -