0 Replies Latest reply on Jun 25, 2007 5:20 AM by heapifyman heapifyman

    TimerService: stop a timer

    heapifyman heapifyman Newbie


      I'm trying to find out what's the best way to stop a timer at a predefined date.
      Actually, I'm looking for a method like

      createTimer(Date initialExpiration, Date lastExpiration, long intervalDuration, Serializable info)
      where one can also set a Date when the timer should stop.

      Are there any best practice ways to do this? Or am I getting the idea of timers totally wrong?