public class TenantOperationFactory extends Object
Supplier
for operations Operation
Operations that need to be executed for a given Scenario and DataModel
are generated by LoadEventGenerator
These operation events are then published on to the RingBuffer
by the MultiTenantWorkload workload generator and
handled by the WorkHandler for eg TenantOperationWorkHandler| Constructor and Description |
|---|
TenantOperationFactory(PhoenixUtil phoenixUtil,
DataModel model,
Scenario scenario) |
| Modifier and Type | Method and Description |
|---|---|
DataModel |
getModel() |
List<Operation> |
getOperations() |
org.apache.phoenix.thirdparty.com.google.common.base.Supplier<org.apache.phoenix.thirdparty.com.google.common.base.Function<TenantOperationInfo,OperationStats>> |
getOperationSupplier(TenantOperationInfo input) |
PhoenixUtil |
getPhoenixUtil() |
Scenario |
getScenario() |
void |
initializeTenant(TenantOperationInfo input) |
public TenantOperationFactory(PhoenixUtil phoenixUtil, DataModel model, Scenario scenario)
public PhoenixUtil getPhoenixUtil()
public DataModel getModel()
public Scenario getScenario()
public void initializeTenant(TenantOperationInfo input) throws Exception
Exceptionpublic org.apache.phoenix.thirdparty.com.google.common.base.Supplier<org.apache.phoenix.thirdparty.com.google.common.base.Function<TenantOperationInfo,OperationStats>> getOperationSupplier(TenantOperationInfo input) throws Exception
ExceptionCopyright © 2023 Apache Software Foundation. All rights reserved.