public static class UserMetricsBuilder.ClientMetricsImpl extends Object implements UserMetrics.ClientMetrics
Modifier and Type | Field and Description |
---|---|
private long |
filteredReadRequestsCount |
private String |
hostName |
private long |
readRequestCount |
private long |
writeRequestCount |
Constructor and Description |
---|
ClientMetricsImpl(String hostName,
long readRequest,
long writeRequest,
long filteredReadRequestsCount) |
Modifier and Type | Method and Description |
---|---|
long |
getFilteredReadRequestsCount() |
String |
getHostName() |
long |
getReadRequestsCount() |
long |
getWriteRequestsCount() |
private final long filteredReadRequestsCount
private final long readRequestCount
private final long writeRequestCount
public ClientMetricsImpl(String hostName, long readRequest, long writeRequest, long filteredReadRequestsCount)
public String getHostName()
getHostName
in interface UserMetrics.ClientMetrics
public long getReadRequestsCount()
getReadRequestsCount
in interface UserMetrics.ClientMetrics
public long getWriteRequestsCount()
getWriteRequestsCount
in interface UserMetrics.ClientMetrics
public long getFilteredReadRequestsCount()
getFilteredReadRequestsCount
in interface UserMetrics.ClientMetrics
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.