Package net.solarnetwork.node.runtime
Enum Class DefaultDatumQueue.QueueStats
java.lang.Object
java.lang.Enum<DefaultDatumQueue.QueueStats>
net.solarnetwork.node.runtime.DefaultDatumQueue.QueueStats
- All Implemented Interfaces:
Serializable,Comparable<DefaultDatumQueue.QueueStats>,Constable,net.solarnetwork.util.StatCounter.Stat
- Enclosing class:
DefaultDatumQueue
public static enum DefaultDatumQueue.QueueStats
extends Enum<DefaultDatumQueue.QueueStats>
implements net.solarnetwork.util.StatCounter.Stat
Queue statistics.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAdded datum.Captured.Duplicates.Errors.Filtered.Persisted.Milliseconds spent persisting datum.Processed.Milliseconds spent processing all input datum. -
Method Summary
Modifier and TypeMethodDescriptionintgetIndex()static DefaultDatumQueue.QueueStatsReturns the enum constant of this class with the specified name.static DefaultDatumQueue.QueueStats[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
Added
Added datum. -
Captured
Captured. -
Processed
Processed. -
Duplicates
Duplicates. -
Filtered
Filtered. -
Persisted
Persisted. -
Errors
Errors. -
ProcessingTimeTotal
Milliseconds spent processing all input datum. -
PersistingTimeTotal
Milliseconds spent persisting datum.
-
-
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()- Specified by:
getIndexin interfacenet.solarnetwork.util.StatCounter.Stat
-
getDescription
- Specified by:
getDescriptionin interfacenet.solarnetwork.util.StatCounter.Stat
-