Interface TargetFactory
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Creates the object a scenario runs against (client, provider, log client, tracing handle).
-
Method Summary
-
Method Details
-
create
Creates or returns the target for one scenario.- Parameters:
scenario- the scenario about to run (e.g. to readbatchOptions)- Returns:
- the target
- Throws:
Exception- when the target cannot be created
-