public class MultiTenantWorkload extends Object implements Workload
TenantOperationFactory in conjunction withLoadEventGenerator} to generate the load events.
It then publishes these events onto a RingBuffer based queue.
The @see {@link TenantOperationWorkHandler} drains the events from the queue and executes them.
Reference for RingBuffer based queue http://lmax-exchange.github.io/disruptor/| Constructor and Description |
|---|
MultiTenantWorkload(PhoenixUtil phoenixUtil,
DataModel model,
Scenario scenario,
List<PherfWorkHandler> workHandlers,
Properties properties) |
MultiTenantWorkload(PhoenixUtil phoenixUtil,
DataModel model,
Scenario scenario,
Properties properties) |
| Modifier and Type | Method and Description |
|---|---|
void |
complete()
Use this method to perform any cleanup or forced shutdown of the thread.
|
Callable<Void> |
execute() |
public MultiTenantWorkload(PhoenixUtil phoenixUtil, DataModel model, Scenario scenario, Properties properties)
public MultiTenantWorkload(PhoenixUtil phoenixUtil, DataModel model, Scenario scenario, List<PherfWorkHandler> workHandlers, Properties properties) throws Exception
ExceptionCopyright © 2022 Apache Software Foundation. All rights reserved.