public final class DhtSampleInfohashesAlert extends AbstractAlert<dht_sample_infohashes_alert>
alertALL_CATEGORIES, BLOCK_PROGRESS_NOTIFICATION, DEBUG_NOTIFICATION, DHT_LOG_NOTIFICATION, DHT_NOTIFICATION, DHT_OPERATION_NOTIFICATION, ERROR_NOTIFICATION, FILE_PROGRESS_NOTIFICATION, INCOMING_REQUEST_NOTIFICATION, IP_BLOCK_NOTIFICATION, PEER_LOG_NOTIFICATION, PEER_NOTIFICATION, PERFORMANCE_WARNING, PICKER_LOG_NOTIFICATION, PIECE_PROGRESS_NOTIFICATION, PORT_MAPPING_LOG_NOTIFICATION, PORT_MAPPING_NOTIFICATION, SESSION_LOG_NOTIFICATION, STATS_NOTIFICATION, STATUS_NOTIFICATION, STORAGE_NOTIFICATION, TORRENT_LOG_NOTIFICATION, TRACKER_NOTIFICATION, UPLOAD_NOTIFICATION| Modifier and Type | Method and Description |
|---|---|
UdpEndpoint |
endpoint() |
long |
interval() |
java.util.List<Pair<Sha1Hash,UdpEndpoint>> |
nodes()
This is the set of more DHT nodes returned by the request.
|
int |
numInfohashes()
This value indicates how many infohash keys are currently
in the node's storage.
|
int |
numNodes()
The total number of nodes returned by
nodes(). |
int |
numSamples() |
java.util.List<Sha1Hash> |
samples() |
public UdpEndpoint endpoint()
public long interval()
public int numInfohashes()
If the value is larger than the number of returned samples it indicates that the indexer may obtain additional samples after waiting out the interval.
public int numSamples()
public java.util.List<Sha1Hash> samples()
public int numNodes()
nodes().public java.util.List<Pair<Sha1Hash,UdpEndpoint>> nodes()
The information is included so that indexing nodes can perform a keyspace traversal with a single RPC per node by adjusting the target value for each RPC.