Package club.zhcs.lina.apm.event
Class APMEventListener
java.lang.Object
club.zhcs.lina.apm.event.APMEventListener
- All Implemented Interfaces:
EventListener,org.springframework.context.ApplicationListener<APMEvent>
- Direct Known Subclasses:
DefaultLogAPMEventListener,WechatWorkRobotAPMEventListener
public abstract class APMEventListener
extends Object
implements org.springframework.context.ApplicationListener<APMEvent>
APM事件监听器
- Author:
- Kerbores(kerbores@riemann.tech)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract voidhandleAPMLog(APMLog log) 处理日志voidonApplicationEvent(APMEvent event) 通用的事件监听处理Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.context.ApplicationListener
supportsAsyncExecution
-
Constructor Details
-
APMEventListener
public APMEventListener()
-
-
Method Details
-
onApplicationEvent
通用的事件监听处理- Specified by:
onApplicationEventin interfaceorg.springframework.context.ApplicationListener<APMEvent>- Parameters:
event-- See Also:
-
handleAPMLog
处理日志- Parameters:
log- 日志
-