Interface DeferredAnalyticsEventService

All Known Implementing Classes:
DeferredAnalyticsEventServiceImpl

@ParametersAreNonnullByDefault public interface DeferredAnalyticsEventService
This component defers sending the events until the analytics-client plugin has been started. This lets the analytics plugin see the events. There is an EventPublisher available in the BootstrapContainerRegistrar, but events published at this time are only seen by current subscribers.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    publish(Object event)
    Publish the event to the EventPublisher after the analytics-client plugin has started
  • Method Details

    • publish

      void publish(Object event)
      Publish the event to the EventPublisher after the analytics-client plugin has started

      This should only be used for events which need to be seen by plugins, as events may be stored and not sent immediately. This component handles subclasses of AbstractHeliumAnalyticsEvent specially: they have data only available after startup added to them.

      Parameters:
      event - the event to publish