@InterfaceAudience.Private public class ReplicationLoad extends Object
Modifier and Type | Field and Description |
---|---|
static ReplicationLoad |
EMPTY_REPLICATIONLOAD |
Constructor and Description |
---|
ReplicationLoad()
default constructor
|
Modifier and Type | Method and Description |
---|---|
void |
buildReplicationLoad(List<MetricsSource> srMetricsList,
MetricsSink skMetrics)
buildReplicationLoad
|
ClusterStatusProtos.ReplicationLoadSink |
getReplicationLoadSink() |
List<ClusterStatusProtos.ReplicationLoadSource> |
getReplicationLoadSourceList() |
String |
sinkToString()
sinkToString
|
String |
sourceToString()
sourceToString
|
String |
toString() |
public static final ReplicationLoad EMPTY_REPLICATIONLOAD
public void buildReplicationLoad(List<MetricsSource> srMetricsList, MetricsSink skMetrics)
srMetricsList
- skMetrics
- public String sourceToString()
public String sinkToString()
public ClusterStatusProtos.ReplicationLoadSink getReplicationLoadSink()
public List<ClusterStatusProtos.ReplicationLoadSource> getReplicationLoadSourceList()
public String toString()
toString
in class Object
Object.toString()
Copyright © 2007-2016 The Apache Software Foundation. All Rights Reserved.