-
Notifications
You must be signed in to change notification settings - Fork 0
Improved overflow support #20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
… parent watch to the constructor
… using the 3-arg constructor with a `null` arg)
…WatchEvent` (because having it outside didn't lead to significantly simpler code overall)
…erflow-support/richer-active-watch
…t/scaffolding Improved overflow support: Scaffolding
…support/richer-active-watch
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #20 +/- ##
=========================================
+ Coverage 80.0% 80.7% +0.7%
- Complexity 88 131 +43
=========================================
Files 11 16 +5
Lines 415 567 +152
Branches 41 64 +23
=========================================
+ Hits 332 458 +126
- Misses 57 69 +12
- Partials 26 40 +14 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
…roved-overflow-support/event-handlers-with-active-watch
…t/richer-active-watch Improved overflow support: Internal `EventHandlingWatch` interface
…support/event-handlers-with-active-watch
…t/event-handlers-with-active-watch Improved overflow support: Internal event handlers can dispatch new events
…t/fix-delete-detection-in-indexing-rescanner Improved overflow support: Fix detection of `DELETED` events in `IndexingRescanner`
…support/jdk-file-tree-watch
…t/jdk-file-tree-watch Improved overflow support: Recursive directory watches
DavyLandman
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, looks good, 2 small comments
… generated for files that exist
…t-modified-times only when the files involved truly exist
…prove performance of `IndexingRescanner`
https://github.com/SWAT-engineering/java-watch into improved-overflow-support/parameterized-torture-tests
…t/parameterized-torture-tests Improved overflow support: Parameterized torture tests
…t/update-readme Improved overflow support: Update README
Content
This is the main PR to address #12. It consists of the following auxiliary PRs:
EventHandlingWatchinterface #19DELETEDevents inIndexingRescanner#28Tasks
Features:
Make it possible to distinguish original events from synthetic events (comment)?-- Not needed for nowCode quality:
Reduce visibility of(moved to a separate issue: Reduce visibility ofJDK...JDK...classes #22)MemorylessRescannervsIndexingRescanner(comment 1, comment 2)Take more advantage of filtering capability (e.g., conceptually,(moved to separate issue: Use filter in the implementation ofJDKFileWatchis just aJDKDirectoryWatchwith a particular filter)JDKFileWatch#31)Performance:
IndexingRescannermore hierarchical to improve performance (time and space) (comment)Debounce overflow handling (comment)(moved to separate issue: Debounce overflow handler #32)