Package com.exonum.client.response
Class HealthCheckInfo
java.lang.Object
com.exonum.client.response.HealthCheckInfo
public final class HealthCheckInfo extends Object
-
Constructor Summary
Constructors Constructor Description HealthCheckInfo(ConsensusStatus consensusStatus, int connectionsNumber)
-
Method Summary
Modifier and Type Method Description boolean
equals(Object o)
int
getConnectionsNumber()
The number of peers that the node is connected to;= 0
if the node is not connected to the network, or it's the single node network.ConsensusStatus
getConsensusStatus()
Consensus status shows/indicates whether it is possible to achieve the consensus between validators in the current network state.int
hashCode()
String
toString()
-
Constructor Details
-
Method Details
-
getConsensusStatus
Consensus status shows/indicates whether it is possible to achieve the consensus between validators in the current network state. -
getConnectionsNumber
public int getConnectionsNumber()The number of peers that the node is connected to;= 0
if the node is not connected to the network, or it's the single node network. -
equals
-
hashCode
public int hashCode() -
toString
-