Interface DiagTask

All Superinterfaces:
BiFunction<Long,Map<String,Object>,Map<String,Object>>, NBCanConfigure, NBConfigModelProvider, NBConfigurable, NBLabeledElement, NBParentComponentInjection
All Known Implementing Classes:
BaseDiagTask, DiagTask_diagrate, DiagTask_erroroncycle, DiagTask_gauge, DiagTask_initdelay, DiagTask_log, DiagTask_noop

The base type for building Diagnostic Op tasks, which are composed into a diagnostic operation in order. This allows for a very flexible compositional structure which can be extended as needed. The diag driver is meant to be the core driver for the purposes of validating the NoSQLBench engine and associated libraries and extensions. The tasks are retained as shared across threads by default. This means that if you want to have per-thread logic or to do things which are not thread-safe, you need to use ThreadLocal or some other pattern to do so. Tasks must provide a no-args constructor (or no constructor, which does the same). Tasks must specify their configuration requirements via the NBConfigurable interface. Tasks may be evented for updates from the activity params at runtime by implementing the NBReconfigurable interface.