I want to use the Java WatchService
to listen for changes on a big number of directories (many hundreds of thousands) but I don't know if it is appropriate for such numbers of watched directories.
Does anyone have experience with WatchService
with such numbers of directories?
If it helps, the WatchService
will be used on CentOS 6.5 with an EXT4 file system.
Thanks, Mickael