@InterfaceStability.Unstable @InterfaceAudience.Public public class HdfsVolumeId extends Object implements VolumeId
VolumeId
. Can be
used to differentiate between the data directories on a single datanode. This
identifier is only unique on a per-datanode basis.
Note that invalid IDs are represented by VolumeId.INVALID_VOLUME_ID
.INVALID_VOLUME_ID
Constructor and Description |
---|
HdfsVolumeId(byte[] id) |
public final boolean isValid()
VolumeId
public int compareTo(VolumeId arg0)
compareTo
in interface Comparable<VolumeId>
compareTo
in interface VolumeId
public int hashCode()
public boolean equals(Object obj)
Copyright © 2013 Apache Software Foundation. All rights reserved.