Interface EventSender

All Known Implementing Classes:
DirectEventSender, EnqueuingEventSender

public interface EventSender
Interface representing an asynchronous event sender.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    accept(Callable<Optional<org.alfresco.repo.event.v1.model.RepoEvent<?>>> eventProducer)
    Accepts a callback function creating an event and sends this event to specified destination.
  • Method Details

    • accept

      void accept(Callable<Optional<org.alfresco.repo.event.v1.model.RepoEvent<?>>> eventProducer)
      Accepts a callback function creating an event and sends this event to specified destination.
      Parameters:
      eventProducer - - callback function that creates an event