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

Package org.apache.hadoop.hdfs.server.common

# Interface Storage.StorageDirType

All Known Implementing Classes:
  `NNStorage.NameNodeDirType`

Enclosing class:
  Storage

@Private public static interface Storage.StorageDirType
An interface to denote storage directory type Implementations can define a type for storage directory by implementing this interface.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `Storage.StorageDirType`
  `getStorageDirType()`
  `boolean`
  `isOfType(Storage.StorageDirType type)`

- ## Method Details

  - ### getStorageDirType

    Storage.StorageDirType getStorageDirType()

  - ### isOfType

    boolean isOfType(Storage.StorageDirType type)