Class Conditions
java.lang.Object
io.nosqlbench.nb.api.advisor.conditions.Conditions
The mappings between logging levels for conditions and the advisory levels should be consistent, so they will be described here to start.
These are the levels which conditions should use:
- Level.ERROR (internal to conditions, cause immediate exceptions)
- Level.WARN (conditions which should inform the user about a likely issue)
- Level.INFO (conditions which may inform the user about a possible issue)
This means that the following three behaviors are possible:
NBAdvisorLevel.none- Only ERROR level results throw exceptions, no results are presented.NBAdvisorLevel.validate- Only ERROR level results throw exceptions, all results are presented.NBAdvisorLevel.enforce- ERROR and WARN levels throw exceptions.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic Deprecatedstatic Deprecatedstatic NoHyphensstatic NoHyphensstatic NoSpacesstatic NoSpacesstatic ValidNamestatic ValidName -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
NoHyphensError
-
NoHyphensWarning
-
NoSpacesError
-
NoSpacesWarning
-
ValidNameError
-
ValidNameWarning
-
DeprecatedError
-
DeprecatedWarning
-
-
Constructor Details
-
Conditions
public Conditions()
-