Uses of Enum Class
org.apache.hadoop.fs.StorageType
Packages that use StorageType
Package
Description
Implementations of
AbstractFileSystem for hdfs
over rpc and hdfs over web.This package provides the administrative APIs for HDFS.
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements.
-
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) 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) -
Uses of StorageType in org.apache.hadoop.hdfs.client
Methods in org.apache.hadoop.hdfs.client with parameters of type StorageTypeModifier and TypeMethodDescriptionvoidHdfsAdmin.clearQuotaByStorageType(Path src, StorageType type) Clear the space quota by storage type for a directory.voidHdfsAdmin.setQuotaByStorageType(Path src, StorageType type, long quota) Set the quota by storage type for a directory. -
Uses of StorageType in org.apache.hadoop.hdfs.protocol
Fields in org.apache.hadoop.hdfs.protocol declared as StorageTypeConstructors in org.apache.hadoop.hdfs.protocol with parameters of type StorageTypeModifierConstructorDescriptionQuotaByStorageTypeExceededException(long quota, long count, StorageType type)