Package org.apache.hadoop.fs.azurebfs
Enum Class AbfsStatistic
- All Implemented Interfaces:
Serializable,Comparable<AbfsStatistic>,Constable
Statistic which are collected in Abfs.
Available as metrics in
AbfsCountersImpl.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Method Summary
Modifier and TypeMethodDescriptionGetter for http call for HTTP duration trackers.Getter for statistic description.Getter for statistic name.static StringgetStatNameFromHttpCall(String httpCall) Get the statistic name using the http call name.static AbfsStatisticReturns the enum constant of this class with the specified name.static AbfsStatistic[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
CALL_CREATE
-
CALL_OPEN
-
CALL_GET_FILE_STATUS
-
CALL_APPEND
-
CALL_CREATE_NON_RECURSIVE
-
CALL_DELETE
-
CALL_EXIST
-
CALL_GET_DELEGATION_TOKEN
-
CALL_LIST_STATUS
-
CALL_MKDIRS
-
CALL_RENAME
-
DIRECTORIES_CREATED
-
DIRECTORIES_DELETED
-
FILES_CREATED
-
FILES_DELETED
-
ERROR_IGNORED
-
CONNECTIONS_MADE
-
SEND_REQUESTS
-
GET_RESPONSES
-
BYTES_SENT
-
BYTES_RECEIVED
-
READ_THROTTLES
-
WRITE_THROTTLES
-
SERVER_UNAVAILABLE
-
HTTP_HEAD_REQUEST
-
HTTP_GET_REQUEST
-
HTTP_DELETE_REQUEST
-
HTTP_PUT_REQUEST
-
HTTP_PATCH_REQUEST
-
HTTP_POST_REQUEST
-
RENAME_RECOVERY
-
METADATA_INCOMPLETE_RENAME_FAILURES
-
RENAME_PATH_ATTEMPTS
-
ATOMIC_RENAME_PATH_ATTEMPTS
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
getStatName
Getter for statistic name.- Returns:
- Name of statistic.
-
getStatDescription
Getter for statistic description.- Returns:
- Description of statistic.
-
getHttpCall
Getter for http call for HTTP duration trackers.- Returns:
- http call of a statistic.
-
getStatNameFromHttpCall
Get the statistic name using the http call name.- Parameters:
httpCall- The HTTP call used to get the statistic name.- Returns:
- Statistic name.
-