public class CorruptReplicasMap extends Object
构造器和说明 |
---|
CorruptReplicasMap() |
public void addToCorruptReplicasMap(Block blk, DatanodeDescriptor dn)
blk
- Block to be added to CorruptReplicasMapdn
- DatanodeDescriptor which holds the corrupt replicapublic int numCorruptReplicas(Block blk)
public int size()
Copyright © 2009 The Apache Software Foundation