public class TrapSinkModule extends AbstractXmlSinkModule<TrapInformationWrapper,TrapLogDTO>
| Constructor and Description |
|---|
TrapSinkModule(TrapdConfig trapdConfig,
OnmsDistPoller distPoller) |
| Modifier and Type | Method and Description |
|---|---|
AggregationPolicy<TrapInformationWrapper,TrapLogDTO> |
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.
|
equals, hashCode, marshal, unmarshalpublic TrapSinkModule(TrapdConfig trapdConfig, OnmsDistPoller distPoller)
public String getId()
SinkModulepublic int getNumConsumerThreads()
SinkModulepublic AggregationPolicy<TrapInformationWrapper,TrapLogDTO> 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.Copyright © 2020. All rights reserved.