public class SimpleEventBus extends AbstractEventBus
EventBus
that dispatches events in the thread the publishes them.Modifier and Type | Class and Description |
---|---|
static class |
SimpleEventBus.Builder
Builder class to instantiate a
SimpleEventBus . |
Modifier | Constructor and Description |
---|---|
protected |
SimpleEventBus(SimpleEventBus.Builder builder)
Instantiate a
SimpleEventBus based on the fields contained in the SimpleEventBus.Builder . |
Modifier and Type | Method and Description |
---|---|
static SimpleEventBus.Builder |
builder()
Instantiate a Builder to be able to create a
SimpleEventBus . |
afterCommit, commit, intercept, prepareCommit, publish, queuedMessages, registerDispatchInterceptor, subscribe
protected SimpleEventBus(SimpleEventBus.Builder builder)
SimpleEventBus
based on the fields contained in the SimpleEventBus.Builder
.builder
- the SimpleEventBus.Builder
used to instantiate a SimpleEventBus
instancepublic static SimpleEventBus.Builder builder()
SimpleEventBus
.
The MessageMonitor
is defaulted to a NoOpMessageMonitor
, the queueCapacity
to
Integer.MAX_VALUE
and the EventBusSpanFactory
to a DefaultEventBusSpanFactory
backed by a
NoOpSpanFactory
.
SimpleEventBus
Copyright © 2010–2024. All rights reserved.