@Service(value=DistributedConsensusLoadTest.class) public class DistributedConsensusLoadTest extends Object
This application simply increments as AsyncAtomicCounter at a configurable rate.
| Modifier and Type | Field and Description |
|---|---|
protected org.onosproject.cfg.ComponentConfigService |
configService |
protected org.onosproject.core.CoreService |
coreService |
protected int |
rate |
protected org.onosproject.store.service.StorageService |
storageService |
| Constructor and Description |
|---|
DistributedConsensusLoadTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
activate(org.osgi.service.component.ComponentContext context) |
void |
deactivate(org.osgi.service.component.ComponentContext context) |
void |
modified(org.osgi.service.component.ComponentContext context) |
@Reference(cardinality=MANDATORY_UNARY) protected org.onosproject.cfg.ComponentConfigService configService
@Reference(cardinality=MANDATORY_UNARY) protected org.onosproject.store.service.StorageService storageService
@Reference(cardinality=MANDATORY_UNARY) protected org.onosproject.core.CoreService coreService
@Property(name="rate",
intValue=100,
label="Total number of increments per second to the atomic counter")
protected int rate