@InterfaceAudience.Private public class RequestCountPerSecond extends Object
Modifier and Type | Field and Description |
---|---|
private long |
filteredReadRequestCountPerSecond |
private long |
previousFilteredReadRequestCount |
private long |
previousLastReportTimestamp |
private long |
previousReadRequestCount |
private long |
previousWriteRequestCount |
private long |
readRequestCountPerSecond |
private long |
writeRequestCountPerSecond |
Constructor and Description |
---|
RequestCountPerSecond() |
Modifier and Type | Method and Description |
---|---|
long |
getFilteredReadRequestCountPerSecond() |
long |
getReadRequestCountPerSecond() |
long |
getRequestCountPerSecond() |
long |
getWriteRequestCountPerSecond() |
void |
refresh(long lastReportTimestamp,
long readRequestCount,
long filteredReadRequestCount,
long writeRequestCount) |
private long previousLastReportTimestamp
private long previousReadRequestCount
private long previousFilteredReadRequestCount
private long previousWriteRequestCount
private long readRequestCountPerSecond
private long filteredReadRequestCountPerSecond
private long writeRequestCountPerSecond
public RequestCountPerSecond()
public void refresh(long lastReportTimestamp, long readRequestCount, long filteredReadRequestCount, long writeRequestCount)
public long getReadRequestCountPerSecond()
public long getFilteredReadRequestCountPerSecond()
public long getWriteRequestCountPerSecond()
public long getRequestCountPerSecond()
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.