forked from I2P_Developers/i2p.i2p
NetDB: Query connected peers for their RI directly
Negative cache router hash when expiring RI Log tweaks
This commit is contained in:
@@ -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