Class DomainEventApplication

java.lang.Object
com.iohao.net.extension.domain.DomainEventApplication

public class DomainEventApplication extends Object
Boots and manages the lifecycle of domain-event disruptor pipelines.
Author:
渔民小镇
date:
2021-12-26
  • Constructor Details

    • DomainEventApplication

      public DomainEventApplication()
  • Method Details

    • startup

      public void startup(DomainEventSetting setting)
      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.