Package csw.event.api.javadsl
Interface IEventService
-
public interface IEventServiceAn interface to provide access toIEventPublisherandIEventSubscriber.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description csw.event.api.scaladsl.EventServiceasScala()Returns the Scala API for this instance of event serviceIEventPublisherdefaultPublisher()A default instance ofIEventPublisher.IEventSubscriberdefaultSubscriber()A default instance ofIEventSubscriber.IEventPublishermakeNewPublisher()Create a new instance ofIEventPublisherwith a separate underlying connection than the default instance.IEventSubscribermakeNewSubscriber()Create a new instance ofIEventPublisherwith a separate underlying connection than the default instance.
-
-
-
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 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 ofIEventPublisherwith 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 ofIEventPublisherwith 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
-
-