Class FileSystemWatchService


  • public class FileSystemWatchService
    extends java.lang.Object
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void destroy()  
      FileSystemWatchService init()  
      void registerJob​(java.nio.file.Path path, java.util.function.Consumer<java.nio.file.Path> listener)  
      void unregisterJob​(java.nio.file.Path path, java.util.function.Consumer<java.nio.file.Path> listener)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • FileSystemWatchService

        public FileSystemWatchService()
    • Method Detail

      • destroy

        public void destroy()
      • registerJob

        public void registerJob​(java.nio.file.Path path,
                                java.util.function.Consumer<java.nio.file.Path> listener)
      • unregisterJob

        public void unregisterJob​(java.nio.file.Path path,
                                  java.util.function.Consumer<java.nio.file.Path> listener)