Class WatchServiceFileSystemWatcher

  • All Implemented Interfaces:
    Runnable

    public class WatchServiceFileSystemWatcher
    extends Object
    implements Runnable
    File system watcher service based on JDK7 WatchService. Instantiating this class will create a new thread, that will run until close() is called. NOTE: this was copied from Xnio, it provides more functionality than we currently need.