Package org.apache.flink.configuration
Enum TraceOptions.CheckpointSpanDetailLevel
- java.lang.Object
-
- java.lang.Enum<TraceOptions.CheckpointSpanDetailLevel>
-
- org.apache.flink.configuration.TraceOptions.CheckpointSpanDetailLevel
-
- All Implemented Interfaces:
Serializable,Comparable<TraceOptions.CheckpointSpanDetailLevel>
- Enclosing class:
- TraceOptions
public static enum TraceOptions.CheckpointSpanDetailLevel extends Enum<TraceOptions.CheckpointSpanDetailLevel>
Enum for the detail level of checkpointing spans.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CHILDREN_SPANS_PER_SUBTASKSub/Max for sub-metrics of checkpoint, tasks, and subtasks (tasks as child spans, subtasks as grand-child spans).CHILDREN_SPANS_PER_TASKSub/Max for sub-metrics of checkpoint and tasks (tasks as child spans).SPAN_PER_CHECKPOINTSum/Max for sub-metrics per checkpoint.SPAN_PER_CHECKPOINT_WITH_TASKSSum/Max for sub-metrics per checkpoint and arrays of task aggregates.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static TraceOptions.CheckpointSpanDetailLevelvalueOf(String name)Returns the enum constant of this type with the specified name.static TraceOptions.CheckpointSpanDetailLevel[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SPAN_PER_CHECKPOINT
public static final TraceOptions.CheckpointSpanDetailLevel SPAN_PER_CHECKPOINT
Sum/Max for sub-metrics per checkpoint.
-
SPAN_PER_CHECKPOINT_WITH_TASKS
public static final TraceOptions.CheckpointSpanDetailLevel SPAN_PER_CHECKPOINT_WITH_TASKS
Sum/Max for sub-metrics per checkpoint and arrays of task aggregates.
-
CHILDREN_SPANS_PER_TASK
public static final TraceOptions.CheckpointSpanDetailLevel CHILDREN_SPANS_PER_TASK
Sub/Max for sub-metrics of checkpoint and tasks (tasks as child spans).
-
CHILDREN_SPANS_PER_SUBTASK
public static final TraceOptions.CheckpointSpanDetailLevel CHILDREN_SPANS_PER_SUBTASK
Sub/Max for sub-metrics of checkpoint, tasks, and subtasks (tasks as child spans, subtasks as grand-child spans).
-
-
Method Detail
-
values
public static TraceOptions.CheckpointSpanDetailLevel[] 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 (TraceOptions.CheckpointSpanDetailLevel c : TraceOptions.CheckpointSpanDetailLevel.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TraceOptions.CheckpointSpanDetailLevel 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 nameNullPointerException- if the argument is null
-
-