-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
强转类型失败的bug #141
Comments
oldratlee
added a commit
that referenced
this issue
Jul 10, 2019
oldratlee
added a commit
that referenced
this issue
Jul 10, 2019
should unwrap ttl runnable for before/afterExecute methods of executor subclass when decorate by ttl agent
oldratlee
added a commit
that referenced
this issue
Jul 10, 2019
should unwrap ttl runnable for before/afterExecute methods of executor subclass when decorate by ttl agent
oldratlee
added a commit
that referenced
this issue
Jul 10, 2019
oldratlee
added a commit
that referenced
this issue
Jul 10, 2019
oldratlee
added a commit
that referenced
this issue
Jul 11, 2019
should unwrap ttl runnable for before/afterExecute methods of executor subclass when decorate by ttl agent
oldratlee
added a commit
that referenced
this issue
Jul 11, 2019
oldratlee
added a commit
that referenced
this issue
Jul 11, 2019
oldratlee
added a commit
that referenced
this issue
Jul 11, 2019
should unwrap ttl runnable for before/afterExecute methods of executor subclass when decorate by ttl agent
发布了版本 你试试 是不是 OK的? :) @auyang-0626 |
Closed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
你好,我们在trace系统中引入了ttl.同样遇到用户在beforeExecutor方法中,强转runnable的类型报错。
我的解决方法是:
agent增强的时候,拦截所有的ExecutorService派生出来的类,把它们的beforeExecutor和afterExecutor都增强下,从TtlRunnable取出用户原始的类型,然后还回去。
这种方式你觉得会有什么隐患吗?
The text was updated successfully, but these errors were encountered: