Class TracingFilter

  • All Implemented Interfaces:
    com.alibaba.dubbo.rpc.Filter

    @Activate(group={"provider","consumer"},
              value="tracing")
    public final class TracingFilter
    extends java.lang.Object
    implements com.alibaba.dubbo.rpc.Filter
    • Constructor Summary

      Constructors 
      Constructor Description
      TracingFilter()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      com.alibaba.dubbo.rpc.Result invoke​(com.alibaba.dubbo.rpc.Invoker<?> invoker, com.alibaba.dubbo.rpc.Invocation invocation)  
      void setTracing​(Tracing tracing)
      ExtensionLoader supplies the tracing implementation which must be named "tracing".
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • TracingFilter

        public TracingFilter()
    • Method Detail

      • setTracing

        public void setTracing​(Tracing tracing)
        ExtensionLoader supplies the tracing implementation which must be named "tracing". For example, if using the SpringExtensionFactory, only a bean named "tracing" will be injected.
      • invoke

        public com.alibaba.dubbo.rpc.Result invoke​(com.alibaba.dubbo.rpc.Invoker<?> invoker,
                                                   com.alibaba.dubbo.rpc.Invocation invocation)
                                            throws com.alibaba.dubbo.rpc.RpcException
        Specified by:
        invoke in interface com.alibaba.dubbo.rpc.Filter
        Throws:
        com.alibaba.dubbo.rpc.RpcException