Interface EventService

All Known Implementing Classes:
SimpleEventService

public interface EventService
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    postAsync(String eventName, Attributes attributes, long timeout, TimeUnit timeoutTimeUnit, Object... args)
    Registers a new String and set of consumers to handle the results.
    void
    Starts the EventService and makes it available to begin accepting tasks.
    void
    Stops the EventService and makes it unavailable to accept tasks.
  • Method Details

    • start

      void start()
      Starts the EventService and makes it available to begin accepting tasks.
    • stop

      void stop()
      Stops the EventService and makes it unavailable to accept tasks. Andy pending tasks are completed with an exception and all references cleared.
    • postAsync

      void postAsync(String eventName, Attributes attributes, long timeout, TimeUnit timeoutTimeUnit, Object... args)
      Registers a new String and set of consumers to handle the results.
      Parameters:
      eventName - the event name
      attributes - the Attributes.