-
Notifications
You must be signed in to change notification settings - Fork 2
NOTES
DefaultMonitor.setRecursive does not seem to work as expected. All directories are recursively cached and events triggered even if option is set to false. JIRA-VFS-569. Due to this inherited ¿bug?, ¿issue? we implemented a workaround in the class that make use of DefaultMonitor. The main idea is to drop subfolders (FileObjects) before caching. This subfolders belongs to main folder that is being monitorized by Defaultmonitor.
Found weird behavior when a file is processed, deleted and put again into incoming. DefaultMonitor triggers an event type "create" but complains about file not exists.SOLVED by removing file from cache.
If event is type "discover" we must iterate over subfolders if recursive.search.directory is set to true.
Refactor isEventValidStatus, avoid scala return. Improve code clarity.
Class for external properties.
Map of tracked files now contains attribute "lastModifiedTime".