NetDB: Query connected peers for their RI directly

Negative cache router hash when expiring RI
Log tweaks
This commit is contained in:
zzz
2022-09-03 11:59:39 -04:00
parent 00774590b0
commit 49299f3f28
8 changed files with 188 additions and 18 deletions

View File

@@ -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
*/