javax.management.timer
Class Timer.Task

java.lang.Object
  |
  +--javax.management.timer.Timer.Task
Enclosing class:
Timer

class Timer.Task
extends java.lang.Object
implements java.lang.Runnable


Field Summary
(package private)  boolean fromAddNotification
           
 
Constructor Summary
Timer.Task(TimerNotification timerNotification, long period, long nbOccurences, java.util.Date taskDate, boolean fixedRate)
           
 
Method Summary
 TimerNotification clone(TimerNotification timerNotification)
           
 java.util.Date getDate()
           
 long getNbOccurences()
           
 long getOriginalNbOccurences()
           
 long getPeriod()
           
 TimerNotification getTimerNotification()
           
 boolean isFixedRate()
           
 void run()
           
 void setNbOccurences(long l)
           
 void setSequenceNumber(long seqNumber)
           
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

fromAddNotification

boolean fromAddNotification
Constructor Detail

Timer.Task

public Timer.Task(TimerNotification timerNotification,
                  long period,
                  long nbOccurences,
                  java.util.Date taskDate,
                  boolean fixedRate)
Method Detail

run

public void run()
Specified by:
run in interface java.lang.Runnable

getTimerNotification

public TimerNotification getTimerNotification()

getPeriod

public long getPeriod()

isFixedRate

public boolean isFixedRate()

getDate

public java.util.Date getDate()

getNbOccurences

public long getNbOccurences()

getOriginalNbOccurences

public long getOriginalNbOccurences()

setNbOccurences

public void setNbOccurences(long l)

setSequenceNumber

public void setSequenceNumber(long seqNumber)

clone

public TimerNotification clone(TimerNotification timerNotification)