Package org.apache.hadoop.hbase
Class UserMetricsBuilder.ClientMetricsImpl
java.lang.Object
org.apache.hadoop.hbase.UserMetricsBuilder.ClientMetricsImpl
- All Implemented Interfaces:
UserMetrics.ClientMetrics
- Enclosing class:
- UserMetricsBuilder
public static class UserMetricsBuilder.ClientMetricsImpl
extends Object
implements UserMetrics.ClientMetrics
-
Field Summary
Modifier and TypeFieldDescriptionprivate final long
private final String
private final long
private final long
-
Constructor Summary
ConstructorDescriptionClientMetricsImpl
(String hostName, long readRequest, long writeRequest, long filteredReadRequestsCount) -
Method Summary
Modifier and TypeMethodDescriptionlong
long
long
-
Field Details
-
filteredReadRequestsCount
-
hostName
-
readRequestCount
-
writeRequestCount
-
-
Constructor Details
-
ClientMetricsImpl
public ClientMetricsImpl(String hostName, long readRequest, long writeRequest, long filteredReadRequestsCount)
-
-
Method Details
-
getHostName
- Specified by:
getHostName
in interfaceUserMetrics.ClientMetrics
-
getReadRequestsCount
- Specified by:
getReadRequestsCount
in interfaceUserMetrics.ClientMetrics
-
getWriteRequestsCount
- Specified by:
getWriteRequestsCount
in interfaceUserMetrics.ClientMetrics
-
getFilteredReadRequestsCount
- Specified by:
getFilteredReadRequestsCount
in interfaceUserMetrics.ClientMetrics
-