com.caucho.server.dispatch
Class RunAt

java.lang.Object
  extended by com.caucho.server.dispatch.RunAt

public class RunAt
extends java.lang.Object

Configuration for a run-at


Constructor Summary
RunAt()
          Creates a new servlet configuration object.
 
Method Summary
 void addText(java.lang.String runAt)
          Adds the text.
 long getNextTimeout(long now)
          Returns the next time.
 void setPeriod(Period period)
          Sets the period
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RunAt

public RunAt()
Creates a new servlet configuration object.

Method Detail

addText

public void addText(java.lang.String runAt)
             throws ConfigException
Adds the text.

Throws:
ConfigException

setPeriod

public void setPeriod(Period period)
               throws ConfigException
Sets the period

Throws:
ConfigException

getNextTimeout

public long getNextTimeout(long now)
Returns the next time.