org.sourceforge.beanindex.util
Class Schedule

java.lang.Object
  extended byorg.sourceforge.beanindex.util.Schedule

public class Schedule
extends java.lang.Object

Author:
Sakthivel Muthusamy Please refer to java.util.Timer to understand about initial delay, fixedrate and period

Constructor Summary
Schedule()
           
 
Method Summary
 long getInitialDelay()
           
 long getPeriod()
           
 boolean isFixedRate()
           
 void setFixedRate(boolean fixedRate)
           
 void setInitialDelay(long initialDelay)
           
 void setPeriod(long period)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Schedule

public Schedule()
Method Detail

isFixedRate

public boolean isFixedRate()
Returns:
boolean

getPeriod

public long getPeriod()
Returns:
long

getInitialDelay

public long getInitialDelay()
Returns:
long

setFixedRate

public void setFixedRate(boolean fixedRate)
Parameters:
fixedRate -

setPeriod

public void setPeriod(long period)
Parameters:
period -

setInitialDelay

public void setInitialDelay(long initialDelay)
Parameters:
initialDelay -