Package com.yahoo.processing.execution
Enum Execution.Trace.Level
- java.lang.Object
-
- java.lang.Enum<Execution.Trace.Level>
-
- com.yahoo.processing.execution.Execution.Trace.Level
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<Execution.Trace.Level>
- Enclosing class:
- Execution.Trace
public static enum Execution.Trace.Level extends java.lang.Enum<Execution.Trace.Level>
Defines what information is added at which trace level
-
-
Enum Constant Summary
Enum Constants Enum Constant Description Dependencies
The before/after dependencies of each processing step is traced on every invocationStep
Every processing step initiated is tracedTimestamp
All trace messages are timestamped
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
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
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static Execution.Trace.Level[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Step
public static final Execution.Trace.Level Step
Every processing step initiated is traced
-
Timestamp
public static final Execution.Trace.Level Timestamp
All trace messages are timestamped
-
Dependencies
public static final Execution.Trace.Level Dependencies
The before/after dependencies of each processing step is traced on every invocation
-
-
Method Detail
-
values
public static Execution.Trace.Level[] 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 (Execution.Trace.Level c : Execution.Trace.Level.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Execution.Trace.Level valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- 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
-
-