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

Bug 490 #491

Closed
wants to merge 4 commits into from
Closed

Bug 490 #491

wants to merge 4 commits into from

Conversation

heihei180
Copy link
Contributor

close #490

heihei180 and others added 4 commits November 9, 2022 16:37
support async execute api.
1. 增加com.alibaba.cola.statemachine.StateMachine#verify方法
用来判断当前状态能否响应某个事件

2. 增加com.alibaba.cola.statemachine.builder.StateMachineBuilder#setFailoverCallback
用来增加在状态流转没有命中当前配置的规则时执行的回调
接口定义 com.alibaba.cola.statemachine.builder.FailoverCallback
默认为NumbFailoverCallbackImpl,与当前行为一样,什么都不做。
另外内置AlertFailoverCallbackImpl,用于抛出异常TransitionFailoverException
@heihei180 heihei180 closed this May 6, 2024
@heihei180 heihei180 deleted the bug_490 branch May 7, 2024 06:57
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.

[BUG] 在spring5的一些版本中无法使用@extensions注解
2 participants