Skip to content
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

Make newScheduledExecutor public and move to StandardLifecycles #112

Merged
merged 1 commit into from
Mar 23, 2021

Conversation

sleberknight
Copy link
Member

  • Move newScheduledExecutor from MonitoredJobs to StandardLifecycles
  • Update the javadocs in StandardLifecycles since it is no longer just
    about setting up lifecycle listeners
  • Since MonitoredJobsTest and StandardLifecyclesTest had the same code
    to shut down the ScheduledExecutorService, moved that code into a
    new shared test utility, TestExecutors, which ensures the executor
    is gracefully shut down once the test is finished with it

Closes #109

* Move newScheduledExecutor from MonitoredJobs to StandardLifecycles
* Update the javadocs in StandardLifecycles since it is no longer just
  about setting up lifecycle listeners
* Since MonitoredJobsTest and StandardLifecyclesTest had the same code
  to shut down the ScheduledExecutorService, moved that code into a
  new shared test utility, TestExecutors, which ensures the executor
  is gracefully shut down once the test is finished with it

Closes #109
@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

100.0% 100.0% Coverage
0.0% 0.0% Duplication

@chrisrohr chrisrohr merged commit af4176c into master Mar 23, 2021
@chrisrohr chrisrohr deleted the 109-move-newScheduledExecutor branch March 23, 2021 16:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Make newScheduledExecutor public; move to new class in lifecycle package
2 participants