Interface UserMetrics


@Public @Evolving public interface UserMetrics
Encapsulates per-user load metrics.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static interface 
    org.apache.hadoop.hbase.UserMetrics.ClientMetrics
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Map<String,org.apache.hadoop.hbase.UserMetrics.ClientMetrics>
    Returns metrics per client(hostname)
    long
    Returns count of filtered read requests for a user
    default String
    Returns the user name as a string
    long
    Returns the number of read requests made by user
    default long
    Returns the number of write requests and read requests and coprocessor service requests made by the user
    byte[]
    Returns the user name
    long
    Returns the number of write requests made by user
  • Method Details

    • getUserName

      byte[] getUserName()
      Returns the user name
    • getReadRequestCount

      Returns the number of read requests made by user
    • getWriteRequestCount

      Returns the number of write requests made by user
    • getRequestCount

      default long 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

      Returns count of filtered read requests for a user