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
-
Method Details
-
publish
Publish the event to the EventPublisher after the analytics-client plugin has startedThis 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
AbstractHeliumAnalyticsEventspecially: they have data only available after startup added to them.- Parameters:
event- the event to publish
-