Uses of Interface org.apache.hadoop.hdfs.server.common.Storage.StorageDirType (Apache Hadoop HDFS 3.5.0 API)
Description: use: package: org.apache.hadoop.hdfs.server.common, class: Storage, interface: StorageDirType

# Uses of Interface
org.apache.hadoop.hdfs.server.common.Storage.StorageDirType

Packages that use Storage.StorageDirType
Package
Description
org.apache.hadoop.hdfs.server.common
org.apache.hadoop.hdfs.server.namenode

- ## Uses of Storage.StorageDirType in org.apache.hadoop.hdfs.server.common

  Methods in org.apache.hadoop.hdfs.server.common that return Storage.StorageDirType
  Modifier and Type
  Method
  Description
  `Storage.StorageDirType`
  Storage.StorageDirectory.`getStorageDirType()`
  Get storage directory type
  `Storage.StorageDirType`
  Storage.StorageDirType.`getStorageDirType()`
  Methods in org.apache.hadoop.hdfs.server.common with parameters of type Storage.StorageDirType
  Modifier and Type
  Method
  Description
  `Iterable<Storage.StorageDirectory>`
  Storage.`dirIterable(Storage.StorageDirType dirType)`
  `Iterator<Storage.StorageDirectory>`
  Storage.`dirIterator(Storage.StorageDirType dirType)`
  Return iterator based on Storage Directory Type This iterator selects entries in storageDirs of type dirType and returns them via the Iterator
  `Iterator<Storage.StorageDirectory>`
  Storage.`dirIterator(Storage.StorageDirType dirType, boolean includeShared)`
  `List<File>`
  Storage.`getFiles(Storage.StorageDirType dirType, String fileName)`
  `boolean`
  Storage.StorageDirType.`isOfType(Storage.StorageDirType type)`
  Constructors in org.apache.hadoop.hdfs.server.common with parameters of type Storage.StorageDirType
  Modifier
  Constructor
  Description
  ``
  `StorageDirectory(File dir, Storage.StorageDirType dirType)`
  ``
  `StorageDirectory(File dir, Storage.StorageDirType dirType, boolean isShared)`
  Constructor
  ``
  `StorageDirectory(File dir, Storage.StorageDirType dirType, boolean isShared, org.apache.hadoop.fs.permission.FsPermission permission)`
  ``
  `StorageDirectory(String bpid, Storage.StorageDirType dirType, boolean isShared, StorageLocation location)`
  Constructor
  ``
  `StorageDirectory(Storage.StorageDirType dirType, boolean isShared, StorageLocation location)`
  Constructor

- ## Uses of Storage.StorageDirType in org.apache.hadoop.hdfs.server.namenode

  Classes in org.apache.hadoop.hdfs.server.namenode that implement Storage.StorageDirType
  Modifier and Type
  Class
  Description
  `static enum`
  `NNStorage.NameNodeDirType`
  Implementation of StorageDirType specific to namenode storage A Storage directory could be of type IMAGE which stores only fsimage, or of type EDITS which stores edits or of type IMAGE_AND_EDITS which stores both fsimage and edits.
  Methods in org.apache.hadoop.hdfs.server.namenode that return Storage.StorageDirType
  Modifier and Type
  Method
  Description
  `Storage.StorageDirType`
  NNStorage.NameNodeDirType.`getStorageDirType()`
  Methods in org.apache.hadoop.hdfs.server.namenode with parameters of type Storage.StorageDirType
  Modifier and Type
  Method
  Description
  `boolean`
  NNStorage.NameNodeDirType.`isOfType(Storage.StorageDirType type)`