]
The Timer interface contains information about a timer
that was created through the EJB Timer Service.
| Method from javax.ejb.Timer Detail: |
public void cancel() throws EJBException, NoSuchObjectLocalException, IllegalStateException
Cause the timer and all its associated expiration notifications to
be cancelled. |
public TimerHandle getHandle() throws EJBException, NoSuchObjectLocalException, IllegalStateException
Get a serializable handle to the timer. This handle can
be used at a later time to re-obtain the timer reference. |
public Serializable getInfo() throws EJBException, NoSuchObjectLocalException, IllegalStateException
Get the information associated with the timer at the time of creation. |
public Date getNextTimeout() throws EJBException, NoSuchObjectLocalException, IllegalStateException
Get the point in time at which the next timer expiration is scheduled
to occur. |
public long getTimeRemaining() throws EJBException, NoSuchObjectLocalException, IllegalStateException
Get the number of milliseconds that will elapse before the next
scheduled timer expiration. |