public class TimerImpl
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Method and Description |
---|---|
void |
cancel() |
TimerHandle |
getHandle() |
java.io.Serializable |
getInfo() |
java.util.Date |
getNextTimeout() |
ScheduleExpression |
getSchedule() |
long |
getTimeRemaining() |
boolean |
isCalendarTimer() |
boolean |
isPersistent() |
public TimerImpl(TimerData timerData)
public void cancel() throws java.lang.IllegalStateException, NoSuchObjectLocalException
java.lang.IllegalStateException
NoSuchObjectLocalException
public long getTimeRemaining() throws java.lang.IllegalStateException, NoSuchObjectLocalException
java.lang.IllegalStateException
NoSuchObjectLocalException
public java.util.Date getNextTimeout() throws java.lang.IllegalStateException, NoSuchObjectLocalException
java.lang.IllegalStateException
NoSuchObjectLocalException
public java.io.Serializable getInfo() throws java.lang.IllegalStateException, NoSuchObjectLocalException
java.lang.IllegalStateException
NoSuchObjectLocalException
public TimerHandle getHandle() throws java.lang.IllegalStateException, NoSuchObjectLocalException
java.lang.IllegalStateException
NoSuchObjectLocalException
public ScheduleExpression getSchedule() throws EJBException, java.lang.IllegalStateException, NoSuchObjectLocalException
EJBException
java.lang.IllegalStateException
NoSuchObjectLocalException
public boolean isPersistent() throws EJBException, java.lang.IllegalStateException, NoSuchObjectLocalException
EJBException
java.lang.IllegalStateException
NoSuchObjectLocalException
public boolean isCalendarTimer() throws EJBException, java.lang.IllegalStateException, NoSuchObjectLocalException
EJBException
java.lang.IllegalStateException
NoSuchObjectLocalException