Class DomainEventApplication
java.lang.Object
com.iohao.net.extension.domain.DomainEventApplication
Boots and manages the lifecycle of domain-event disruptor pipelines.
- Author:
- 渔民小镇
- date:
- 2021-12-26
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidstartup(DomainEventSetting setting) Initializes disruptors for all registered handlers and starts them once.voidstop()Stops all running disruptors managed by the domain-event extension.
-
Constructor Details
-
DomainEventApplication
public DomainEventApplication()
-
-
Method Details
-
startup
Initializes disruptors for all registered handlers and starts them once.- Parameters:
setting- domain-event configuration
-
stop
public void stop()Stops all running disruptors managed by the domain-event extension.
-