|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.groiss.timer.TimerManager
public class TimerManager
The timer manager is the service controlling the timer executions.
| Constructor Summary | |
|---|---|
TimerManager()
|
|
| Method Summary | |
|---|---|
boolean |
isRunning()
Ask the object if it has been started |
void |
reconfigure()
Reschedule the timers after some properties of a timer has been changed. |
static void |
resetExceptions(com.groiss.timer.impl.TimerEntry tEntry)
Empty the list of sent exceptions. |
void |
showQueue(HttpServletRequest req,
HttpServletResponse res)
Shows a list of the timers that are scheduled. |
void |
shutdown()
This method is called on shutdown. |
void |
startup()
This method is called when the object is "started". |
static void |
timerException(TimerEntry tEntry,
Persistent so,
String message,
Throwable e)
This method is for exception handling in a timer task. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TimerManager()
| Method Detail |
|---|
public void startup()
Lifecycle
startup in interface Lifecyclepublic void shutdown()
Lifecycle
shutdown in interface Lifecyclepublic boolean isRunning()
Service
isRunning in interface Servicepublic void reconfigure()
reconfigure in interface Service
public void showQueue(HttpServletRequest req,
HttpServletResponse res)
throws Exception
Exceptionpublic static void resetExceptions(com.groiss.timer.impl.TimerEntry tEntry)
public static void timerException(TimerEntry tEntry,
Persistent so,
String message,
Throwable e)
tEntry - the timer entry.so - a context objectmessage - the error messagee - the excpetion you want to report.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||