Package com.google.cloud.hadoop.gcsio
Enum GoogleCloudStorageStatistics
- java.lang.Object
-
- java.lang.Enum<GoogleCloudStorageStatistics>
-
- com.google.cloud.hadoop.gcsio.GoogleCloudStorageStatistics
-
- All Implemented Interfaces:
Serializable,Comparable<GoogleCloudStorageStatistics>
public enum GoogleCloudStorageStatistics extends Enum<GoogleCloudStorageStatistics>
Statistics which are collected in GCS Connector.
-
-
Enum Constant Summary
-
Field Summary
Fields Modifier and Type Field Description static com.google.common.collect.ImmutableSet<GoogleCloudStorageStatistics>VALUES
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GoogleCloudStorageStatisticsfromSymbol(String symbol)Get a statistic from a symbol.StringgetDescription()The description of the StatisticStringgetSymbol()the name of the statisticStatisticTypeEnumgetType()What type is this statistic?StringtoString()The string value is simply the symbol.static GoogleCloudStorageStatisticsvalueOf(String name)Returns the enum constant of this type with the specified name.static GoogleCloudStorageStatistics[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
EXCEPTION_COUNT
public static final GoogleCloudStorageStatistics EXCEPTION_COUNT
-
WRITE_CHECKSUM_FAILURE_COUNT
public static final GoogleCloudStorageStatistics WRITE_CHECKSUM_FAILURE_COUNT
-
GCS_API_REQUEST_COUNT
public static final GoogleCloudStorageStatistics GCS_API_REQUEST_COUNT
Status Code Counters for JSON Path
-
GCS_API_CLIENT_SIDE_ERROR_COUNT
public static final GoogleCloudStorageStatistics GCS_API_CLIENT_SIDE_ERROR_COUNT
-
GCS_API_SERVER_SIDE_ERROR_COUNT
public static final GoogleCloudStorageStatistics GCS_API_SERVER_SIDE_ERROR_COUNT
-
GCS_API_CLIENT_RATE_LIMIT_COUNT
public static final GoogleCloudStorageStatistics GCS_API_CLIENT_RATE_LIMIT_COUNT
-
GCS_API_CLIENT_BAD_REQUEST_COUNT
public static final GoogleCloudStorageStatistics GCS_API_CLIENT_BAD_REQUEST_COUNT
-
GCS_API_CLIENT_UNAUTHORIZED_RESPONSE_COUNT
public static final GoogleCloudStorageStatistics GCS_API_CLIENT_UNAUTHORIZED_RESPONSE_COUNT
-
GCS_API_CLIENT_NOT_FOUND_RESPONSE_COUNT
public static final GoogleCloudStorageStatistics GCS_API_CLIENT_NOT_FOUND_RESPONSE_COUNT
-
GCS_API_CLIENT_REQUEST_TIMEOUT_COUNT
public static final GoogleCloudStorageStatistics GCS_API_CLIENT_REQUEST_TIMEOUT_COUNT
-
GCS_API_CLIENT_GONE_RESPONSE_COUNT
public static final GoogleCloudStorageStatistics GCS_API_CLIENT_GONE_RESPONSE_COUNT
-
GCS_API_CLIENT_PRECONDITION_FAILED_RESPONSE_COUNT
public static final GoogleCloudStorageStatistics GCS_API_CLIENT_PRECONDITION_FAILED_RESPONSE_COUNT
-
GCS_API_CLIENT_REQUESTED_RANGE_NOT_SATISFIABLE_COUNT
public static final GoogleCloudStorageStatistics GCS_API_CLIENT_REQUESTED_RANGE_NOT_SATISFIABLE_COUNT
-
GCS_API_SERVER_INTERNAL_ERROR_COUNT
public static final GoogleCloudStorageStatistics GCS_API_SERVER_INTERNAL_ERROR_COUNT
-
GCS_API_SERVER_BAD_GATEWAY_COUNT
public static final GoogleCloudStorageStatistics GCS_API_SERVER_BAD_GATEWAY_COUNT
-
GCS_API_SERVER_SERVICE_UNAVAILABLE_COUNT
public static final GoogleCloudStorageStatistics GCS_API_SERVER_SERVICE_UNAVAILABLE_COUNT
-
GCS_API_SERVER_TIMEOUT_COUNT
public static final GoogleCloudStorageStatistics GCS_API_SERVER_TIMEOUT_COUNT
-
GCS_BACKOFF_TIME
public static final GoogleCloudStorageStatistics GCS_BACKOFF_TIME
-
GCS_BACKOFF_COUNT
public static final GoogleCloudStorageStatistics GCS_BACKOFF_COUNT
-
GCS_EXCEPTION_COUNT
public static final GoogleCloudStorageStatistics GCS_EXCEPTION_COUNT
-
GCS_API_TIME
public static final GoogleCloudStorageStatistics GCS_API_TIME
-
GCS_METADATA_REQUEST
public static final GoogleCloudStorageStatistics GCS_METADATA_REQUEST
-
GCS_GET_MEDIA_REQUEST
public static final GoogleCloudStorageStatistics GCS_GET_MEDIA_REQUEST
-
GCS_LIST_DIR_REQUEST
public static final GoogleCloudStorageStatistics GCS_LIST_DIR_REQUEST
-
GCS_LIST_FILE_REQUEST
public static final GoogleCloudStorageStatistics GCS_LIST_FILE_REQUEST
-
GS_FILESYSTEM_CREATE
public static final GoogleCloudStorageStatistics GS_FILESYSTEM_CREATE
-
GCS_GET_OTHER_REQUEST
public static final GoogleCloudStorageStatistics GCS_GET_OTHER_REQUEST
-
GS_FILESYSTEM_INITIALIZE
public static final GoogleCloudStorageStatistics GS_FILESYSTEM_INITIALIZE
-
-
Field Detail
-
VALUES
public static final com.google.common.collect.ImmutableSet<GoogleCloudStorageStatistics> VALUES
-
-
Method Detail
-
values
public static GoogleCloudStorageStatistics[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (GoogleCloudStorageStatistics c : GoogleCloudStorageStatistics.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static GoogleCloudStorageStatistics valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException- if the argument is null
-
getSymbol
public String getSymbol()
the name of the statistic
-
fromSymbol
public static GoogleCloudStorageStatistics fromSymbol(String symbol)
Get a statistic from a symbol.- Parameters:
symbol- statistic to look up- Returns:
- the value or null.
-
getDescription
public String getDescription()
The description of the Statistic
-
toString
public String toString()
The string value is simply the symbol. This makes this operation very low cost.- Overrides:
toStringin classEnum<GoogleCloudStorageStatistics>- Returns:
- the symbol of this statistic.
-
getType
public StatisticTypeEnum getType()
What type is this statistic?- Returns:
- the type.
-
-