Class FsDatasetSpi.FsVolumeReferences

java.lang.Object
org.apache.hadoop.hdfs.server.datanode.fsdataset.FsDatasetSpi.FsVolumeReferences
All Implemented Interfaces:
Closeable, AutoCloseable, Iterable<FsVolumeSpi>
Enclosing interface:
FsDatasetSpi<V extends FsVolumeSpi>

public static class FsDatasetSpi.FsVolumeReferences extends Object implements Iterable<FsVolumeSpi>, Closeable
It behaviors as an unmodifiable list of FsVolume. Individual FsVolume can be obtained by using get(int). This also holds the reference counts for these volumes. It releases all the reference counts in close().