org.apache.droids.delay
Class SimpleDelayTimer

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

public class SimpleDelayTimer
extends java.lang.Object
implements DelayTimer


Constructor Summary
SimpleDelayTimer()
           
SimpleDelayTimer(long delay)
           
 
Method Summary
 long getDelayMillis()
          Gets the delay time.
 void setDelayMillis(long delay)
          Sets the delay time.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleDelayTimer

public SimpleDelayTimer()

SimpleDelayTimer

public SimpleDelayTimer(long delay)
Method Detail

getDelayMillis

public long getDelayMillis()
Gets the delay time.

Specified by:
getDelayMillis in interface DelayTimer
Parameters:
delay - long
Returns:
the configured value of the delay

setDelayMillis

public void setDelayMillis(long delay)
Sets the delay time.

Parameters:
delay - long


Copyright © 2007-2009. All Rights Reserved.