mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
add testcase
This commit is contained in:
@@ -77,6 +77,10 @@ public class Histogram {
|
||||
return ranges;
|
||||
}
|
||||
|
||||
public long getValue(int index) {
|
||||
return rangeCounters[index].get();
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
StringBuilder buf = new StringBuilder();
|
||||
buf.append('[');
|
||||
|
||||
Reference in New Issue
Block a user