org.gcube.datatransformation.datatransformationlibrary.statistics
Enum StatisticsManager.MetricType
java.lang.Object
java.lang.Enum<StatisticsManager.MetricType>
org.gcube.datatransformation.datatransformationlibrary.statistics.StatisticsManager.MetricType
- All Implemented Interfaces:
- Serializable, Comparable<StatisticsManager.MetricType>
- Enclosing class:
- StatisticsManager
public static enum StatisticsManager.MetricType
- extends Enum<StatisticsManager.MetricType>
- Author:
- Dimitris Katris, NKUA
There are four distinguishable types of metrics.
- DTS - Type of metric for internal operations of DTS
- SOURCE - Type of metric used by Data Sources
- TRANSFORMER - Type of metric used by Programs
- SINK - Type of metric used by Data Sinks
DTS
public static final StatisticsManager.MetricType DTS
- The types of metrics.
SOURCE
public static final StatisticsManager.MetricType SOURCE
TRANSFORMER
public static final StatisticsManager.MetricType TRANSFORMER
SINK
public static final StatisticsManager.MetricType SINK
values
public static StatisticsManager.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 (StatisticsManager.MetricType c : StatisticsManager.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 StatisticsManager.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 © 2013. All Rights Reserved.