kafka.utils
A file lock a la flock/funlock
The given path will be created and opened if it doesn't exist.
Destroy this lock, closing the associated FileChannel
Lock the file or throw an exception if the lock is already held
Try to lock the file and return true if the locking succeeds
Unlock the lock if it is held
A file lock a la flock/funlock
The given path will be created and opened if it doesn't exist.