|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.arsdigita.cms.lifecycle.Scheduler
Scheduler thread to fire all the events for the lifecycles or phases that have just began or ended.
Field Summary | |
protected static long |
s_timerDelay
|
protected static long |
s_timerFrequency
|
static String |
versionId
|
Constructor Summary | |
Scheduler()
|
Method Summary | |
protected static void |
checkAndFire()
Check which begin/end events to fire and then fire them. |
protected static com.arsdigita.persistence.DataQuery |
getLifecycleEnd()
|
protected static com.arsdigita.persistence.DataQuery |
getLifecycleStart()
|
protected static com.arsdigita.persistence.DataQuery |
getPhaseEnd()
|
protected static com.arsdigita.persistence.DataQuery |
getPhaseStart()
|
static void |
run()
run - Run the task |
static void |
runTest()
test run - Called in a test file and run only once |
static void |
startTimer()
startTimer - starts the timer |
static void |
stopTimer()
stopTimer - stops the timer. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final String versionId
protected static long s_timerDelay
protected static long s_timerFrequency
Constructor Detail |
public Scheduler()
Method Detail |
public static void startTimer()
public static void stopTimer()
protected static void checkAndFire()
public static void run()
public static void runTest()
protected static com.arsdigita.persistence.DataQuery getLifecycleStart()
protected static com.arsdigita.persistence.DataQuery getLifecycleEnd()
protected static com.arsdigita.persistence.DataQuery getPhaseStart()
protected static com.arsdigita.persistence.DataQuery getPhaseEnd()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |