public static class MovedBlocks.Locations<L> extends Object
| Modifier and Type | Field and Description | 
|---|---|
| protected List<L> | locationsThe locations of the replicas of the block. | 
| Constructor and Description | 
|---|
| Locations(org.apache.hadoop.hdfs.protocol.Block block) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | addLocation(L loc)add a location | 
| void | clearLocations()clean block locations | 
| org.apache.hadoop.hdfs.protocol.Block | getBlock() | 
| List<L> | getLocations() | 
| long | getNumBytes() | 
| boolean | isLocatedOn(L loc) | 
| String | toString() | 
public void clearLocations()
public void addLocation(L loc)
public boolean isLocatedOn(L loc)
public org.apache.hadoop.hdfs.protocol.Block getBlock()
public long getNumBytes()
Copyright © 2008–2023 Apache Software Foundation. All rights reserved.