Package io.github.resilience4j.core
Class EventProcessor<T>
java.lang.Object
io.github.resilience4j.core.EventProcessor<T>
- All Implemented Interfaces:
EventPublisher<T>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanvoidonEvent(EventConsumer<T> onEventConsumer) <E extends T>
booleanprocessEvent(E event) voidregisterConsumer(String className, EventConsumer<? extends T> eventConsumer)
-
Constructor Details
-
EventProcessor
public EventProcessor()
-
-
Method Details
-
hasConsumers
public boolean hasConsumers() -
registerConsumer
-
processEvent
-
onEvent
- Specified by:
onEventin interfaceEventPublisher<T>
-