You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@skywalking.apache.org by GitBox <gi...@apache.org> on 2018/03/27 07:37:01 UTC
[GitHub] carlvine500 commented on issue #845: add jdk-cross-thread-plugin
carlvine500 commented on issue #845: add jdk-cross-thread-plugin
URL: https://github.com/apache/incubator-skywalking/pull/845#issuecomment-376426942
CallableWrapper is convenient to coding , eg:
```
// before tracing
Future<String> futrue = executorService.submit(new Callable<String>() {
@Override public String call() throws Exception {
return doGet("http://app.successchannel.com/resouces/xx=yy");
}
});
// after tracing
Future<String> futrue = executorService.submit(CallableWrapper.of(new Callable<String>() {
@Override public String call() throws Exception {
return doGet("http://app.successchannel.com/resouces/xx=yy");
}
}));
```
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services