|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.lang.Thread | +--Creator
Field Summary | |
Queue |
FIFO
|
Fields inherited from class java.lang.Thread |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
Method Summary | |
void |
create()
Create a new process |
boolean |
getArrType()
Accesor method to read the arrival process type |
boolean |
getProcType()
Accesor method to read the process duration distribution |
int |
getServiceTime()
Accesor method to read the service time parameter |
void |
pause()
Pause the execution of the creator |
void |
run()
Call create method and sleep |
void |
setArrivalTime(float newArrivalTime)
Accesor method to modify the arrivalTime |
void |
setArrType(boolean type)
Accesor method to modify the arrival process type |
void |
setProcType(boolean type)
Accesor method to modify the process duration distribution |
void |
setServiceTime(float newServiceTime)
Accesor method to modify the service time parameter |
void |
turnoff()
Stop the execution of the creator |
Methods inherited from class java.lang.Thread |
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public Queue FIFO
Method Detail |
public void setArrivalTime(float newArrivalTime)
newArrivalTime
- float new Arrival Time valuepublic boolean getArrType()
public void setArrType(boolean type)
type
- boolean new arrival type valuepublic int getServiceTime()
public void setServiceTime(float newServiceTime)
newServiceTime
- float new service time valuepublic boolean getProcType()
public void setProcType(boolean type)
type
- boolean new proc type valuepublic void create()
public void pause()
public void turnoff()
public void run()
run
in interface java.lang.Runnable
run
in class java.lang.Thread
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |