Package net.solarnetwork.service
Enum Class DatumFilterStats
- All Implemented Interfaces:
Serializable,Comparable<DatumFilterStats>,Constable,StatCounter.Stat
Transformer statistics.
- Since:
- 2.0
- Version:
- 1.0
- Author:
- matt
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionCount the number of errors encountered.Count of datum removed by a transform service.Count of datum unchanged by a transform service.Count of datum passed into a transform service.Count of datum modified by a transform service.Milliseconds spent processing all input datum that were not counted as ignored.Milliseconds spent processing all input datum. -
Method Summary
Modifier and TypeMethodDescriptionGet a description of the statistic.intgetIndex()Get the statistic index.static DatumFilterStatsReturns the enum constant of this class with the specified name.static DatumFilterStats[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
Input
Count of datum passed into a transform service. -
Ignored
Count of datum unchanged by a transform service. -
Filtered
Count of datum removed by a transform service. -
Modified
Count of datum modified by a transform service. -
Errors
Count the number of errors encountered. -
ProcessingTimeTotal
Milliseconds spent processing all input datum. -
ProcessingTimeNotIgnoredTotal
Milliseconds spent processing all input datum that were not counted as ignored.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-
getIndex
public int getIndex()Description copied from interface:StatCounter.StatGet the statistic index.- Specified by:
getIndexin interfaceStatCounter.Stat- Returns:
- the statistic index
-
getDescription
Description copied from interface:StatCounter.StatGet a description of the statistic.- Specified by:
getDescriptionin interfaceStatCounter.Stat- Returns:
- the description
-