-
Notifications
You must be signed in to change notification settings - Fork 30
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
Remove timeLimit and timeUnit for @Compensate and @Complete #236
Conversation
@xstefank FYI |
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.
LGTM, thanks.
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.
I have some requests to change the javadoc.
api/src/main/java/org/eclipse/microprofile/lra/annotation/Compensate.java
Show resolved
Hide resolved
api/src/main/java/org/eclipse/microprofile/lra/annotation/Compensate.java
Outdated
Show resolved
Hide resolved
indicate that its' ability to compensate is limited to 100 milliseconds could be: | ||
Furthermore, the ability to compensate or complete may be transient capabilities of a service so participants can also be timed out. | ||
When the timeout is reached, the LRA moves to the state `Cancelling` and all registered participants receive a `Compensate` | ||
call. The same actions are performed then the case where the LRA is canceled. |
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.
The grammar is odd, better is:
The same actions are performed as in the case when an LRA is cancelled.
How does this issue relate to issue #233 |
Fixes #233