Class DiagTask_log

java.lang.Object
io.nosqlbench.adapter.diag.optasks.BaseDiagTask
io.nosqlbench.adapter.diag.optasks.DiagTask_log
  • Constructor Details

    • DiagTask_log

      public DiagTask_log()
  • Method Details

    • apply

      public Map<String,Object> apply(Long aLong, Map<String,Object> stringObjectMap)
      Specified by:
      apply in interface BiFunction<Long,Map<String,Object>,Map<String,Object>>
      Specified by:
      apply in interface DiagTask
      Specified by:
      apply in class BaseDiagTask
    • applyConfig

      public void applyConfig(NBConfiguration cfg)
      Description copied from interface: NBConfigurable
      Implementors should take care to ensure that this can be called after initial construction without unexpected interactions between construction parameters and configuration parameters.
      Parameters:
      cfg - The configuration data to be applied to a new instance
    • getConfigModel

      public NBConfigModel getConfigModel()
      Description copied from interface: NBConfigurable
      Implement this method by returning an instance of ConfigModel. Any configuration which is provided to the NBConfigurable.applyConfig(NBConfiguration) method will be validated through this model. A configuration model is required in order to build a validated configuration from source data provided by a user.
      Returns:
      A valid configuration model for the implementing class