public class HeartbeatModule extends AbstractXmlSinkModule<MinionIdentityDTO,MinionIdentityDTO>
Modifier and Type | Field and Description |
---|---|
static String |
MODULE_ID |
HEARTBEAT_MODULE_ID
Constructor and Description |
---|
HeartbeatModule() |
Modifier and Type | Method and Description |
---|---|
AggregationPolicy<MinionIdentityDTO,MinionIdentityDTO,MinionIdentityDTO> |
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, marshalSingleMessage, unmarshal, unmarshalSingleMessage
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
getRoutingKey
public static final String MODULE_ID
public String getId()
SinkModule
public int getNumConsumerThreads()
SinkModule
public AggregationPolicy<MinionIdentityDTO,MinionIdentityDTO,MinionIdentityDTO> 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.Copyright © 2021. All rights reserved.