Class ClusterPeerConnectionStatus
java.lang.Object
com.inductiveautomation.ignition.gateway.redundancy.types.ClusterPeerConnectionStatus
- Direct Known Subclasses:
PeerStatus
Provides information about the current state of the connection to the other node.
-
Constructor Summary
ConstructorsConstructorDescriptionClusterPeerConnectionStatus
(boolean isConnected, long lastSyncTimestamp, String peerId) -
Method Summary
Modifier and TypeMethodDescriptionlong
Returns a timestamp representing the time of the most recent data sync operation between the nodes.boolean
toString()
-
Constructor Details
-
ClusterPeerConnectionStatus
public ClusterPeerConnectionStatus() -
ClusterPeerConnectionStatus
-
-
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
-
toString
-