Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Makes Tailer use ScheduledExecutorService from Java 5#2

Open
triceo wants to merge 1 commit intoapache:trunk from
triceo:tailer-wait
Open

Makes Tailer use ScheduledExecutorService from Java 5 #2
triceo wants to merge 1 commit intoapache:trunk from
triceo:tailer-wait

Conversation

@triceo
Copy link

@triceo triceo commented May 17, 2014

This has multiple benefits:

  • it provides periodic runs of the read operations without needing to
    invoke Thread.sleep().
  • it removes any looping from the run() method, making for cleaner code.
  • generally brings Tailer closer to what modern Java looks like.

No public API changes have been made. All tests are passing without
modifications.

This has multiple benefits:
- it provides periodic runs of the read operations without needing to
invoke Thread.sleep().
- it removes any looping from the run() method, making for cleaner code.
- generally brings Tailer closer to what modern Java looks like.
No public API changes have been made. All tests are passing without
modifications.
Copy link
Member

@triceo
May you rebase on master?

Copy link
Member

garydgregory commented Sep 23, 2021
edited
Loading

@triceo
May you plerase rebase on master? The implementation has changed to use the builder pattern with an internal Duration instead of long to track the sleep delay. It looks like the code needs to be adapted to configure the builder with an executor.

Copy link
Author

triceo commented Sep 23, 2021

@garydgregory I may eventually get to it, but considering that the original PR is from 2014, I have moved on.

Copy link
Member

Either it's useful or not, regardless of your moving about 😉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /