|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectmapping.FCFS_MS_Thread
public class FCFS_MS_Thread
This Thread is a helper thread for the FCFS_MS objects. It is a thread that iterates over the AvailableServers Queue it asks the FCFS_MS object to map a job for the server in the head of that queue.
Constructor Summary | |
---|---|
FCFS_MS_Thread(FCFS_MS fcfs_ms)
A default constructor. |
Method Summary | |
---|---|
boolean |
isAlive()
|
void |
run()
This thread iterates over the AvailableServer queue and ask the FCFS_MS object to map them. |
void |
setAlive(boolean alive)
|
void |
startThread()
This method starts the thread. |
void |
stopThread()
This method stops the thread. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FCFS_MS_Thread(FCFS_MS fcfs_ms)
fcfs_ms
- The FCFS_MS object.Method Detail |
---|
public boolean isAlive()
public void setAlive(boolean alive)
public void startThread()
public void stopThread()
public void run()
run
in interface java.lang.Runnable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |