public final class AMQPReader
extends java.lang.Object
| Constructor and Description |
|---|
AMQPReader(java.lang.String uri,
java.lang.String queueName,
int heartbeat,
java.util.function.Consumer<IMonitoringRecord> elementReceivedCallback)
Creates a new logic module for an AMQP reader.
|
| Modifier and Type | Method and Description |
|---|---|
void |
deliverRecord(IMonitoringRecord monitoringRecord) |
void |
init() |
boolean |
read() |
void |
terminate()
Terminates the reader logic by returning from read method.
|
public AMQPReader(java.lang.String uri,
java.lang.String queueName,
int heartbeat,
java.util.function.Consumer<IMonitoringRecord> elementReceivedCallback)
uri - The name of the configuration property for the server URI.queueName - The name of the configuration property for the AMQP queue name.heartbeat - The name of the configuration property for the heartbeat timeout.elementReceivedCallback - The actual teetime stage which uses this class.public void init()
public boolean read()
public void terminate()
public void deliverRecord(IMonitoringRecord monitoringRecord)
Copyright 2021 Kieker Project, http://kieker-monitoring.net