public class EventSinkModule extends AbstractXmlSinkModule<Event,Log>
| Modifier and Type | Field and Description |
|---|---|
static String |
MODULE_ID |
HEARTBEAT_MODULE_ID| Constructor and Description |
|---|
EventSinkModule(EventdConfig config) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
AggregationPolicy<Event,Log,Log> |
getAggregationPolicy()
Defines how messages should be combined, and when they
should be "released".
|
AsyncPolicy |
getAsyncPolicy()
Defines how messages should be asynchronously dispatched.
|
String |
getId()
Globally unique identifier.
|
int |
getNumConsumerThreads()
The number of threads used to consume from the broker.
|
int |
hashCode() |
Event |
unmarshalSingleMessage(byte[] bytes)
Modules with different aggregated message should override this method
|
marshal, marshalSingleMessage, unmarshalclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitgetRoutingKeypublic static final String MODULE_ID
public EventSinkModule(EventdConfig config)
public String getId()
SinkModulepublic int getNumConsumerThreads()
SinkModulepublic AggregationPolicy<Event,Log,Log> getAggregationPolicy()
SinkModulenull.AggregationPolicy used to combine messages, or null
if the messages should not be combined.public AsyncPolicy getAsyncPolicy()
SinkModuleAsyncPolicy used when asynchronously dispatching
messages for this module.public Event unmarshalSingleMessage(byte[] bytes)
AbstractXmlSinkModuleunmarshalSingleMessage in interface SinkModule<Event,Log>unmarshalSingleMessage in class AbstractXmlSinkModule<Event,Log>public int hashCode()
hashCode in class AbstractXmlSinkModule<Event,Log>public boolean equals(Object obj)
equals in class AbstractXmlSinkModule<Event,Log>Copyright © 2022. All rights reserved.