|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.caucho.ejb.timer.EjbTimerService
public class EjbTimerService
Implements the timer service
| Field Summary | |
|---|---|
protected static java.util.logging.Logger |
log
|
| Method Summary | |
|---|---|
Timer |
createTimer(java.util.Date expiration,
long interval,
java.io.Serializable info)
Creates a timer |
Timer |
createTimer(java.util.Date expiration,
java.io.Serializable info)
Creates a timer |
Timer |
createTimer(long initialDuration,
long intervalDuration,
java.io.Serializable info)
Creates an interval timer |
Timer |
createTimer(long duration,
java.io.Serializable info)
Creates a timer for a duration. |
static EjbTimerService |
getCurrent()
|
static EjbTimerService |
getCurrent(java.lang.ClassLoader loader)
|
static EjbTimerService |
getLocal(java.lang.ClassLoader loader,
AbstractContext context)
|
java.util.Collection |
getTimers()
Returns the timers |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected static final java.util.logging.Logger log
| Method Detail |
|---|
public static EjbTimerService getLocal(java.lang.ClassLoader loader,
AbstractContext context)
public static EjbTimerService getCurrent()
public static EjbTimerService getCurrent(java.lang.ClassLoader loader)
public Timer createTimer(long duration,
java.io.Serializable info)
throws EJBException
createTimer in interface TimerServiceEJBException
public Timer createTimer(long initialDuration,
long intervalDuration,
java.io.Serializable info)
throws EJBException
createTimer in interface TimerServiceEJBException
public Timer createTimer(java.util.Date expiration,
java.io.Serializable info)
throws EJBException
createTimer in interface TimerServiceEJBException
public Timer createTimer(java.util.Date expiration,
long interval,
java.io.Serializable info)
throws EJBException
createTimer in interface TimerServiceEJBException
public java.util.Collection getTimers()
throws EJBException
getTimers in interface TimerServiceEJBExceptionpublic java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||