Class Heartbeat

java.lang.Object
org.apache.nifi.cluster.protocol.Heartbeat

public class Heartbeat extends Object
A heartbeat for indicating the status of a node to the cluster.
  • Field Details

    • nodeIdentifier

      private final NodeIdentifier nodeIdentifier
    • connectionStatus

      private final NodeConnectionStatus connectionStatus
    • createdTimestamp

      private final long createdTimestamp
    • payload

      private final byte[] payload
  • Constructor Details

  • Method Details

    • getNodeIdentifier

      public NodeIdentifier getNodeIdentifier()
    • getPayload

      public byte[] getPayload()
    • getConnectionStatus

      public NodeConnectionStatus getConnectionStatus()
    • getCreatedTimestamp

      public long getCreatedTimestamp()