mx4j.timer
Class TimerTask
- Comparable, Runnable
public abstract class TimerTask
A subclass of TimeTask for the JMX Timer service.
Version:
TimerTask(javax.management.timer.TimerNotification n, Date date, long period, long occurrences, boolean fixedRate)
|
TimerTask
public TimerTask(javax.management.timer.TimerNotification n,
Date date,
long period,
long occurrences,
boolean fixedRate)
equals
public boolean equals(Object obj)
getDate
public long getDate()
getFixedRate
public boolean getFixedRate()
- getFixedRate in interface TimeTask
getNextExecutionTime
public long getNextExecutionTime()
- getNextExecutionTime in interface TimeTask
getNotification
public javax.management.timer.TimerNotification getNotification()
getOccurrences
public long getOccurrences()
getPeriod
public long getPeriod()
- getPeriod in interface TimeTask
hashCode
public int hashCode()
isFinished
public boolean isFinished()
- isFinished in interface TimeTask
isPeriodic
public boolean isPeriodic()
- isPeriodic in interface TimeTask
setFinished
public void setFinished(boolean value)
- setFinished in interface TimeTask
setNextExecutionTime
public void setNextExecutionTime(long time)
- setNextExecutionTime in interface TimeTask
Copyright © 2001-2003 MX4J Team. All Rights Reserved.