org.gudy.azureus2.core3.util
Class TimerEvent
java.lang.Object
org.gudy.azureus2.core3.util.AERunnable
org.gudy.azureus2.core3.util.ThreadPoolTask
org.gudy.azureus2.core3.util.TimerEvent
- All Implemented Interfaces:
- Comparable<TimerEvent>, Runnable
public class TimerEvent
- extends ThreadPoolTask
- implements Comparable<TimerEvent>
- Author:
- parg
Methods inherited from class org.gudy.azureus2.core3.util.AERunnable |
run |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TimerEvent
protected TimerEvent(Timer _timer,
long _unique_id,
long _created,
long _when,
boolean _absolute,
TimerEventPerformer _performer)
setName
public void setName(String _name)
getName
public String getName()
- Overrides:
getName
in class ThreadPoolTask
getCreatedTime
public long getCreatedTime()
getWhen
public long getWhen()
setWhen
protected void setWhen(long new_when)
getRunnable
protected AERunnable getRunnable()
getPerformer
protected TimerEventPerformer getPerformer()
isAbsolute
protected boolean isAbsolute()
runSupport
public void runSupport()
- Specified by:
runSupport
in class AERunnable
cancel
public void cancel()
isCancelled
public boolean isCancelled()
setHasRun
protected void setHasRun()
hasRun
public boolean hasRun()
getUniqueId
protected long getUniqueId()
compareTo
public int compareTo(TimerEvent other)
- Specified by:
compareTo
in interface Comparable<TimerEvent>
interruptTask
public void interruptTask()
- Specified by:
interruptTask
in class ThreadPoolTask
getString
public String getString()