|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.lang.Thread | +--eduni.simjava.Sim_entity | +--gridsim.GridSim | +--gridsim.GridSimShutdown
This class wraps up the simulation by signaling the END to the entities. It sends END_OF_SIMULATION message to various GridSim entities on receiving END_OF_SIMULATION from all User entities.
Field Summary |
Fields inherited from class gridsim.GridSim |
input, output, rand, SimulationStartDate |
Fields inherited from class eduni.simjava.Sim_entity |
|
Fields inherited from class java.lang.Thread |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
Constructor Summary | |
GridSimShutdown(java.lang.String name,
int no_of_users,
java.lang.String ReportWriterName)
|
Method Summary | |
void |
body()
|
void |
ShutdownResources()
Discover resources and Send END_OF_SIMULATION message to them. |
Methods inherited from class eduni.simjava.Sim_entity |
add_param, add_port, get_id, get_name, get_port, get_port, run, send_on, set_invisible, sim_cancel, sim_current, sim_get_next, sim_get_next, sim_hold_for, sim_hold, sim_putback, sim_schedule, sim_schedule, sim_schedule, sim_schedule, sim_schedule, sim_schedule, sim_select, sim_trace, sim_wait_for, sim_wait, sim_waiting, sim_waiting |
Methods inherited from class java.lang.Thread |
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, 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, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public GridSimShutdown(java.lang.String name, int no_of_users, java.lang.String ReportWriterName)
Method Detail |
public void ShutdownResources()
public void body()
body
in class eduni.simjava.Sim_entity
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |