javax.batch.runtime
Enum Metric.MetricType
java.lang.Object
java.lang.Enum<Metric.MetricType>
javax.batch.runtime.Metric.MetricType
- All Implemented Interfaces:
- Serializable, Comparable<Metric.MetricType>
- Enclosing interface:
- Metric
public static enum Metric.MetricType
- extends Enum<Metric.MetricType>
READ_COUNT
public static final Metric.MetricType READ_COUNT
WRITE_COUNT
public static final Metric.MetricType WRITE_COUNT
COMMIT_COUNT
public static final Metric.MetricType COMMIT_COUNT
ROLLBACK_COUNT
public static final Metric.MetricType ROLLBACK_COUNT
READ_SKIP_COUNT
public static final Metric.MetricType READ_SKIP_COUNT
PROCESS_SKIP_COUNT
public static final Metric.MetricType PROCESS_SKIP_COUNT
FILTER_COUNT
public static final Metric.MetricType FILTER_COUNT
WRITE_SKIP_COUNT
public static final Metric.MetricType WRITE_SKIP_COUNT
values
public static Metric.MetricType[] 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 (Metric.MetricType c : Metric.MetricType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static Metric.MetricType 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 name
NullPointerException - if the argument is null
© Copyright IBM Corp. 2013
Licensed under the Apache License, Version 2.0