Package org.apache.hadoop.hbase
Interface UserMetrics
Encapsulates per-user load metrics.
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
org.apache.hadoop.hbase.UserMetrics.ClientMetrics
-
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
Map<String,org.apache.hadoop.hbase.UserMetrics.ClientMetrics> getClientMetrics()Returns metrics per client(hostname) -
getFilteredReadRequests
long getFilteredReadRequests()Returns count of filtered read requests for a user
-