public interface HeartbeatMonitor
| Modifier and Type | Method and Description |
|---|---|
String |
getHeartbeatAddress() |
NodeHeartbeat |
getLatestHeartbeat(NodeIdentifier nodeId)
Returns the latest heartbeat that has been obtained for the node with
the given id
|
void |
purgeHeartbeats()
Clears all heartbeats that have been received
|
void |
removeHeartbeat(NodeIdentifier nodeId)
Removes the heartbeat for the given node from the monitor and the
remote location where heartbeats are sent
|
void |
start()
Begin monitoring for heartbeats
|
void |
stop()
Stop monitoring heartbeats
|
void start()
void stop()
NodeHeartbeat getLatestHeartbeat(NodeIdentifier nodeId)
nodeId - the id of the node whose heartbeat should be retrievednull if no heartbeat has been obtainedvoid removeHeartbeat(NodeIdentifier nodeId)
nodeId - the id of the node whose heartbeat should be removedvoid purgeHeartbeats()
String getHeartbeatAddress()
Copyright © 2023 Apache NiFi Project. All rights reserved.