Class SearchState
java.lang.Object
net.i2p.router.networkdb.kademlia.SearchState
Data related to a particular search
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionvoidabort()voidaddPending(Collection<Hash> pending) voidaddPending(Hash peer) voidcomplete()booleanlonghow long did it take to get the reply, or -1 if we don't knowgetClosestAttempted(int max) longlongbooleanvoidremovePending(Hash peer) we didn't actually want to add this peer as part of the pending list...longreplyFound(Hash peer) how long did it take to get the reply, or -1 if we dont knowvoidreplyTimeout(Hash peer) toString()booleanwasAttempted(Hash peer)  
- 
Constructor Details
- 
SearchState
 
 - 
 - 
Method Details
- 
getTarget
 - 
getPending
 - 
getAttempted
 - 
getClosestAttempted
 - 
wasAttempted
 - 
getSuccessful
 - 
getFailed
 - 
completed
public boolean completed() - 
complete
public void complete() - 
isAborted
public boolean isAborted()- Since:
 - 0.9.16
 
 - 
abort
public void abort()- Since:
 - 0.9.16
 
 - 
getWhenStarted
public long getWhenStarted() - 
getWhenCompleted
public long getWhenCompleted() - 
addPending
 - 
addPending
 - 
removePending
we didn't actually want to add this peer as part of the pending list... - 
dataFound
how long did it take to get the reply, or -1 if we don't know - 
replyFound
how long did it take to get the reply, or -1 if we dont know - 
getRepliedPeers
 - 
replyTimeout
 - 
toString
 
 -