JavaScript is disabled on your browser.
Skip navigation links
  • Summary:
  • Nested |
  • Field |
  • Constr |
  • Method
  • Detail:
  • Field |
  • Constr |
  • Method
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

      All Methods
      Modifier and Type Method and Description
      void cancel ()
      Cause the timer and all its associated expiration notifications to be cancelled.
      TimerHandle getHandle ()
      Get a serializable handle to the timer.
      Serializable getInfo ()
      Get the information associated with the timer at the time of creation.
      Date getNextTimeout ()
      Get the point in time at which the next timer expiration is scheduled to occur.
      ScheduleExpression getSchedule ()
      Get the schedule expression corresponding to this timer.
      long getTimeRemaining ()
      Get the number of milliseconds that will elapse before the next scheduled timer expiration.
      boolean isCalendarTimer ()
      Return whether this timer is a calendar-based timer.
      boolean isPersistent ()
      Return whether this timer has persistent semantics.
Skip navigation links
  • Summary:
  • Nested |
  • Field |
  • Constr |
  • Method
  • Detail:
  • Field |
  • Constr |
  • Method

Copyright © 1996-2015, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.

AltStyle によって変換されたページ (->オリジナル) /