public class EagleEyeLog4jMdcUpdater extends EagleEyeContextListener
priority| 限定符和类型 | 方法和说明 |
|---|---|
void |
beforeSet(RpcContext_inner context)
|
static EagleEyeLog4jMdcUpdater |
getInstance() |
afterEndLocal, afterEndRpc, afterEndTrace, afterListenerRegister, afterListenerRemoval, afterRpcClientSend, afterRpcServerRecv, afterRpcServerSend, afterSet, afterStartLocal, afterStartRpc, afterStartTrace, beforeEagleEyeShutdown, getPriority, getSource, setSourcepublic static EagleEyeLog4jMdcUpdater getInstance()
public void beforeSet(RpcContext_inner context)
EagleEyeContextListenerEagleEye.setRpcContext(RpcContext_inner) 前执行的回调。
当前 context 可以通过 EagleEye.getRpcContext() 取得beforeSet 在类中 EagleEyeContextListenercontext - 将要被设置的 contextCopyright © 2018. All rights reserved.