Class AbstractLogReport<T extends LogTaskRequest>
java.lang.Object
com.aizuda.snailjob.client.common.log.report.AbstractLogReport<T>
- All Implemented Interfaces:
Lifecycle,LogReport,org.springframework.beans.factory.InitializingBean
public abstract class AbstractLogReport<T extends LogTaskRequest>
extends Object
implements Lifecycle, org.springframework.beans.factory.InitializingBean, LogReport
- Since:
- 3.2.0
- Author:
- xiaowoniu
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidprotected abstract TbuildLogTaskDTO(LogContentDTO logContentDTO) voidclose()关闭组件voidreport(LogContentDTO logContentDTO) voidstart()启动组件
-
Constructor Details
-
AbstractLogReport
public AbstractLogReport()
-
-
Method Details
-
report
-
buildLogTaskDTO
-
start
public void start()Description copied from interface:Lifecycle启动组件 -
close
public void close()Description copied from interface:Lifecycle关闭组件 -
afterPropertiesSet
- Specified by:
afterPropertiesSetin interfaceorg.springframework.beans.factory.InitializingBean- Throws:
Exception
-