| Package | Description |
|---|---|
| io.hypersistence.optimizer.core.config | |
| io.hypersistence.optimizer.core.event | |
| io.hypersistence.optimizer.core.event.persistence |
| Modifier and Type | Method and Description |
|---|---|
EventHandler |
Config.getEventHandler()
Get the current
EventHandler. |
| Modifier and Type | Method and Description |
|---|---|
List<EventHandler> |
Config.getEventHandlers()
Get the
EventHandler list. |
| Modifier and Type | Method and Description |
|---|---|
Config |
Config.addEventHandler(EventHandler eventHandler)
Add the provided
EventHandler. |
Config |
Config.setEventHandler(EventHandler eventHandler)
Set the current
EventHandler. |
| Modifier and Type | Class and Description |
|---|---|
class |
ChainEventHandler
The
ChainEventHandler implements the EventHandler
interface so that it propagates the incoming event to multiple
EventHandler objects that were previously registered. |
class |
ListEventHandler
The
ListEventHandler implements the EventHandler
interface so that it collects all the incoming Event objects. |
class |
LogEventHandler
The
LogEventHandler implements the EventHandler
interface so that it logs all the incoming Event objects. |
| Modifier and Type | Field and Description |
|---|---|
static EventHandler |
LogEventHandler.INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
protected abstract EventHandler |
AbstractEventSender.getEventHandler()
Get the associated
EventHandler. |
| Modifier and Type | Method and Description |
|---|---|
List<EventHandler> |
ChainEventHandler.getHandlers()
Get the
List of EventHandler objects. |
| Constructor and Description |
|---|
ChainEventHandler(List<EventHandler> handlers)
Constructor taking a predefined
List of EventHandler objects. |
| Modifier and Type | Class and Description |
|---|---|
class |
PersistentEventHandler
The
PersistentEventHandler is the EventHandler registered on the Config
when the event persistence feature is enabled. |
| Modifier and Type | Method and Description |
|---|---|
EventHandler |
EventPersistenceContext.getEventHandler()
Get the
EventHandler that persists runtime events. |
Copyright © 2026. All rights reserved.