org.apache.droids.delay
Class GaussianRandomDelayTimer

Package class diagram package GaussianRandomDelayTimer
java.lang.Object
  extended by org.apache.droids.delay.SimpleDelayTimer
      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
random
 
Constructor Summary
GaussianRandomDelayTimer()
           
 
Method Summary
 long getDelayMillis()
          Returns the value of the delay between request.
 long getFixedDelay()
           
 void setFixedDelay(long fixedDelay)
           
 
Methods inherited from class org.apache.droids.delay.SimpleDelayTimer
getDelay, setDelay
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GaussianRandomDelayTimer

public GaussianRandomDelayTimer()
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

getFixedDelay

public long getFixedDelay()

setFixedDelay

public void setFixedDelay(long fixedDelay)


Copyright © 2008 The Apache Software Foundation