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

any plan to integrate spring scheduled #364

Open
davis1214 opened this issue Jun 9, 2020 · 1 comment
Open

any plan to integrate spring scheduled #364

davis1214 opened this issue Jun 9, 2020 · 1 comment
Labels
help wanted Extra attention is needed

Comments

@davis1214
Copy link

is there any plan to integrate spring scheduled

@glmapper glmapper added the help wanted Extra attention is needed label Jun 9, 2020
@chenmudu
Copy link
Contributor

chenmudu commented Jul 8, 2020

Spring Scheduled?
Maybe you can customize your thread pool,rewrite the execute method, wrap Runnable into SofaTracerRunnable。

public class XxxThreadPoolTaskExecutor extends ThreadPoolTaskExecutor {
        @Override
        public void execute(Runnable runnable) {
            super.execute(new SofaTracerRunnable(runnable));
        }
    }

end: replace the thread pool that comes with Spring。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants