public interface EventConsumerRegistry<T>
| Modifier and Type | Method and Description |
|---|---|
CircularEventConsumer<T> |
createEventConsumer(java.lang.String id,
int bufferSize)
Creates a new EventConsumer and stores the instance in the registry.
|
io.vavr.collection.Seq<CircularEventConsumer<T>> |
getAllEventConsumer()
Returns all EventConsumer instances.
|
CircularEventConsumer<T> |
getEventConsumer(java.lang.String id)
Returns the EventConsumer to which the specified id is mapped.
|
CircularEventConsumer<T> createEventConsumer(java.lang.String id, int bufferSize)
id - the id of the EventConsumerbufferSize - the size of the EventConsumer@Nullable CircularEventConsumer<T> getEventConsumer(java.lang.String id)
id - the id of the EventConsumerio.vavr.collection.Seq<CircularEventConsumer<T>> getAllEventConsumer()