Class FileWatcher

  • All Implemented Interfaces:
    java.lang.AutoCloseable

    public class FileWatcher
    extends java.lang.Object
    implements java.lang.AutoCloseable
    • Field Detail

      • join

        private final java.util.concurrent.CountDownLatch join
    • 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()