Package org.apache.hadoop.hbase
Interface UserMetrics
- All Known Implementing Classes:
UserMetricsBuilder.UserMetricsImpl
Encapsulates per-user load metrics.
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns metrics per client(hostname)long
Returns count of filtered read requests for a userdefault String
Returns the user name as a stringlong
Returns the number of read requests made by userdefault long
Returns the number of write requests and read requests and coprocessor service requests made by the userbyte[]
Returns the user namelong
Returns the number of write requests made by user
-
Method Details
-
getUserName
byte[] getUserName()Returns the user name -
getReadRequestCount
long getReadRequestCount()Returns the number of read requests made by user -
getWriteRequestCount
long getWriteRequestCount()Returns the number of write requests made by user -
getRequestCount
Returns the number of write requests and read requests and coprocessor service requests made by the user -
getNameAsString
Returns the user name as a string -
getClientMetrics
Returns metrics per client(hostname) -
getFilteredReadRequests
long getFilteredReadRequests()Returns count of filtered read requests for a user
-