Optimize WatchService on OSX and FreeBSD not to use polling mechanism
Issue #846
new
Comments (4)
-
reporter -
reporter - changed title to Optimize WatchService on OSX not to use polling mechanism
- removed version
-
reporter -
there is BarbaryWatchSerivce, which is a drop in replacement with native OSX support
- Log in to comment
For 1.5.1 we will use Serviio poller (optimised for only looking for the supported files, media + metadata) instead of the java 7 poller (on Mac and FreeBSD - basically whenever the default service is 'sun.nio.fs.PollingWatchService').
In later versions we should switch to http://jnotify.sourceforge.net/index.html or wait for OSX/Linux JRE to implement native WachtService for OSX and BSD. Note that jnotify doesn't support BSD either (without extensions)