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

可否考虑一下,在一个接口中,同一方法调用多次的情况 #6

Open
csj-9-9 opened this issue Nov 18, 2024 · 0 comments

Comments

@csj-9-9
Copy link

csj-9-9 commented Nov 18, 2024

`
public void test() {
RedisUtil.lock(() -> {
// 业务逻辑A
});

RedisUtil.lock(() -> {
	// 业务逻辑B
});


RedisUtil.getCach(() -> {
	// 业务逻辑A1
});

RedisUtil.getCach(() -> {
	// 业务逻辑B1
});

}
`
目前你是通过“类名+方法名”确定方法关系的。这样的话,当同一方法内包含不同的逻辑时,接口调用关系图会显得特别乱;而且也不能区分在不同的场景下这个方法的执行情况。

对于复杂的接口关系图,很难保证用户体验性,可否提供一个通过类似树形表格来展现接口调用层级的页面

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

No branches or pull requests

1 participant