-
Notifications
You must be signed in to change notification settings - Fork 5
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
Add poll-based file watcher and use it as default for macOS #25
Conversation
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.
Some nits but overall looks good.
lib/src/main/java/com/dynatrace/file/util/PollBasedFilePoller.java
Outdated
Show resolved
Hide resolved
lib/src/main/java/com/dynatrace/file/util/FilePollerFactory.java
Outdated
Show resolved
Hide resolved
lib/src/main/java/com/dynatrace/file/util/FilePollerFactory.java
Outdated
Show resolved
Hide resolved
lib/src/main/java/com/dynatrace/file/util/FilePollerFactory.java
Outdated
Show resolved
Hide resolved
lib/src/main/java/com/dynatrace/file/util/PollBasedFilePoller.java
Outdated
Show resolved
Hide resolved
lib/src/main/java/com/dynatrace/file/util/WatchServiceBasedFilePoller.java
Outdated
Show resolved
Hide resolved
lib/src/main/java/com/dynatrace/file/util/FilePollerFactory.java
Outdated
Show resolved
Hide resolved
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.
Just a few nits and questions. :)
lib/src/main/java/com/dynatrace/file/util/DynatraceFileBasedConfigurationProvider.java
Outdated
Show resolved
Hide resolved
lib/src/main/java/com/dynatrace/file/util/FilePollerFactory.java
Outdated
Show resolved
Hide resolved
lib/src/main/java/com/dynatrace/file/util/WatchServiceBasedFilePoller.java
Outdated
Show resolved
Hide resolved
lib/src/main/java/com/dynatrace/file/util/FilePollerFactory.java
Outdated
Show resolved
Hide resolved
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.
Looks good :)
lib/src/main/java/com/dynatrace/file/util/FilePollerFactory.java
Outdated
Show resolved
Hide resolved
lib/src/main/java/com/dynatrace/file/util/FilePollerFactory.java
Outdated
Show resolved
Hide resolved
lib/src/main/java/com/dynatrace/file/util/FilePollerFactory.java
Outdated
Show resolved
Hide resolved
lib/src/main/java/com/dynatrace/file/util/FilePollerFactory.java
Outdated
Show resolved
Hide resolved
lib/src/main/java/com/dynatrace/file/util/FilePollerFactory.java
Outdated
Show resolved
Hide resolved
lib/src/main/java/com/dynatrace/file/util/PollBasedFilePoller.java
Outdated
Show resolved
Hide resolved
lib/src/main/java/com/dynatrace/file/util/PollBasedFilePoller.java
Outdated
Show resolved
Hide resolved
lib/src/main/java/com/dynatrace/file/util/PollBasedFilePoller.java
Outdated
Show resolved
Hide resolved
lib/src/main/java/com/dynatrace/file/util/PollBasedFilePoller.java
Outdated
Show resolved
Hide resolved
lib/src/main/java/com/dynatrace/file/util/PollBasedFilePoller.java
Outdated
Show resolved
Hide resolved
lib/src/main/java/com/dynatrace/file/util/PollBasedFilePoller.java
Outdated
Show resolved
Hide resolved
lib/src/main/java/com/dynatrace/file/util/PollBasedFilePoller.java
Outdated
Show resolved
Hide resolved
e36b1b6
to
8a2e598
Compare
This reverts commit af4cba0.
Co-authored-by: Marc Pichler <[email protected]>
This PR introduces a new poll based file watcher interface since the WatchService based implementation does not work as intended on macOS. The Poller will poll in 60 Second intervals by default.
@arminru I have added your commits to add macOS to the testing infrastructure in this PR to ensure everything works as intended.