Class Proc

java.lang.Object
  |
  +--Proc

public class Proc
extends java.lang.Object

File: Proc class Description: This class implements a Process for the simulation. A process has two parameters: the process duration, timeLeft; the process name, procName. Project: MAC-5755 Sistemas Operacionais Distribuídos Authors: Fábio Grezele (fg@ime.usp.br) Rachel de Paula(rpaula@ime.usp.br) Institution: Department of Computer Science University of Sao Paulo


Method Summary
 float getCreation()
          Accesor method to read the time of process creation
 java.lang.String getName()
          Accesor method to read procName
 int getTime()
          Accesor method to read timeLeft
 void setTime(int newTime)
          Accesor method to modify timeLeft
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getCreation

public float getCreation()
Accesor method to read the time of process creation

getTime

public int getTime()
Accesor method to read timeLeft

setTime

public void setTime(int newTime)
Accesor method to modify timeLeft

getName

public java.lang.String getName()
Accesor method to read procName