tutorials.techmytalk.com
JAVA NIO – FileLock
Locking on File introduced with java.nio package that implemented by FileChannel. A FileLock is two types exclusive and shared. A shared lock allows other concurrently running program to acquire ov…