Class FixedThreadPoolBulkhead.BulkheadEventProcessor
java.lang.Object
io.github.resilience4j.core.EventProcessor<BulkheadEvent>
io.github.resilience4j.bulkhead.internal.FixedThreadPoolBulkhead.BulkheadEventProcessor
- All Implemented Interfaces:
ThreadPoolBulkhead.ThreadPoolBulkheadEventPublisher,io.github.resilience4j.core.EventConsumer<BulkheadEvent>,io.github.resilience4j.core.EventPublisher<BulkheadEvent>
- Enclosing class:
FixedThreadPoolBulkhead
private class FixedThreadPoolBulkhead.BulkheadEventProcessor
extends io.github.resilience4j.core.EventProcessor<BulkheadEvent>
implements ThreadPoolBulkhead.ThreadPoolBulkheadEventPublisher, io.github.resilience4j.core.EventConsumer<BulkheadEvent>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidconsumeEvent(BulkheadEvent event) onCallFinished(io.github.resilience4j.core.EventConsumer<BulkheadOnCallFinishedEvent> onCallFinishedEventConsumer) onCallPermitted(io.github.resilience4j.core.EventConsumer<BulkheadOnCallPermittedEvent> onCallPermittedEventConsumer) onCallRejected(io.github.resilience4j.core.EventConsumer<BulkheadOnCallRejectedEvent> onCallRejectedEventConsumer) Methods inherited from class io.github.resilience4j.core.EventProcessor
hasConsumers, onEvent, processEvent, registerConsumerMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.github.resilience4j.core.EventPublisher
onEvent
-
Constructor Details
-
BulkheadEventProcessor
private BulkheadEventProcessor()
-
-
Method Details
-
onCallPermitted
public ThreadPoolBulkhead.ThreadPoolBulkheadEventPublisher onCallPermitted(io.github.resilience4j.core.EventConsumer<BulkheadOnCallPermittedEvent> onCallPermittedEventConsumer) - Specified by:
onCallPermittedin interfaceThreadPoolBulkhead.ThreadPoolBulkheadEventPublisher
-
onCallRejected
public ThreadPoolBulkhead.ThreadPoolBulkheadEventPublisher onCallRejected(io.github.resilience4j.core.EventConsumer<BulkheadOnCallRejectedEvent> onCallRejectedEventConsumer) - Specified by:
onCallRejectedin interfaceThreadPoolBulkhead.ThreadPoolBulkheadEventPublisher
-
onCallFinished
public ThreadPoolBulkhead.ThreadPoolBulkheadEventPublisher onCallFinished(io.github.resilience4j.core.EventConsumer<BulkheadOnCallFinishedEvent> onCallFinishedEventConsumer) - Specified by:
onCallFinishedin interfaceThreadPoolBulkhead.ThreadPoolBulkheadEventPublisher
-
consumeEvent
- Specified by:
consumeEventin interfaceio.github.resilience4j.core.EventConsumer<BulkheadEvent>
-