@InterfaceAudience.Private public class ReplicationLoad extends Object
Modifier and Type | Field and Description |
---|---|
static ReplicationLoad |
EMPTY_REPLICATIONLOAD |
private org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ReplicationLoadSink |
replicationLoadSink |
private List<org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ReplicationLoadSource> |
replicationLoadSourceList |
private MetricsSink |
sinkMetrics |
private List<MetricsSource> |
sourceMetricsList |
Constructor and Description |
---|
ReplicationLoad()
default constructor
|
Modifier and Type | Method and Description |
---|---|
void |
buildReplicationLoad(List<MetricsSource> srMetricsList,
MetricsSink skMetrics)
buildReplicationLoad
|
org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ReplicationLoadSink |
getReplicationLoadSink() |
List<org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ReplicationLoadSource> |
getReplicationLoadSourceList() |
String |
sinkToString()
sinkToString
|
String |
sourceToString()
sourceToString
|
String |
toString() |
public static final ReplicationLoad EMPTY_REPLICATIONLOAD
private List<MetricsSource> sourceMetricsList
private MetricsSink sinkMetrics
private List<org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ReplicationLoadSource> replicationLoadSourceList
private org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ReplicationLoadSink replicationLoadSink
public void buildReplicationLoad(List<MetricsSource> srMetricsList, MetricsSink skMetrics)
srMetricsList
- skMetrics
- public String sourceToString()
public String sinkToString()
public org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ReplicationLoadSink getReplicationLoadSink()
public List<org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ReplicationLoadSource> getReplicationLoadSourceList()
public String toString()
toString
in class Object
Object.toString()
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.