|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectmapping.LPAS_DG_MS_ThreadRB
public class LPAS_DG_MS_ThreadRB
This Thread is a helper thread for the LPAS_DG_MS objects. It is a thread that iterates over the AvailableServers Queue and asks the LPAS_DG_MS object to map a job for the server in the head of that queue. If the jobs queue has no jobs that the current available server can execute, the next server in line is considered.
Constructor Summary | |
---|---|
LPAS_DG_MS_ThreadRB(LPAS_DG_MS lpas_dg_ms)
Defualt constructor |
Method Summary | |
---|---|
LPAS_DG_MS |
getLpas_dg_ms()
|
boolean |
isAlive()
|
void |
run()
This loop is iterate over the available queue and asks the LPAS_DG_MS to find a job for that server. |
void |
setAlive(boolean alive)
|
void |
setLpas_dg_ms(LPAS_DG_MS lpas_dg_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 LPAS_DG_MS_ThreadRB(LPAS_DG_MS lpas_dg_ms)
lpas_dg_ms
- To set the lpas_dg_ms data member.Method Detail |
---|
public boolean isAlive()
public void setAlive(boolean alive)
public LPAS_DG_MS getLpas_dg_ms()
public void setLpas_dg_ms(LPAS_DG_MS lpas_dg_ms)
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 |