Class SlowPeerReports
java.lang.Object
org.apache.hadoop.hdfs.server.protocol.SlowPeerReports
A class that allows a DataNode to communicate information about all
its peer DataNodes that appear to be slow.
The wire representation of this structure is a list of
SlowPeerReportProto messages.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SlowPeerReportsAn object representing a SlowPeerReports with no entries. -
Method Summary
Modifier and TypeMethodDescriptionstatic SlowPeerReportscreate(Map<String, OutlierMetrics> slowPeers) booleanReturn true if the two objects represent the same set slow peer entries.inthashCode()boolean
-
Field Details
-
EMPTY_REPORT
An object representing a SlowPeerReports with no entries. Should be used instead of null or creating new objects when there are no slow peers to report.
-
-
Method Details