Please sign in to comment.
[breaking] EventCoalescor is now abstract and generified
The default implementation, the old EventCoalescor, is implemented as a private static inner class of the EventCoalescor, it's an implementation called "generic". It might be built, using the factory method: "EventCoalescor.generic" So FileWatchEventCoalescor inherit from EventCoalescor for the type FileWatchEvent.
- Loading branch information...
Showing with 58 additions and 47 deletions.
- +2 −2 restx-barbarywatch/src/main/java/restx/common/watch/BarbaryWatchService.java
- +48 −24 restx-common/src/main/java/restx/common/watch/EventCoalescor.java
- +2 −16 restx-common/src/main/java/restx/common/watch/FileWatchEventCoalescor.java
- +2 −2 restx-common/src/main/java/restx/common/watch/StdWatcherService.java
- +4 −3 restx-common/src/test/java/restx/common/watch/EventCoalescorTest.java