Class MonitorFilter

java.lang.Object
org.apache.dubbo.monitor.support.MonitorFilter
All Implemented Interfaces:
org.apache.dubbo.rpc.BaseFilter, org.apache.dubbo.rpc.BaseFilter.Listener, org.apache.dubbo.rpc.Filter
Direct Known Subclasses:
MonitorClusterFilter

@Deprecated @Activate(group="provider") public class MonitorFilter extends Object implements org.apache.dubbo.rpc.Filter, org.apache.dubbo.rpc.BaseFilter.Listener
Deprecated.
MonitorFilter. (SPI, Singleton, ThreadSafe)
  • Nested Class Summary

    Nested classes/interfaces inherited from interface org.apache.dubbo.rpc.BaseFilter

    org.apache.dubbo.rpc.BaseFilter.Listener
  • Constructor Summary

    Constructors
    Constructor
    Description
    Deprecated.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.apache.dubbo.rpc.Result
    invoke(org.apache.dubbo.rpc.Invoker<?> invoker, org.apache.dubbo.rpc.Invocation invocation)
    Deprecated.
    The invocation interceptor,it will collect the invoke data about this invocation and send it to monitor center
    void
    onError(Throwable t, org.apache.dubbo.rpc.Invoker<?> invoker, org.apache.dubbo.rpc.Invocation invocation)
    Deprecated.
     
    void
    onResponse(org.apache.dubbo.rpc.Result result, org.apache.dubbo.rpc.Invoker<?> invoker, org.apache.dubbo.rpc.Invocation invocation)
    Deprecated.
     
    void
    Deprecated.
     

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • MonitorFilter

      public MonitorFilter()
      Deprecated.
  • Method Details

    • setMonitorFactory

      public void setMonitorFactory(MonitorFactory monitorFactory)
      Deprecated.
    • invoke

      public org.apache.dubbo.rpc.Result invoke(org.apache.dubbo.rpc.Invoker<?> invoker, org.apache.dubbo.rpc.Invocation invocation) throws org.apache.dubbo.rpc.RpcException
      Deprecated.
      The invocation interceptor,it will collect the invoke data about this invocation and send it to monitor center
      Specified by:
      invoke in interface org.apache.dubbo.rpc.BaseFilter
      Parameters:
      invoker - service
      invocation - invocation.
      Returns:
      Result the invoke result
      Throws:
      org.apache.dubbo.rpc.RpcException
    • onResponse

      public void onResponse(org.apache.dubbo.rpc.Result result, org.apache.dubbo.rpc.Invoker<?> invoker, org.apache.dubbo.rpc.Invocation invocation)
      Deprecated.
      Specified by:
      onResponse in interface org.apache.dubbo.rpc.BaseFilter.Listener
    • onError

      public void onError(Throwable t, org.apache.dubbo.rpc.Invoker<?> invoker, org.apache.dubbo.rpc.Invocation invocation)
      Deprecated.
      Specified by:
      onError in interface org.apache.dubbo.rpc.BaseFilter.Listener