@InterfaceAudience.Private public class ReplicationLoad extends Object
Modifier and Type | Field and Description |
---|---|
static ReplicationLoad |
EMPTY_REPLICATIONLOAD |
private org.apache.hadoop.hbase.shaded.protobuf.generated.ClusterStatusProtos.ReplicationLoadSink |
replicationLoadSink |
private List<org.apache.hadoop.hbase.shaded.protobuf.generated.ClusterStatusProtos.ReplicationLoadSource> |
replicationLoadSourceEntries |
private MetricsSink |
sinkMetrics |
Constructor and Description |
---|
ReplicationLoad()
default constructor
|
Modifier and Type | Method and Description |
---|---|
void |
buildReplicationLoad(List<ReplicationSourceInterface> sources,
MetricsSink skMetrics)
buildReplicationLoad
|
org.apache.hadoop.hbase.shaded.protobuf.generated.ClusterStatusProtos.ReplicationLoadSink |
getReplicationLoadSink() |
List<org.apache.hadoop.hbase.shaded.protobuf.generated.ClusterStatusProtos.ReplicationLoadSource> |
getReplicationLoadSourceEntries() |
String |
sinkToString()
sinkToString
|
String |
sourceToString()
sourceToString
|
String |
toString() |
public static final ReplicationLoad EMPTY_REPLICATIONLOAD
private MetricsSink sinkMetrics
private List<org.apache.hadoop.hbase.shaded.protobuf.generated.ClusterStatusProtos.ReplicationLoadSource> replicationLoadSourceEntries
private org.apache.hadoop.hbase.shaded.protobuf.generated.ClusterStatusProtos.ReplicationLoadSink replicationLoadSink
public ReplicationLoad()
public void buildReplicationLoad(List<ReplicationSourceInterface> sources, MetricsSink skMetrics)
sources
- List of ReplicationSource instances for which metrics should be reportedskMetrics
- public String sourceToString()
public String sinkToString()
public org.apache.hadoop.hbase.shaded.protobuf.generated.ClusterStatusProtos.ReplicationLoadSink getReplicationLoadSink()
public List<org.apache.hadoop.hbase.shaded.protobuf.generated.ClusterStatusProtos.ReplicationLoadSource> getReplicationLoadSourceEntries()
public String toString()
toString
in class Object
Object.toString()
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.