Package org.apache.hadoop.hbase
Class UserMetricsBuilder
java.lang.Object
org.apache.hadoop.hbase.UserMetricsBuilder
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
private static class
-
Field Summary
Modifier and TypeFieldDescriptionprivate Map<String,
UserMetrics.ClientMetrics> private final byte[]
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddClientMetris
(UserMetrics.ClientMetrics clientMetrics) build()
static UserMetricsBuilder
newBuilder
(byte[] name) static UserMetrics
toUserMetrics
(org.apache.hadoop.hbase.shaded.protobuf.generated.ClusterStatusProtos.UserLoad userLoad) static org.apache.hadoop.hbase.shaded.protobuf.generated.ClusterStatusProtos.UserLoad
toUserMetrics
(UserMetrics userMetrics)
-
Field Details
-
name
-
clientMetricsMap
-
-
Constructor Details
-
UserMetricsBuilder
-
-
Method Details
-
toUserMetrics
public static UserMetrics toUserMetrics(org.apache.hadoop.hbase.shaded.protobuf.generated.ClusterStatusProtos.UserLoad userLoad) -
toUserMetrics
public static org.apache.hadoop.hbase.shaded.protobuf.generated.ClusterStatusProtos.UserLoad toUserMetrics(UserMetrics userMetrics) -
newBuilder
-
addClientMetris
-
build
-