Interface IEventService

    • Method Detail

      • 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)
      • executionContext

        scala.concurrent.ExecutionContext executionContext()
      • 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