In Java, if you use the WatchService frameworks to watch the disk for changes, it locks the parents of watched directories, preventing deletion, renaming, etc.
This is an undesirable behavior for my program. Is it possible to either tell the WatchService to not lock, or is there an alternative API which watches the disk but does not lock any folders?