Don't use polling for WatchService
Open
P4
type=enhancement
- Dominant language
- Java
- Stars
- 2.6k
- Forks
- 296
- Avg merge
- 9m
- Merged PRs (30d)
- 7
Description
Google policy forbids unit tests from calling sleep. If sleep is used, they have to be categorized as medium tests.
It would be nice if `PollingWatchService` was replaced with an implementation that uses mutex conditions, e.g. wait() and notify().
Contributor guide
Assessment
This issue has not been assessed yet.