Package com.qfs.msg
Interface IWatcher
-
- All Known Implementing Classes:
AFileSystemCSVTopic,DirectoryCSVTopic,SingleFileCSVTopic
public interface IWatcherGeneral interface for components that can process the events of aWatchKey.In a typical deployment,
WatchServiceis running and when it detects events for some of its watch keys, it forwards the event to some watchers.- Author:
- ActiveViam
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidprocess(Path basePath, List<WatchEvent<?>> events)Process the events of the watch key.
-
-
-
Method Detail
-
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 locationevents- the event associated to this directory
-
-