Package org.infinispan.stats.percentiles
Enum PercentileStatistic
- java.lang.Object
-
- java.lang.Enum<PercentileStatistic>
-
- org.infinispan.stats.percentiles.PercentileStatistic
-
- All Implemented Interfaces:
Serializable
,Comparable<PercentileStatistic>
public enum PercentileStatistic extends Enum<PercentileStatistic>
Percentile statistic for the transaction execution time.- Since:
- 6.0
- Author:
- Pedro Ruivo
-
-
Enum Constant Summary
Enum Constants Enum Constant Description RO_LOCAL_EXECUTION
RO_REMOTE_EXECUTION
WR_LOCAL_EXECUTION
WR_REMOTE_EXECUTION
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PercentileStatistic
valueOf(String name)
Returns the enum constant of this type with the specified name.static PercentileStatistic[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
RO_LOCAL_EXECUTION
public static final PercentileStatistic RO_LOCAL_EXECUTION
-
WR_LOCAL_EXECUTION
public static final PercentileStatistic WR_LOCAL_EXECUTION
-
RO_REMOTE_EXECUTION
public static final PercentileStatistic RO_REMOTE_EXECUTION
-
WR_REMOTE_EXECUTION
public static final PercentileStatistic WR_REMOTE_EXECUTION
-
-
Method Detail
-
values
public static PercentileStatistic[] 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 (PercentileStatistic c : PercentileStatistic.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PercentileStatistic 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
-
-