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