类 SpringEventHandler
java.lang.Object
com.codingapi.springboot.framework.handler.SpringEventHandler
- 所有已实现的接口:
EventListener,org.springframework.context.ApplicationListener<DomainEvent>
public class SpringEventHandler
extends Object
implements org.springframework.context.ApplicationListener<DomainEvent>
handler订阅的Spring触发器,在异步的情况下可配置多线程。
-
字段概要
字段 -
构造器概要
构造器 -
方法概要
-
字段详细资料
-
THREAD_KEY
异步多线程的KEY 可通过 System.setProperty(THREAD_KEY,"20") 调整线程数- 另请参阅:
-
-
构造器详细资料
-
SpringEventHandler
-
-
方法详细资料
-
onApplicationEvent
- 指定者:
onApplicationEvent在接口中org.springframework.context.ApplicationListener<DomainEvent>
-