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
|
Constructor Summary |
Timer.Task(TimerNotification timerNotification,
long period,
long nbOccurences,
java.util.Date taskDate,
boolean fixedRate)
|
| Methods inherited from class java.lang.Object |
,
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
fromAddNotification
boolean fromAddNotification
Timer.Task
public Timer.Task(TimerNotification timerNotification,
long period,
long nbOccurences,
java.util.Date taskDate,
boolean fixedRate)
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)