org.apache.hadoop.fs
Interface VolumeId

All Superinterfaces:
Comparable<VolumeId>
All Known Implementing Classes:
HdfsVolumeId

@InterfaceStability.Unstable
@InterfaceAudience.Public
public interface VolumeId
extends Comparable<VolumeId>

Opaque interface that identifies a disk location. Subclasses should implement Comparable and override both equals and hashCode.


Method Summary
 int compareTo(VolumeId arg0)
           
 boolean equals(Object obj)
           
 int hashCode()
           
 

Method Detail

compareTo

int compareTo(VolumeId arg0)
Specified by:
compareTo in interface Comparable<VolumeId>

hashCode

int hashCode()
Overrides:
hashCode in class Object

equals

boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2014 Apache Software Foundation. All Rights Reserved.