Class DhtStatsAlert

All Implemented Interfaces:
Alert<dht_stats_alert>

public final class DhtStatsAlert extends AbstractAlert<dht_stats_alert>
Contains current DHT state. Posted in response to SessionHandle.postDhtStats().
  • Method Details

    • activeRequests

      public ArrayList<DhtLookup> activeRequests()
      An array (list) with the currently running DHT lookups.
      Returns:
      the list of active requests
    • routingTable

      public ArrayList<DhtRoutingBucket> routingTable()
      Contains information about every bucket in the DHT routing table.
      Returns:
      the routing table