## Uses of Class
org.apache.hadoop.fs.StorageType

- Packages that use StorageType
  Package | Description
  --- | ---
  org.apache.hadoop.fs | An abstract file system API.

- - ### Uses of StorageType in org.apache.hadoop.fs

    Fields in org.apache.hadoop.fs declared as StorageType
    Modifier and Type | Field and Description
    --- | ---
    `static StorageType` | StorageType.`DEFAULT`
    `static StorageType[]` | StorageType.`EMPTY_ARRAY`

    Methods in org.apache.hadoop.fs that return StorageType
    Modifier and Type | Method and Description
    --- | ---
    `StorageType[]` | BlockStoragePolicySpi.`getCreationFallbacks()` Get the fallback storage types for creating new block replicas.
    `StorageType[]` | BlockStoragePolicySpi.`getReplicationFallbacks()` Get the fallback storage types for replicating existing block replicas.
    `StorageType[]` | BlockStoragePolicySpi.`getStorageTypes()` Return the preferred storage types associated with this policy.
    `StorageType[]` | BlockLocation.`getStorageTypes()` Get the storage type of each replica of the block.
    `static StorageType` | StorageType.`parseStorageType(int i)`
    `static StorageType` | StorageType.`parseStorageType(String s)`
    `static StorageType` | StorageType.`valueOf(String name)` Returns the enum constant of this type with the specified name.
    `static StorageType[]` | StorageType.`values()` Returns an array containing the constants of this enum type, in the order they are declared.

    Methods in org.apache.hadoop.fs that return types with arguments of type StorageType
    Modifier and Type | Method and Description
    --- | ---
    `static List<StorageType>` | StorageType.`asList()`
    `static List<StorageType>` | StorageType.`getMovableTypes()`
    `static List<StorageType>` | StorageType.`getTypesSupportingQuota()`

    Methods in org.apache.hadoop.fs with parameters of type StorageType
    Modifier and Type | Method and Description
    --- | ---
    `long` | QuotaUsage.`getTypeConsumed(StorageType type)` Return storage type consumed.
    `long` | QuotaUsage.`getTypeQuota(StorageType type)` Return storage type quota.
    `void` | FileSystem.`setQuotaByStorageType(Path src, StorageType type, long quota)` Set per storage type quota for the given `Path`.
    `void` | BlockLocation.`setStorageTypes(StorageType[] storageTypes)`
    `ContentSummary.Builder` | ContentSummary.Builder.`typeConsumed(StorageType type, long consumed)`
    `QuotaUsage.Builder` | QuotaUsage.Builder.`typeConsumed(StorageType type, long consumed)`
    `ContentSummary.Builder` | ContentSummary.Builder.`typeQuota(StorageType type, long quota)`
    `QuotaUsage.Builder` | QuotaUsage.Builder.`typeQuota(StorageType type, long quota)`

    Method parameters in org.apache.hadoop.fs with type arguments of type StorageType
    Modifier and Type | Method and Description
    --- | ---
    `static String` | QuotaUsage.`getStorageTypeHeader(List<StorageType> storageTypes)` return the header of with the StorageTypes.
    `protected String` | QuotaUsage.`getTypesQuotaUsage(boolean hOption, List<StorageType> types)`
    `String` | ContentSummary.`toString(boolean qOption, boolean hOption, boolean tOption, boolean xOption, List<StorageType> types)` Return the string representation of the object in the output format.
    `String` | ContentSummary.`toString(boolean qOption, boolean hOption, boolean tOption, List<StorageType> types)` Return the string representation of the object in the output format.
    `String` | QuotaUsage.`toString(boolean hOption, boolean tOption, List<StorageType> types)` Return the string representation of the object in the output format.

    Constructors in org.apache.hadoop.fs with parameters of type StorageType
    Constructor and Description
    `BlockLocation(String[] names, String[] hosts, String[] cachedHosts, String[] topologyPaths, String[] storageIds, StorageType[] storageTypes, long offset, long length, boolean corrupt)`

Copyright © 2008–2022 Apache Software Foundation. All rights reserved.