We are using [WatchService][1]
API (JDK 7) to track files created in my system. And up till now, it worked ok. Every file created on my system tracked by my program.
But we have trouble when we use NFS (the directory we track actually exist on another computer in LAN).
WatchService
does not work.
Can anyone tell me how to work around this situation? How can I setup NFS to support Java 7 WatchService
API or can anyone tell me a better library.
Thanks all
You can mix your code with Polling Watcher from OpenJDK (Polish text)
Sources
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With