mapping
Class Gcu_MS_Thread

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

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

This Thread is a helper thread for the Gcu_MS objects. It is a thread that iterates over the AvailableServers Queue and asks the Gcu_MS object to map a job for the server in the head of that queue.

Author:
Majd Kokaly

Constructor Summary
Gcu_MS_Thread(Gcu_MS gcu_ms)
          Defualt constructor
 
Method Summary
 Gcu_MS getGcu_ms()
           
 boolean isAlive()
           
 void run()
           
 void setAlive(boolean alive)
           
 void setGcu_ms(Gcu_MS gcu_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

Gcu_MS_Thread

public Gcu_MS_Thread(Gcu_MS gcu_ms)
Defualt constructor

Parameters:
gcu_ms - To set the gcu_ms data member.
Method Detail

isAlive

public boolean isAlive()

setAlive

public void setAlive(boolean alive)

getGcu_ms

public Gcu_MS getGcu_ms()

setGcu_ms

public void setGcu_ms(Gcu_MS gcu_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