ComponentRun

class ComponentRun(scenario: String, accounts: Int, ops: Int, warmUpOps: Int, concurrency: Int)

One component run: the accounts opened, then the warm-up and the measured operations.

Constructors

Link copied to clipboard
constructor(scenario: String, accounts: Int, ops: Int, warmUpOps: Int, concurrency: Int)

Functions

Link copied to clipboard
fun run(client: CommandClient, counter: StoreCounter, onMeasure: (Boolean) -> Unit = {}): Map<String, Any?>

Opens the accounts, sends the warm-up and then the measured operations; onMeasure is told when the measured phase starts (true) and when it has ended (false), for a caller that reads the store around it (RawStoreBench).