Uses of Enum Class
org.apache.hadoop.fs.StorageType
Packages that use StorageType
-
Uses of StorageType in org.apache.hadoop.fs
Fields in org.apache.hadoop.fs declared as StorageTypeModifier and TypeFieldDescriptionstatic final StorageTypeStorageType.DEFAULTstatic final StorageType[]StorageType.EMPTY_ARRAYMethods in org.apache.hadoop.fs that return StorageTypeModifier and TypeMethodDescriptionBlockStoragePolicySpi.getCreationFallbacks()Get the fallback storage types for creating new block replicas.BlockStoragePolicySpi.getReplicationFallbacks()Get the fallback storage types for replicating existing block replicas.BlockLocation.getStorageTypes()Get the storage type of each replica of the block.BlockStoragePolicySpi.getStorageTypes()Return the preferred storage types associated with this policy.static StorageTypeStorageType.parseStorageType(int i) static StorageTypeStorageType.parseStorageType(String s) static StorageTypeReturns the enum constant of this class with the specified name.static StorageType[]StorageType.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in org.apache.hadoop.fs that return types with arguments of type StorageTypeModifier and TypeMethodDescriptionstatic List<StorageType>StorageType.asList()static List<StorageType>StorageType.getMovableTypes()static List<StorageType>StorageType.getTypesSupportingQuota()Methods in org.apache.hadoop.fs with parameters of type StorageTypeModifier and TypeMethodDescriptionstatic booleanStorageType.allowSameDiskTiering(StorageType storageType) static StringStorageType.getConf(Configuration conf, StorageType t, String name) Get the configured values for different StorageType.longQuotaUsage.getTypeConsumed(StorageType type) Return storage type consumed.longQuotaUsage.getTypeQuota(StorageType type) Return storage type quota.voidFileSystem.setQuotaByStorageType(Path src, StorageType type, long quota) Set per storage type quota for the givenPath.voidBlockLocation.setStorageTypes(StorageType[] storageTypes) ContentSummary.Builder.typeConsumed(StorageType type, long consumed) QuotaUsage.Builder.typeConsumed(StorageType type, long consumed) ContentSummary.Builder.typeQuota(StorageType type, long quota) QuotaUsage.Builder.typeQuota(StorageType type, long quota) Method parameters in org.apache.hadoop.fs with type arguments of type StorageTypeModifier and TypeMethodDescriptionstatic StringQuotaUsage.getStorageTypeHeader(List<StorageType> storageTypes) return the header of with the StorageTypes.protected StringQuotaUsage.getTypesQuotaUsage(boolean hOption, List<StorageType> types) ContentSummary.toString(boolean qOption, boolean hOption, boolean tOption, boolean xOption, List<StorageType> types) Return the string representation of the object in the output format.ContentSummary.toString(boolean qOption, boolean hOption, boolean tOption, List<StorageType> types) Return the string representation of the object in the output format.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 StorageTypeModifierConstructorDescriptionBlockLocation(String[] names, String[] hosts, String[] cachedHosts, String[] topologyPaths, String[] storageIds, StorageType[] storageTypes, long offset, long length, boolean corrupt)