org.apache.droids.delay
Class GaussianRandomDelayTimer

java.lang.Object
  extended by org.apache.droids.delay.RandomDelayTimer
      extended by org.apache.droids.delay.GaussianRandomDelayTimer
All Implemented Interfaces:
DelayTimer

public class GaussianRandomDelayTimer
extends RandomDelayTimer
implements DelayTimer


Field Summary
 
Fields inherited from class org.apache.droids.delay.RandomDelayTimer
delaySpread, minimumDelay, random
 
Constructor Summary
GaussianRandomDelayTimer()
           
GaussianRandomDelayTimer(int min, int range)
           
 
Method Summary
 long getDelayMillis()
          Returns the value of the delay between request.
 
Methods inherited from class org.apache.droids.delay.RandomDelayTimer
getDelaySpread, getMinimumDelay, setDelaySpread, setMinimumDelay
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GaussianRandomDelayTimer

public GaussianRandomDelayTimer()

GaussianRandomDelayTimer

public GaussianRandomDelayTimer(int min,
                                int range)
Method Detail

getDelayMillis

public long getDelayMillis()
Description copied from interface: DelayTimer
Returns the value of the delay between request.

Specified by:
getDelayMillis in interface DelayTimer
Overrides:
getDelayMillis in class RandomDelayTimer
Returns:
the configured value of the delay


Copyright © 2007-2009. All Rights Reserved.