Package csw.event.client.models
Class EventStores$
- java.lang.Object
-
- csw.event.client.models.EventStores$
-
public class EventStores$ extends java.lang.Object
Event service supports two underlying implementations for event store 1.EventStores.RedisStore
: This is the default and recommended store. If you are creatingEventService
usingEventServiceFactory
, then you should shutdown redis client when it is no longer in use. 2.csw.event.client.models.EventStores.KafkaStore
: This can be used to create anEventService
which is backed by Kafka event store. You should not use this unless you have strong reasons to do so.
-
-
Field Summary
Fields Modifier and Type Field Description static EventStores$
MODULE$
Static reference to the singleton instance of this Scala object.
-
Constructor Summary
Constructors Constructor Description EventStores$()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EventStore
jKafkaStore()
EventStore
jRedisStore()
Java helpers to select appropriate event store.
-
-
-
Field Detail
-
MODULE$
public static final EventStores$ MODULE$
Static reference to the singleton instance of this Scala object.
-
-
Method Detail
-
jRedisStore
public EventStore jRedisStore()
Java helpers to select appropriate event store.- Returns:
- (undocumented)
-
jKafkaStore
public EventStore jKafkaStore()
-
-