public class TelemetrySinkModule extends AbstractXmlSinkModule<TelemetryMessage,TelemetryMessageLogDTO>
Constructor and Description |
---|
TelemetrySinkModule(ProtocolDefinition protocol) |
Modifier and Type | Method and Description |
---|---|
AggregationPolicy<TelemetryMessage,TelemetryMessageLogDTO> |
getAggregationPolicy()
Defines how messages should be combined, and when they
should be "released".
|
AsyncPolicy |
getAsyncPolicy()
Defines how messages should be asynchronously dispatched.
|
DistPollerDao |
getDistPollerDao() |
String |
getId()
Globally unique identifier.
|
int |
getNumConsumerThreads()
The number of threads used to consume from the broker.
|
void |
setDistPollerDao(DistPollerDao distPollerDao) |
equals, hashCode, marshal, unmarshal
public TelemetrySinkModule(ProtocolDefinition protocol)
public String getId()
SinkModule
public int getNumConsumerThreads()
SinkModule
public AggregationPolicy<TelemetryMessage,TelemetryMessageLogDTO> getAggregationPolicy()
SinkModule
null
.AggregationPolicy
used to combine messages, or null
if the messages should not be combined.public AsyncPolicy getAsyncPolicy()
SinkModule
AsyncPolicy
used when asynchronously dispatching
messages for this module.public DistPollerDao getDistPollerDao()
public void setDistPollerDao(DistPollerDao distPollerDao)
Copyright © 2018. All rights reserved.