Package com.google.cloud.hadoop.fs.gcs
Enum GhfsStatisticTypeEnum
- java.lang.Object
-
- java.lang.Enum<GhfsStatisticTypeEnum>
-
- com.google.cloud.hadoop.fs.gcs.GhfsStatisticTypeEnum
-
- All Implemented Interfaces:
Serializable
,Comparable<GhfsStatisticTypeEnum>
public enum GhfsStatisticTypeEnum extends Enum<GhfsStatisticTypeEnum>
Enum of statistic types.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description TYPE_COUNTER
Counter.TYPE_DURATION
Duration.TYPE_GAUGE
Gauge.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static GhfsStatisticTypeEnum
valueOf(String name)
Returns the enum constant of this type with the specified name.static GhfsStatisticTypeEnum[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TYPE_COUNTER
public static final GhfsStatisticTypeEnum TYPE_COUNTER
Counter. Counts the number of occurrences of each operation
-
TYPE_DURATION
public static final GhfsStatisticTypeEnum TYPE_DURATION
Duration. Duration for the execution of opertaion
-
TYPE_GAUGE
public static final GhfsStatisticTypeEnum TYPE_GAUGE
Gauge.
-
-
Method Detail
-
values
public static GhfsStatisticTypeEnum[] 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 (GhfsStatisticTypeEnum c : GhfsStatisticTypeEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static GhfsStatisticTypeEnum 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
-
-