Class DhtSampleInfohashesAlert
java.lang.Object
com.frostwire.jlibtorrent.alerts.AbstractAlert<dht_sample_infohashes_alert>
com.frostwire.jlibtorrent.alerts.DhtSampleInfohashesAlert
- All Implemented Interfaces:
Alert<dht_sample_infohashes_alert>
-
Field Summary
Fields inherited from class com.frostwire.jlibtorrent.alerts.AbstractAlert
alertFields inherited from interface com.frostwire.jlibtorrent.alerts.Alert
ALL_CATEGORIES, BLOCK_PROGRESS_NOTIFICATION, CONNECT_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, STATUS_NOTIFICATION, STORAGE_NOTIFICATION, TORRENT_LOG_NOTIFICATION, TRACKER_NOTIFICATION, UPLOAD_NOTIFICATION -
Method Summary
-
Method Details
-
endpoint
-
interval
public long interval() -
numInfohashes
public int numInfohashes()This value indicates how many infohash keys are currently in the node's storage.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.
- Returns:
- how many infohash keys are currently in the node's storage
-
numSamples
public int numSamples() -
samples
-
numNodes
-
nodes
This is the set of more DHT nodes returned by the request.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.
- Returns:
- the set of more DHT nodes returned by the request
-