public interface ByteCounter
Modifier and Type | Method and Description |
---|---|
String |
getMetrics() |
String |
getMetricsWindow(int minMsecsWindow)
Get the metrics if a given window of time has passed.
|
void |
resetAll()
Reset everything this object keeps track of
|
void resetAll()
String getMetrics()
String getMetricsWindow(int minMsecsWindow)
minMsecsWindow
- Msecs of the minimum windowCopyright © 2011-2020 The Apache Software Foundation. All Rights Reserved.