Package net.osslabz.lnd.dto
Class LnrpcNodeMetricsResponse
java.lang.Object
net.osslabz.lnd.dto.LnrpcNodeMetricsResponse
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2023-06-07T12:03:34.958542131Z[Etc/UTC]")
public class LnrpcNodeMetricsResponse
extends Object
LnrpcNodeMetricsResponse
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbetweennessCentrality(Map<String, LnrpcFloatMetric> betweennessCentrality) booleanBetweenness centrality is the sum of the ratio of shortest paths that pass through the node for each pair of nodes in the graph (not counting paths starting or ending at this node).inthashCode()putBetweennessCentralityItem(String key, LnrpcFloatMetric betweennessCentralityItem) voidsetBetweennessCentrality(Map<String, LnrpcFloatMetric> betweennessCentrality) toString()
-
Field Details
-
SERIALIZED_NAME_BETWEENNESS_CENTRALITY
- See Also:
-
-
Constructor Details
-
LnrpcNodeMetricsResponse
public LnrpcNodeMetricsResponse()
-
-
Method Details
-
betweennessCentrality
public LnrpcNodeMetricsResponse betweennessCentrality(Map<String, LnrpcFloatMetric> betweennessCentrality) -
putBetweennessCentralityItem
public LnrpcNodeMetricsResponse putBetweennessCentralityItem(String key, LnrpcFloatMetric betweennessCentralityItem) -
getBetweennessCentrality
Betweenness centrality is the sum of the ratio of shortest paths that pass through the node for each pair of nodes in the graph (not counting paths starting or ending at this node). Map of node pubkey to betweenness centrality of the node. Normalized values are in the [0,1] closed interval.- Returns:
- betweennessCentrality
-
setBetweennessCentrality
-
equals
-
hashCode
public int hashCode() -
toString
-