* DecayingBloomFilter: Whups fix NPE from previous checkin if log=INFO

This commit is contained in:
zzz
2011-10-28 01:23:28 +00:00
parent 7f1c5b2e1a
commit b7ba422983

View File

@@ -88,6 +88,12 @@ public class DecayingHashSet extends DecayingBloomFilter {
"1000000 * Duplicates/Size", "Router", new long[] { 10 * Math.max(60*1000, durationMs) });
}
/** unsynchronized but only used for logging elsewhere */
@Override
public int getInsertedCount() {
return _current.size() + _previous.size();
}
/** pointless, only used for logging elsewhere */
@Override
public double getFalsePositiveRate() {