mx4j.timer

Class TimerTask

public abstract class TimerTask extends TimeTask

A subclass of TimeTask for the JMX Timer service.

Version: $Revision: 1.8 $

Constructor Summary
TimerTask(TimerNotification n, Date date, long period, long occurrences, boolean fixedRate)
Method Summary
booleanequals(Object obj)
longgetDate()
booleangetFixedRate()
longgetNextExecutionTime()
TimerNotificationgetNotification()
longgetOccurrences()
longgetPeriod()
inthashCode()
booleanisFinished()
booleanisPeriodic()
voidsetFinished(boolean value)
voidsetNextExecutionTime(long time)

Constructor Detail

TimerTask

public TimerTask(TimerNotification n, Date date, long period, long occurrences, boolean fixedRate)

Method Detail

equals

public boolean equals(Object obj)

getDate

public long getDate()

getFixedRate

public boolean getFixedRate()

getNextExecutionTime

public long getNextExecutionTime()

getNotification

public TimerNotification getNotification()

getOccurrences

public long getOccurrences()

getPeriod

public long getPeriod()

hashCode

public int hashCode()

isFinished

public boolean isFinished()

isPeriodic

public boolean isPeriodic()

setFinished

public void setFinished(boolean value)

setNextExecutionTime

public void setNextExecutionTime(long time)
Copyright © 2001-2005 The MX4J Contributors. All Rights Reserved.