| Modifier and Type | Field and Description |
|---|---|
| private boolean | |
| pack-priv final ConcurrentMap | |
| private final ReentrantLock | |
| pack-priv final Set |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | |
| public void | onEvent(EventConsumer<T> onEventConsumer)
Implements io.
|
| public <E extends T> boolean | |
| public void |
| consumerRegistered | back to summary |
|---|---|
| private boolean consumerRegistered | |
| eventConsumerMap | back to summary |
|---|---|
| pack-priv final ConcurrentMap<String, Set<EventConsumer<T>>> eventConsumerMap | |
| lock | back to summary |
|---|---|
| private final ReentrantLock lock | |
| onEventConsumers | back to summary |
|---|---|
| pack-priv final Set<EventConsumer<T>> onEventConsumers | |
| EventProcessor | back to summary |
|---|---|
| public EventProcessor() | |
| hasConsumers | back to summary |
|---|---|
| public boolean hasConsumers() | |
| onEvent | back to summary |
|---|---|
| public void onEvent(EventConsumer<T> onEventConsumer) Implements io.
| |
| processEvent | back to summary |
|---|---|
| public <E extends T> boolean processEvent(E event) | |
| registerConsumer | back to summary |
|---|---|
public void registerConsumer(String className, EventConsumer<? extends T> eventConsumer)
| |