sbtourist / Journal.IO

Journal.IO is a zero-dependency, fast and easy-to-use journal storage implementation.
Apache License 2.0
260 stars 39 forks source link

Add lock file #41

Open sbtourist opened 11 years ago

sbtourist commented 11 years ago

Add lock file to prevent opening the journal from multiple JVMs at the same time.

Downchuck commented 10 years ago

"implement a simple file locking mechanism to prevent data corruption due to shared file access"