Package org.apache.hadoop.hbase
Class UserMetricsBuilder.UserMetricsImpl
java.lang.Object
org.apache.hadoop.hbase.UserMetricsBuilder.UserMetricsImpl
- All Implemented Interfaces:
UserMetrics
- Enclosing class:
- UserMetricsBuilder
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.hadoop.hbase.UserMetrics
UserMetrics.ClientMetrics -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Map<String,UserMetrics.ClientMetrics> private final byte[] -
Constructor Summary
ConstructorsConstructorDescriptionUserMetricsImpl(byte[] name, Map<String, UserMetrics.ClientMetrics> clientMetricsMap) -
Method Summary
Modifier and TypeMethodDescriptionReturns metrics per client(hostname)longReturns count of filtered read requests for a userlongReturns the number of read requests made by userbyte[]Returns the user namelongReturns the number of write requests made by usertoString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.hadoop.hbase.UserMetrics
getNameAsString, getRequestCount
-
Field Details
-
name
-
clientMetricsMap
-
-
Constructor Details
-
UserMetricsImpl
UserMetricsImpl(byte[] name, Map<String, UserMetrics.ClientMetrics> clientMetricsMap)
-
-
Method Details
-
getUserName
Description copied from interface:UserMetricsReturns the user name- Specified by:
getUserNamein interfaceUserMetrics
-
getReadRequestCount
Description copied from interface:UserMetricsReturns the number of read requests made by user- Specified by:
getReadRequestCountin interfaceUserMetrics
-
getWriteRequestCount
Description copied from interface:UserMetricsReturns the number of write requests made by user- Specified by:
getWriteRequestCountin interfaceUserMetrics
-
getClientMetrics
Description copied from interface:UserMetricsReturns metrics per client(hostname)- Specified by:
getClientMetricsin interfaceUserMetrics
-
getFilteredReadRequests
Description copied from interface:UserMetricsReturns count of filtered read requests for a user- Specified by:
getFilteredReadRequestsin interfaceUserMetrics
-
toString
-