Interface MultiEventPublisher

All Superinterfaces:
com.atlassian.event.api.EventListenerRegistrar, com.atlassian.event.api.EventPublisher
All Known Implementing Classes:
DelegatingMultiEventPublisher, TransactionAwareEventPublisher

public interface MultiEventPublisher extends com.atlassian.event.api.EventPublisher
An extension to EventPublisher that allows special handling for sets of many events sent at the same time.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Publish events that will be consumed by their respective registered listeners.

    Methods inherited from interface com.atlassian.event.api.EventListenerRegistrar

    register, unregister, unregisterAll

    Methods inherited from interface com.atlassian.event.api.EventPublisher

    publish
  • Method Details

    • publishAll

      void publishAll(Collection<Object> events)
      Publish events that will be consumed by their respective registered listeners. This should be equivalent with calling EventPublisher.publish(Object) for every event in the collection.