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 TypeMethodDescriptionvoidprocess(Path basePath, List<WatchEvent<?>> events) Process the events of the watch key.
-
Method Details
-
process
Process the events of the watch key.- Parameters:
basePath- the base path, i.e. the directory's locationevents- the event associated to this directory
-