brooklyn.qa.longevity.webcluster
[Java] Class SinusoidalLoadGenerator
java.lang.Object
brooklyn.policy.basic.AbstractEntityAdjunct
brooklyn.enricher.basic.AbstractEnricher
brooklyn.qa.longevity.webcluster.SinusoidalLoadGenerator
public class SinusoidalLoadGenerator
extends AbstractEnricher
Periodically publishes values in the range of 0 to #amplitude.
The value varies sinusoidally over time.
Methods inherited from class AbstractEntityAdjunct
|
check, configure, configure, destroy, doReconfigureConfig, getAdjunctType, getAllConfig, getAllSubscriptions, getConfig, getConfigMap, getId, getManagementContext, getName, getSubscriptionTracker, init, isDestroyed, isLegacyConstruction, isRunning, setConfig, setEntity, setId, setManagementContext, setName, subscribe, subscribeToChildren, subscribeToMembers, toString, unsubscribe, unsubscribe |
SinusoidalLoadGenerator
public SinusoidalLoadGenerator(AttributeSensor target, long publishPeriodMs, long sinPeriodMs, double sinAmplitude)
-
destroy
@Override
public void destroy()
-
setEntity
public void setEntity(EntityLocal entity)
-
Brooklyn Multi-Cloud Application Management Platform
brooklyncentral.github.com. Apache License. © 2012.