Class LoggingAnnotator
java.lang.Object
io.nosqlbench.engine.core.metrics.LoggingAnnotator
- All Implemented Interfaces:
Annotator,NBConfigModelProvider,NBMapConfigurable
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidapplyConfig(Map<String, ?> providedConfig) voidrecordAnnotation(Annotation annotation) Submit an annotation to some type of annotation store, logging or eventing mechanism.
-
Constructor Details
-
LoggingAnnotator
public LoggingAnnotator()
-
-
Method Details
-
recordAnnotation
Description copied from interface:AnnotatorSubmit an annotation to some type of annotation store, logging or eventing mechanism. Implementations of this service are responsible for mapping the scenario and labels into appropriate key data, and the details in to a native payload. The least surprising and most obvious mapping should be used in each case.
For details on constructing a useful annotation to submit to this service, see
Annotation.newBuilder()- Specified by:
recordAnnotationin interfaceAnnotator
-
applyConfig
- Specified by:
applyConfigin interfaceNBMapConfigurable
-
getConfigModel
- Specified by:
getConfigModelin interfaceNBConfigModelProvider
-