NetDB: Query connected peers for their RI directly

Negative cache router hash when expiring RI
Log tweaks
This commit is contained in:
zzz committed 2022-09-03 11:59:39 -04:00
1 parent 00774590b0
commit 49299f3f28
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
*/