Package com.qfs.msg

Interface IWatcher

All Known Implementing Classes:
AFileSystemCSVTopic, DirectoryCSVTopic, SingleFileCSVTopic

public interface IWatcher
General interface for components that can process the events of a WatchKey.

In a typical deployment, WatchService is running and when it detects events for some of its watch keys, it forwards the event to some watchers.

Author:
ActiveViam
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    process(Path basePath, List<WatchEvent<?>> events)
    Process the events of the watch key.
  • Method Details

    • process

      void process(Path basePath, List<WatchEvent<?>> events)
      Process the events of the watch key.
      Parameters:
      basePath - the base path, i.e. the directory's location
      events - the event associated to this directory