Enum Class MetricCategory
- All Implemented Interfaces:
Serializable,Comparable<MetricCategory>,Constable
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionWhen the result returned by an operation is scrutinized for some degree of accuracy on a sliding scale, this category applies.Some metrics help provide insight into analysis methods and progress.Metrics which mirror configuration data, either static or dynamic during the lifetime of an activity, session, or container.Metrics which are essential to understanding the behavior of any activityWhen drivers are used to augment the metrics views, such as with the CQL client, these metrics can be folded into metrics feeds.Measurements of error rates, exception counts, and any other failure modes which can be counted or otherwise quantifiedMetrics which are used to ascertain the validity of client behavior, such as the CPU load or other potentially contending effects.Metrics which describe payload properties, such as result size or similarSome metrics are provided only to inform the user of relative or absolute progress, in terms of cycles remaining or similarSometimes users provide their own metrics instrumentation.Verification logic is used to assert the validity or some property of results returned by individual operations. -
Method Summary
Modifier and TypeMethodDescriptionstatic MetricCategoryReturns the enum constant of this class with the specified name.static MetricCategory[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
Core
Metrics which are essential to understanding the behavior of any activity -
Progress
Some metrics are provided only to inform the user of relative or absolute progress, in terms of cycles remaining or similar -
Config
Metrics which mirror configuration data, either static or dynamic during the lifetime of an activity, session, or container. These are shared because they may need to be known for further understanding or evaluation. For example, the target rate puts the achieved rate in context, and having them both together in downstream metrics view makes computation simple and direct. -
Internals
Metrics which are used to ascertain the validity of client behavior, such as the CPU load or other potentially contending effects. This is important because test results can be invalidated when the composed system
relies too heavily on the testing apparatus. When the testing apparatus is under any degree of measurable stress, the ability to drive the target system to its capacity is compromised, as well as the client's ability to approximate real-time measurements due to task scheduling delays.client <-> infrastructure <-> target system -
Driver
When drivers are used to augment the metrics views, such as with the CQL client, these metrics can be folded into metrics feeds. However, they are not part of the core NB metrics. Such auxiliary metric need to be identified separately. -
Errors
Measurements of error rates, exception counts, and any other failure modes which can be counted or otherwise quantified -
Verification
Verification logic is used to assert the validity or some property of results returned by individual operations. Verification is meant to indicate whether a result was valid or invalid, with no room for interpretation in between. -
Payload
Metrics which describe payload properties, such as result size or similar -
User
Sometimes users provide their own metrics instrumentation. These may or may not have descriptions provided. -
Analysis
Some metrics help provide insight into analysis methods and progress. This can include parameters for an optimizers configuration, parameters from a single frame of simulation, achieved results in the form of a value function, or similar. -
Accuracy
When the result returned by an operation is scrutinized for some degree of accuracy on a sliding scale, this category applies. This is distinct from Verification in that verification implies a pass/fail scenario, whereas accuracy measures are on a sliding scale where interpretation is often more subjective.
-
-
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
-