Class ClusterPeerConnectionStatus

java.lang.Object
com.inductiveautomation.ignition.gateway.redundancy.types.ClusterPeerConnectionStatus
Direct Known Subclasses:
PeerStatus

public class ClusterPeerConnectionStatus extends Object
Provides information about the current state of the connection to the other node.
  • Constructor Details

    • ClusterPeerConnectionStatus

      public ClusterPeerConnectionStatus()
    • ClusterPeerConnectionStatus

      public ClusterPeerConnectionStatus(boolean isConnected, long lastSyncTimestamp, String peerId)
  • Method Details

    • isConnected

      public boolean isConnected()
    • getLastSyncTimestamp

      public long getLastSyncTimestamp()
      Returns a timestamp representing the time of the most recent data sync operation between the nodes. On the inactive node, this timestamp is updated after applying the results of a full or partial pull request. On the active node, this timestamp is updated when sending a response to a full or partial pull request. Returns -1 if no sync operation has even been attempted.
    • getPeerId

      public String getPeerId()
    • toString

      public String toString()
      Overrides:
      toString in class Object