mirror of
https://github.com/i2p/i2p.i2p.git
synced 2026-10-22 21:53:43 +00:00
NetDB: Query connected peers for their RI directly
Negative cache router hash when expiring RI Log tweaks
This commit is contained in:
8 files changed
+188
-18
No files matched your search
@@ -34,6 +34,14 @@ public class ObjectCounter<K> implements Serializable {
|
||||
return 1;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set a high value
|
||||
* @since 0.9.56
|
||||
*/
|
||||
public void max(K h) {
|
||||
map.put(h, new AtomicInteger(Integer.MAX_VALUE / 2));
|
||||
}
|
||||
|
||||
/**
|
||||
* @return current count
|
||||
*/
|
||||
|
||||
Reference in new issue
Block a user