Class RequestCountPerSecond
java.lang.Object
org.apache.hadoop.hbase.hbtop.mode.RequestCountPerSecond
Utility class for calculating request counts per second.
-
Field Summary
Modifier and TypeFieldDescriptionprivate long
private long
private long
private long
private long
private long
private long
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionlong
long
long
long
void
refresh
(long lastReportTimestamp, long readRequestCount, long filteredReadRequestCount, long writeRequestCount)
-
Field Details
-
previousLastReportTimestamp
-
previousReadRequestCount
-
previousFilteredReadRequestCount
-
previousWriteRequestCount
-
readRequestCountPerSecond
-
filteredReadRequestCountPerSecond
-
writeRequestCountPerSecond
-
-
Constructor Details
-
RequestCountPerSecond
public RequestCountPerSecond()
-
-
Method Details
-
refresh
public void refresh(long lastReportTimestamp, long readRequestCount, long filteredReadRequestCount, long writeRequestCount) -
getReadRequestCountPerSecond
-
getFilteredReadRequestCountPerSecond
-
getWriteRequestCountPerSecond
-
getRequestCountPerSecond
-