public class StorageReport extends Object
Modifier and Type | Field and Description |
---|---|
static StorageReport[] |
EMPTY_ARRAY |
Constructor and Description |
---|
StorageReport(DatanodeStorage storage,
boolean failed,
long capacity,
long dfsUsed,
long remaining,
long bpUsed,
long nonDfsUsed) |
Modifier and Type | Method and Description |
---|---|
long |
getBlockPoolUsed() |
long |
getCapacity() |
long |
getDfsUsed() |
long |
getNonDfsUsed() |
long |
getRemaining() |
DatanodeStorage |
getStorage() |
boolean |
isFailed() |
public static final StorageReport[] EMPTY_ARRAY
public StorageReport(DatanodeStorage storage, boolean failed, long capacity, long dfsUsed, long remaining, long bpUsed, long nonDfsUsed)
public DatanodeStorage getStorage()
public boolean isFailed()
public long getCapacity()
public long getDfsUsed()
public long getNonDfsUsed()
public long getRemaining()
public long getBlockPoolUsed()
Copyright © 2018 Apache Software Foundation. All Rights Reserved.