Interface CommonEventProducer


public interface CommonEventProducer
Publishes domain events into the configured disruptor pipeline.
Since:
25.1
Author:
渔民小镇
date:
2025-10-20
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onData(Object domainSource, Class<?> topic, boolean eventSource)
    Publishes a domain object into the disruptor for the given topic.
  • Method Details

    • onData

      void onData(Object domainSource, Class<?> topic, boolean eventSource)
      Publishes a domain object into the disruptor for the given topic.
      Parameters:
      domainSource - domain object or wrapped event source
      topic - topic class
      eventSource - true if domainSource implements DomainEventSource