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 booleanequals(Object o)intgetConnectionsNumber()The number of peers that the node is connected to;= 0if the node is not connected to the network, or it's the single node network.ConsensusStatusgetConsensusStatus()Consensus status shows/indicates whether it is possible to achieve the consensus between validators in the current network state.inthashCode()StringtoString()
-
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;= 0if the node is not connected to the network, or it's the single node network. -
equals
-
hashCode
public int hashCode() -
toString
-