mapping
Class SLQ_MS_Thread

java.lang.Object
  extended by mapping.SLQ_MS_Thread
All Implemented Interfaces:
java.lang.Runnable

public class SLQ_MS_Thread
extends java.lang.Object
implements java.lang.Runnable

This Thread is a helper thread for the SLQ_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

Author:
Majd Kokaly, used by Ben Kybartas

Constructor Summary
SLQ_MS_Thread(SLQ_MS slq_ms)
          A default constructor
 
Method Summary
 SLQ_MS getSLQ_MS()
           
 boolean isAlive()
           
 void run()
           
 void setAlive(boolean alive)
           
 void setSLQ_MS(SLQ_MS slq_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

SLQ_MS_Thread

public SLQ_MS_Thread(SLQ_MS slq_ms)
A default constructor

Method Detail

isAlive

public boolean isAlive()

setAlive

public void setAlive(boolean alive)

getSLQ_MS

public SLQ_MS getSLQ_MS()

setSLQ_MS

public void setSLQ_MS(SLQ_MS slq_ms)

startThread

public void startThread()
This method starts the thread


stopThread

public void stopThread()
This method stops the thread


run

public void run()
Specified by:
run in interface java.lang.Runnable