Interface EventBusSetting


public interface EventBusSetting
Configuration interface for the EventBus subsystem, providing factory methods for creating EventBus instances and accessing the EventBus region.
Since:
25.1
Author:
渔民小镇
date:
2025-10-10
  • Method Details

    • defaultSetting

      void defaultSetting(EventBus eventBus)
      Apply default settings to the given EventBus instance.
      Parameters:
      eventBus - the EventBus instance to configure
    • ofEventBus

      EventBus ofEventBus(int id)
      Create a new EventBus instance with the given ID.
      Parameters:
      id - the unique ID for the new EventBus
      Returns:
      a new EventBus instance
    • getEventBusRegion

      EventBusRegion getEventBusRegion()
      Get the EventBus region that manages all EventBus instances.
      Returns:
      the EventBus region
    • getCheckedEventBusRunner

      Runner getCheckedEventBusRunner()
      Get the runner that validates EventBus configuration during startup.
      Returns:
      the checked EventBus runner, or null if not applicable