public class TestHDFSBlocksDistribution.MockHDFSBlocksDistribution extends HDFSBlocksDistribution
HDFSBlocksDistribution.HostAndWeight
Constructor and Description |
---|
MockHDFSBlocksDistribution() |
Modifier and Type | Method and Description |
---|---|
Map<String,HDFSBlocksDistribution.HostAndWeight> |
getHostAndWeights() |
add, addHostsAndBlockWeight, getBlockLocalityIndex, getTopHosts, getTopHostsWithWeights, getUniqueBlocksTotalWeight, getWeight, toString
public Map<String,HDFSBlocksDistribution.HostAndWeight> getHostAndWeights()
getHostAndWeights
in class HDFSBlocksDistribution