Class DefaultEventConsumerRegistry<T>

java.lang.Object
io.github.resilience4j.consumer.DefaultEventConsumerRegistry<T>
All Implemented Interfaces:
EventConsumerRegistry<T>

public class DefaultEventConsumerRegistry<T>
extends java.lang.Object
implements EventConsumerRegistry<T>
  • Constructor Summary

    Constructors 
    Constructor Description
    DefaultEventConsumerRegistry()
    The constructor with default circuitBreaker properties.
  • Method Summary

    Modifier and Type Method 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.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait