Class FileWatcher

  • All Implemented Interfaces:
    java.lang.AutoCloseable

    public class FileWatcher
    extends java.lang.Object
    implements java.lang.AutoCloseable
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  FileWatcher.Builder  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void await()  
      boolean await​(long timeout, java.util.concurrent.TimeUnit unit)  
      void close()  
      long getCount()  
      • Methods inherited from class java.lang.Object

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

      • close

        public void close()
        Specified by:
        close in interface java.lang.AutoCloseable
      • await

        public void await()
                   throws java.lang.InterruptedException
        Throws:
        java.lang.InterruptedException
      • await

        public boolean await​(long timeout,
                             java.util.concurrent.TimeUnit unit)
                      throws java.lang.InterruptedException
        Throws:
        java.lang.InterruptedException
      • getCount

        public long getCount()