Package com.wavefront.agent.handlers
Class TrafficShapingRateLimitAdjuster
- java.lang.Object
-
- java.util.TimerTask
-
- com.wavefront.agent.handlers.TrafficShapingRateLimitAdjuster
-
public class TrafficShapingRateLimitAdjuster extends TimerTask implements Managed
Experimental: use automatic traffic shaping (set rate limiter based on recently received per second rates, heavily biased towards last 5 minutes)- Author:
- [email protected].
-
-
Constructor Summary
Constructors Constructor Description TrafficShapingRateLimitAdjuster(EntityPropertiesFactory entityProps, int windowSeconds, double headroom)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
run()
void
start()
Starts the process.void
stop()
Stops the process.-
Methods inherited from class java.util.TimerTask
cancel, scheduledExecutionTime
-
-
-
-
Constructor Detail
-
TrafficShapingRateLimitAdjuster
public TrafficShapingRateLimitAdjuster(EntityPropertiesFactory entityProps, int windowSeconds, double headroom)
- Parameters:
entityProps
- entity properties factory (to control rate limiters)windowSeconds
- size of the moving time window to average point rateheadroom
- headroom multiplier
-
-
Method Detail
-
start
public void start()
Description copied from interface:Managed
Starts the process.
-
-