Class LoggingAnnotator

java.lang.Object
io.nosqlbench.engine.core.metrics.LoggingAnnotator
All Implemented Interfaces:
Annotator, NBConfigModelProvider, NBMapConfigurable

public class LoggingAnnotator extends Object implements Annotator, NBMapConfigurable
  • Constructor Details

    • LoggingAnnotator

      public LoggingAnnotator()
  • Method Details

    • recordAnnotation

      public void recordAnnotation(Annotation annotation)
      Description copied from interface: Annotator

      Submit 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:
      recordAnnotation in interface Annotator
    • applyConfig

      public void applyConfig(Map<String,?> providedConfig)
      Specified by:
      applyConfig in interface NBMapConfigurable
    • getConfigModel

      public NBConfigModel getConfigModel()
      Specified by:
      getConfigModel in interface NBConfigModelProvider