-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
refactor startup endpoint #795
Conversation
Codecov Report
@@ Coverage Diff @@
## master #795 +/- ##
============================================
+ Coverage 70.69% 71.28% +0.58%
Complexity 32 32
============================================
Files 294 297 +3
Lines 8254 8374 +120
Branches 1149 1160 +11
============================================
+ Hits 5835 5969 +134
+ Misses 1748 1735 -13
+ Partials 671 670 -1
Continue to review full report at Codecov.
|
...sle-sofa-boot/src/main/java/com/alipay/sofa/isle/spring/factory/BeanLoadCostBeanFactory.java
Outdated
Show resolved
Hide resolved
CommonStartupCost commonStartupCost = new CommonStartupCost(); | ||
commonStartupCost.setName(name.getRawName()); | ||
commonStartupCost.setBeginTime(System.currentTimeMillis()); | ||
StageStat stageStat = new StageStat(); |
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.
这是给每个 sofa 组件都算一下时间?
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.
这是给每个 sofa 组件都算一下时间?
这里是之前的逻辑,应该删掉的
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.
所以现在是还留着对吗
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.
所以现在是还留着对吗
删掉了
*/ | ||
public interface BeanStatExtension { | ||
void customBeanStat(String beanName, RootBeanDefinition mbd, Object[] args, BeanStat bs); | ||
} |
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.
no new line
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.
no new line
done
|
||
if (beanStatExtension != null) { | ||
beanStatExtension.customBeanStat(beanName, mbd, args, bs); | ||
} |
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.
扩展点的展示结果是什么样的?
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.
扩展点的展示结果是什么样的?
扩展点用于定制bs
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
No description provided.