Class DirectoryWatcherService

java.lang.Object
com.nt.udc.util.DirectoryWatcherService
All Implemented Interfaces:
Runnable

public class DirectoryWatcherService extends Object implements Runnable
This class watches over an output directory for any output file create event for an end node which is part of test node chain.
  • Constructor Details

  • Method Details

    • run

      public void run()
      Specified by:
      run in interface Runnable
    • shutdownScheduler

      public void shutdownScheduler()
      This method shuts down ScheduledExecutorService thread.
    • closeDirectoryWatcherService

      public void closeDirectoryWatcherService()
      This method shuts down WatchService thread.