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 Details

    • SERIALIZED_NAME_BETWEENNESS_CENTRALITY

      public static final String 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

      @Nullable public Map<String,LnrpcFloatMetric> 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

      public void setBetweennessCentrality(Map<String,LnrpcFloatMetric> betweennessCentrality)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object