Package com.yahoo.processing.execution
Enum Class Execution.Trace.Level
- All Implemented Interfaces:
Serializable
,Comparable<Execution.Trace.Level>
,Constable
- Enclosing class:
- Execution.Trace
Defines what information is added at which trace level
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionThe before/after dependencies of each processing step is traced on every invocationEvery processing step initiated is tracedAll trace messages are timestamped -
Method Summary
Modifier and TypeMethodDescriptionboolean
includes
(int traceLevel) Returns whether this level includes the given level, i.e whether traceLevel is this.value() or moreint
value()
static Execution.Trace.Level
Returns the enum constant of this class with the specified name.static Execution.Trace.Level[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
Step
Every processing step initiated is traced -
Timestamp
All trace messages are timestamped -
Dependencies
The before/after dependencies of each processing step is traced on every invocation
-
-
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
-
value
public int value() -
includes
public boolean includes(int traceLevel) Returns whether this level includes the given level, i.e whether traceLevel is this.value() or more
-