@Private
@Evolving
public class DatanodeVolumeInfo
extends java.lang.Object
| Constructor | Description |
|---|---|
DatanodeVolumeInfo(java.lang.String path,
long usedSpace,
long freeSpace,
long reservedSpace,
long reservedSpaceForReplicas,
long numBlocks,
org.apache.hadoop.fs.StorageType type) |
| Modifier and Type | Method | Description |
|---|---|---|
java.lang.String |
getDatanodeVolumeReport() |
get volume report.
|
long |
getFreeSpace() |
get free space.
|
long |
getNumBlocks() |
get number of blocks.
|
java.lang.String |
getPath() |
get volume path.
|
long |
getReservedSpace() |
get reserved space.
|
long |
getReservedSpaceForReplicas() |
get reserved space for replicas.
|
org.apache.hadoop.fs.StorageType |
getStorageType() |
get storage type.
|
long |
getUsedSpace() |
get used space.
|
public DatanodeVolumeInfo(java.lang.String path,
long usedSpace,
long freeSpace,
long reservedSpace,
long reservedSpaceForReplicas,
long numBlocks,
org.apache.hadoop.fs.StorageType type)
public long getUsedSpace()
public long getFreeSpace()
public long getReservedSpace()
public long getReservedSpaceForReplicas()
public long getNumBlocks()
public org.apache.hadoop.fs.StorageType getStorageType()
public java.lang.String getPath()
public java.lang.String getDatanodeVolumeReport()
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.