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

FISH-1069 Rationalise fault tolerance docs #135

Merged
merged 1 commit into from
Feb 26, 2021
Merged

FISH-1069 Rationalise fault tolerance docs #135

merged 1 commit into from
Feb 26, 2021

Conversation

MattGill98
Copy link
Contributor

Updated the fault tolerance docs to reflect the new rationalised
configuration.

Updated the fault tolerance docs to reflect the new rationalised
configuration.

Signed-off-by: Matthew Gill <[email protected]>
Copy link
Contributor

@fturizo fturizo left a comment

Choose a reason for hiding this comment

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

Just a minor re-word needed

The executor service is used to execute methods annotated with `@Asynchronous`, whereas the scheduled executor
service is used by the CircuitBreaker and Timeout interceptors for their timeout operations (scheduling the circuit breaker
to be set to half open, and just timing out respectively).
The executor service is used to execute methods annotated with `@Asynchronous`, whereas the scheduled executor service is used by the CircuitBreaker and Timeout interceptors for their timeout operations (scheduling the circuit breaker to be set to half open, and just timing out respectively).
Copy link
Contributor

Choose a reason for hiding this comment

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

@MattGill98, I'm a bit confused by this statement. Is the gist of the clarification that there are 2 managed executor services used to coordinate these 3 interceptors, a plain ManagedExecutorService for the @Async interceptor and a ManagedScheduledExecutorService to handle the other 2 correct? If this is the case it might be better to put this on a list and annotate the interceptor names and put them in pre format for better readibility

Copy link
Contributor Author

Choose a reason for hiding this comment

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

What do you mean sorry? I haven't actually edited this line, but I think it reads fairly clearly

@MattGill98 MattGill98 requested a review from fturizo February 24, 2021 15:59
@MattGill98 MattGill98 merged commit ec0273c into payara:master Feb 26, 2021
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.

4 participants