|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectmapping.TWOREP_MS_Thread
public class TWOREP_MS_Thread
This Thread is a helper thread for the FCFS_MS objects. It is a thread that iterates over the AvailableServers Queue and then it asks the FCFS_MS object to map a job for two servers in the queue
Constructor Summary | |
---|---|
TWOREP_MS_Thread(FCFS_MS fcfs_ms)
A default constructor |
Method Summary | |
---|---|
boolean |
arrayisFull(int[] array)
|
boolean |
failuresOccur()
|
FCFS_MS |
getFCFS_MS()
|
boolean |
isAlive()
|
boolean |
readyforJobSubmission()
|
void |
run()
|
void |
setAlive(boolean alive)
|
void |
setFCFS_MS(FCFS_MS Fcfs_ms)
|
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 TWOREP_MS_Thread(FCFS_MS fcfs_ms)
Method Detail |
---|
public boolean isAlive()
public void setAlive(boolean alive)
public FCFS_MS getFCFS_MS()
public void setFCFS_MS(FCFS_MS Fcfs_ms)
public void startThread()
public void stopThread()
public boolean arrayisFull(int[] array)
public boolean failuresOccur()
public boolean readyforJobSubmission()
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 |