private static class UserMetricsBuilder.UserMetricsImpl extends Object implements UserMetrics
UserMetrics.ClientMetrics
Modifier and Type | Field and Description |
---|---|
private Map<String,UserMetrics.ClientMetrics> |
clientMetricsMap |
private byte[] |
name |
Constructor and Description |
---|
UserMetricsImpl(byte[] name,
Map<String,UserMetrics.ClientMetrics> clientMetricsMap) |
Modifier and Type | Method and Description |
---|---|
Map<String,UserMetrics.ClientMetrics> |
getClientMetrics() |
long |
getFilteredReadRequests() |
long |
getReadRequestCount() |
byte[] |
getUserName() |
long |
getWriteRequestCount() |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getNameAsString, getRequestCount
private final byte[] name
private final Map<String,UserMetrics.ClientMetrics> clientMetricsMap
UserMetricsImpl(byte[] name, Map<String,UserMetrics.ClientMetrics> clientMetricsMap)
public byte[] getUserName()
getUserName
in interface UserMetrics
public long getReadRequestCount()
getReadRequestCount
in interface UserMetrics
public long getWriteRequestCount()
getWriteRequestCount
in interface UserMetrics
public Map<String,UserMetrics.ClientMetrics> getClientMetrics()
getClientMetrics
in interface UserMetrics
public long getFilteredReadRequests()
getFilteredReadRequests
in interface UserMetrics
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.