Class ImmutableVolumeSet

java.lang.Object
org.apache.hadoop.ozone.container.common.volume.ImmutableVolumeSet
All Implemented Interfaces:
VolumeSet, org.apache.hadoop.ozone.lock.ReadWriteLockable

public final class ImmutableVolumeSet extends Object implements VolumeSet
Fixed list of volumes.
  • Constructor Details

  • Method Details

    • getVolumesList

      public List<StorageVolume> getVolumesList()
      Specified by:
      getVolumesList in interface VolumeSet
    • checkAllVolumes

      public void checkAllVolumes(StorageVolumeChecker checker) throws IOException
      Specified by:
      checkAllVolumes in interface VolumeSet
      Throws:
      IOException
    • readLock

      public void readLock()
      Specified by:
      readLock in interface org.apache.hadoop.ozone.lock.ReadWriteLockable
    • readUnlock

      public void readUnlock()
      Specified by:
      readUnlock in interface org.apache.hadoop.ozone.lock.ReadWriteLockable
    • writeLock

      public void writeLock()
      Specified by:
      writeLock in interface org.apache.hadoop.ozone.lock.ReadWriteLockable
    • writeUnlock

      public void writeUnlock()
      Specified by:
      writeUnlock in interface org.apache.hadoop.ozone.lock.ReadWriteLockable