is there a reliable way to lock an entire directory over multiple processes in Java? a simple but maybe not reliable way would be to write a “pid” or “lock” file and wait for the process which created that file to remove it
I’m asking in this channel since datahike/konserve must have the same problem somewhere
As long as it's the same JVM you could use a synchronized method?