Skip to content

support async execute api.#366

Open
heihei180 wants to merge 4 commits into
alibaba:masterfrom
heihei180:master
Open

support async execute api.#366
heihei180 wants to merge 4 commits into
alibaba:masterfrom
heihei180:master

Conversation

@heihei180

Copy link
Copy Markdown
Contributor

fixs: #365
support async execute api.

support async execute api.
@heihei180

heihei180 commented Nov 9, 2022

Copy link
Copy Markdown
Contributor Author

It seems that the unit test failed to connect to the database?

@oldratlee oldratlee force-pushed the master branch 4 times, most recently from 9f7e07b to b8eab09 Compare April 4, 2023 17:38
@oldratlee

Copy link
Copy Markdown
Member

@heihei180 please rebase master branch(and then force push to your branch)

Ivan97 and others added 2 commits April 7, 2023 11:23
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

Copy link
Copy Markdown
Contributor Author

@heihei180 please rebase master branch(and then force push to your branch)

done

@oldratlee

Copy link
Copy Markdown
Member

@significantfrank this PR seems a good idea, how about reviewing?

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.

3 participants