I want to use the Java WatchService in an IDE-like tool. It seems like a good match for the behaviors I need from it.
The trick is that my customers use the tool in all sorts of interesting environments. Most of the time, the files are on the local disk, but often the files will be on some mounted network drive. Often these are in complex enterprise environments with proxies and VPNs in the mix too.
Before I invest too much time implementing a WatchService solution, I would like some reassurance that it's likely to work in these complex environments.
For example:
- Windows shared drives
- Sharepoint mapped network drives
- Clearcase dynamic/static views
- VMWare mounted drives (viewed from the client or viewed from the host)
- Samba based mounted drives
- ...
Is there a maintained list of filesystems that do (or do not) provide native file change events to the Java WatchService?
As a corollary, is there data describing the functional and non-functional performance WatchService's polling implementation in scenarios like this?