Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## mapping
Class FCFS_MS_Thread

    java.lang.Object
      mapping.FCFS_MS_Thread

All Implemented Interfaces:
  java.lang.Runnable

    public class FCFS_MS_Thread

extends java.lang.Object
implements java.lang.Runnable

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.

Author:
  Majd Kokaly

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

### FCFS_MS_Thread

    public FCFS_MS_Thread(FCFS_MS fcfs_ms)

  A default constructor.

  Parameters:
    `fcfs_ms` - The FCFS_MS object.

Method Detail

### isAlive

    public boolean isAlive()

### setAlive

    public void setAlive(boolean alive)

### startThread

    public void startThread()

  This method starts the thread.

### stopThread

    public void stopThread()

  This method stops the thread.

### run

    public void run()

  This thread iterates over the AvailableServer queue and ask the FCFS_MS object to map them.

  Specified by:
    `run` in interface `java.lang.Runnable`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD