Class Scheduler
java.lang.Object
|
+----java.lang.Thread
|
+----Scheduler
- public class Scheduler
- extends Thread
Creates a thread which periodically calls an upcall function.
On the rest of the time it busy waits ... No , just kidding , it
sleeps on the rest of the time.
-
Scheduler(Mud)
- Creats a new thread which will call upcall.handleTimeout on timeout.
-
run()
-
-
stopMe()
- Used to stop me since in the new methodology it is not good
to stop a thread with brute force.
Scheduler
public Scheduler(Mud upcall)
- Creats a new thread which will call upcall.handleTimeout on timeout.
stopMe
public void stopMe()
- Used to stop me since in the new methodology it is not good
to stop a thread with brute force.
run
public void run()
- Overrides:
- run in class Thread