类 ProfilerServerFilter
- java.lang.Object
-
- org.apache.dubbo.rpc.filter.ProfilerServerFilter
-
- 所有已实现的接口:
BaseFilter,BaseFilter.Listener,Filter
@Activate(group="provider", order=-2147483648) public class ProfilerServerFilter extends Object implements Filter, BaseFilter.Listener
-
-
嵌套类概要
-
从接口继承的嵌套类/接口 org.apache.dubbo.rpc.BaseFilter
BaseFilter.Listener
-
-
构造器概要
构造器 构造器 说明 ProfilerServerFilter()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 Resultinvoke(Invoker<?> invoker, Invocation invocation)Always call invoker.invoke() in the implementation to hand over the request to the next filter node.voidonError(Throwable t, Invoker<?> invoker, Invocation invocation)This method will be called on detection of framework exceptions, for example, TimeoutException, NetworkException Exception raised in Filters, etc.voidonResponse(Result appResponse, Invoker<?> invoker, Invocation invocation)This method will only be called on successful remote rpc execution, that means, the service in on remote received the request and the result (normal or exceptional) returned successfully.
-
-
-
方法详细资料
-
invoke
public Result invoke(Invoker<?> invoker, Invocation invocation) throws RpcException
从接口复制的说明:BaseFilterAlways call invoker.invoke() in the implementation to hand over the request to the next filter node.- 指定者:
invoke在接口中BaseFilter- 抛出:
RpcException
-
onResponse
public void onResponse(Result appResponse, Invoker<?> invoker, Invocation invocation)
从接口复制的说明:BaseFilter.ListenerThis method will only be called on successful remote rpc execution, that means, the service in on remote received the request and the result (normal or exceptional) returned successfully.- 指定者:
onResponse在接口中BaseFilter.Listener- 参数:
appResponse- , the rpc call result, it can represent both normal result and exceptional resultinvoker- , contextinvocation- , context
-
onError
public void onError(Throwable t, Invoker<?> invoker, Invocation invocation)
从接口复制的说明:BaseFilter.ListenerThis method will be called on detection of framework exceptions, for example, TimeoutException, NetworkException Exception raised in Filters, etc.- 指定者:
onError在接口中BaseFilter.Listener- 参数:
t- , framework exceptioninvoker- , contextinvocation- , context
-
-