Interface IEventService


public interface IEventService
An interface to provide access to IEventPublisher and IEventSubscriber.
  • Method Details

    • asScala

      csw.event.api.scaladsl.EventService asScala()
      Returns the Scala API for this instance of event service
      Returns:
      (undocumented)
    • defaultPublisher

      IEventPublisher defaultPublisher()
      A default instance of IEventPublisher. This could be shared across under normal operating conditions to share the underlying connection to event server.
      Returns:
      (undocumented)
    • defaultSubscriber

      IEventSubscriber defaultSubscriber()
      A default instance of IEventSubscriber. This could be shared across under normal operating conditions to share the underlying connection to event server.
      Returns:
      (undocumented)
    • makeNewPublisher

      IEventPublisher makeNewPublisher()
      Create a new instance of IEventPublisher with a separate underlying connection than the default instance. The new instance will be required when the location of Event Service is updated or in case the performance requirements of a publish operation demands a separate connection to be used.

      Returns:
      new instance of IEventPublisher
    • makeNewSubscriber

      IEventSubscriber makeNewSubscriber()
      Create a new instance of IEventPublisher with a separate underlying connection than the default instance. The new instance will be required when the location of Event Service is updated or in case the performance requirements of a subscribe operation demands a separate connection to be used.

      Returns:
      new instance of IEventSubscriber