Package javax.ejb

Interface Timer


public interface Timer
The Timer interface contains information about a timer that was created through the EJB Timer Service.
Since:
EJB 2.1
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Cause the timer and all its associated expiration notifications to be cancelled.
    Get a serializable handle to the timer.
    Get the information associated with the timer at the time of creation.
    Get the point in time at which the next timer expiration is scheduled to occur.
    Get the schedule expression corresponding to this timer.
    long
    Get the number of milliseconds that will elapse before the next scheduled timer expiration.
    boolean
    Return whether this timer is a calendar-based timer.
    boolean
    Return whether this timer has persistent semantics.