Package csw.event.api.javadsl
Interface IEventService
public interface IEventService
An interface to provide access to
IEventPublisher
and IEventSubscriber
.-
Method Summary
Modifier and TypeMethodDescriptioncsw.event.api.scaladsl.EventService
asScala()
Returns the Scala API for this instance of event serviceA default instance ofIEventPublisher
.A default instance ofIEventSubscriber
.Create a new instance ofIEventPublisher
with a separate underlying connection than the default instance.Create a new instance ofIEventPublisher
with a separate underlying connection than the default instance.
-
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 ofIEventPublisher
. 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 ofIEventSubscriber
. 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 ofIEventPublisher
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 ofIEventPublisher
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
-