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

module-redis-lettuce.LettucePlugin.callback中xadd(K key, Object... keysAndValues)好像重复增强了? #19

Open
15898317421 opened this issue Jul 9, 2021 · 0 comments

Comments

@15898317421
Copy link

15898317421 commented Jul 9, 2021

        InstrumentMethod xadd0 = target.getDeclaredMethod("xadd", "java.lang.Object", "java.lang.Object[]");
        xadd0.addInterceptor(Listeners.of(LettuceMethodClusterTestFirstSecondArgsArraySplitInterceptor.class, "Lettuce_xadd", ExecutionPolicy.BOUNDARY, Interceptors.SCOPE_CALLBACK));

        InstrumentMethod xadd1 = target.getDeclaredMethod("xadd", "java.lang.Object", "io.lettuce.core.XAddArgs", "java.lang.Object[]");
        xadd1.addInterceptor(Listeners.of(LettuceMethodClusterTestFirstThirdArgsArraySplitInterceptor.class, "Lettuce_xadd", ExecutionPolicy.BOUNDARY, Interceptors.SCOPE_CALLBACK));

        InstrumentMethod xadd2 = target.getDeclaredMethod("xadd", "java.lang.Object", "java.util.Map");
        xadd2.addInterceptor(Listeners.of(LettuceMethodClusterTestFirstSecondArgsArraySplitInterceptor.class, "Lettuce_xadd", ExecutionPolicy.BOUNDARY, Interceptors.SCOPE_CALLBACK));

        InstrumentMethod xadd3 = target.getDeclaredMethod("xadd", "java.lang.Object", "io.lettuce.core.XAddArgs", "java.util.Map");
        xadd3.addInterceptor(Listeners.of(LettuceMethodClusterTestFirstThirdArgsArraySplitInterceptor.class, "Lettuce_xadd", ExecutionPolicy.BOUNDARY, Interceptors.SCOPE_CALLBACK));

        InstrumentMethod xadd4 = target.getDeclaredMethod("xadd", "java.lang.Object", "java.lang.Object[]");
        xadd4.addInterceptor(Listeners.of(LettuceMethodClusterTestFirstThirdArgsArraySplitInterceptor.class, "Lettuce_xadd", ExecutionPolicy.BOUNDARY, Interceptors.SCOPE_CALLBACK));

这段代码中xadd(K key, Object... keysAndValues)方法被重复增强了

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