Class BoundedHistogram
java.lang.Object
org.apache.jackrabbit.oak.index.indexer.document.flatfile.pipelined.BoundedHistogram
A histogram that keeps a maximum number of buckets (entries). When the histogram is at the limit, it will reject
new entries but keep updating the count of the existing entries. Therefore, the counts for the entries in the
histogram are correct but if the histogram overflowed, it may be missing some entries.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
BoundedHistogram
-
-
Method Details
-
addEntry
-
isOverflowed
public boolean isOverflowed() -
getMap
-
prettyPrint
-
prettyPrintTopEntries
-