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

16942: Update scheduler-reference.adoc for pause/resume of single method #17096

Merged
merged 1 commit into from May 11, 2021

Conversation

adrianfiedler
Copy link
Contributor

fix #16942: Add example of pause/resume of specific identity

Copy link
Contributor

@mkouba mkouba left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. I'd mention this in the text as well, i.e. something like Quarkus provides a built-in bean of type io.quarkus.scheduler.Scheduler that can be injected and used to pause/resume the scheduler and individual scheduled methods identified by a specific Scheduled#identity().

fix quarkusio#16942: Add example of pause/resume of specific identity
@adrianfiedler
Copy link
Contributor Author

Looks good. I'd mention this in the text as well, i.e. something like Quarkus provides a built-in bean of type io.quarkus.scheduler.Scheduler that can be injected and used to pause/resume the scheduler and individual scheduled methods identified by a specific Scheduled#identity().

Ok, I added that.

@machi1990 machi1990 requested a review from mkouba May 10, 2021 19:43
@mkouba mkouba merged commit ed53b12 into quarkusio:main May 11, 2021
@quarkus-bot quarkus-bot bot added this to the 2.0 - main milestone May 11, 2021
@mkouba
Copy link
Contributor

mkouba commented May 11, 2021

Merged, thanks!

@adrianfiedler adrianfiedler deleted the 16942-docs-pause-id branch May 11, 2021 10:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Scheduler - document how to pause/resume a @Scheduled method with identity
3 participants