@Singleton public class EventStorageHandlerEngine extends Object
| Constructor and Description |
|---|
EventStorageHandlerEngine(Map<String,EventStorageHandler.Factory> storageHandlerFactories) |
| Modifier and Type | Method and Description |
|---|---|
void |
handleEvents(List<EventWithContext> eventsWithContext,
com.google.common.collect.ImmutableList<EventStorageHandler.Config> handlerConfigs)
Run storage handlers.
|
@Inject public EventStorageHandlerEngine(Map<String,EventStorageHandler.Factory> storageHandlerFactories)
public void handleEvents(List<EventWithContext> eventsWithContext, com.google.common.collect.ImmutableList<EventStorageHandler.Config> handlerConfigs) throws EventStorageHandlerException
eventsWithContext - events to run the handlers onhandlerConfigs - event definitionEventStorageHandlerExceptionCopyright © 2012–2021 Graylog, Inc.. All rights reserved.