| |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | 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.
Fields inherited from class gridsim.GridSim |
rand, SimulationStartDate |
Fields inherited from class java.lang.Thread |
MIN_PRIORITY, NORM_PRIORITY, MAX_PRIORITY |
Constructor Summary | |
GridSimShutdown(String name, int no_of_users, String ReportWriterName) |
Method Summary | |
void | body() |
void | ShutdownResources() Discover resources and Send END_OF_SIMULATION message to them. |
Methods inherited from class gridsim.GridSim |
Clock, GetEntityId, GetEntityName, GetGridResourceList, GetSimulationStartDate, GridInformationServiceEntityId, GridSimHold, GridSimShutdownEntityId, GridStatisticsEntityId, Init, IsNetworked, RecordStatistics, RecordStatistics, RecordStatistics, RecordStatistics, Start, Stop |
Methods inherited from class eduni.simjava.Sim_entity |
set_invisible, get_name, get_id, get_port, get_port, add_port, add_param, sim_hold, sim_hold_for, sim_trace, sim_schedule, sim_schedule, sim_schedule, sim_schedule, sim_schedule, sim_schedule, sim_wait, sim_waiting, sim_waiting, sim_select, sim_cancel, sim_wait_for, sim_putback, sim_get_next, sim_get_next, sim_current, send_on, run |
Methods inherited from class java.lang.Thread |
currentThread, yield, sleep, sleep, start, stop, stop, interrupt, interrupted, isInterrupted, destroy, isAlive, suspend, resume, setPriority, getPriority, setName, getName, getThreadGroup, activeCount, enumerate, countStackFrames, join, join, join, dumpStack, setDaemon, isDaemon, checkAccess, toString, getContextClassLoader, setContextClassLoader |
Methods inherited from class java.lang.Object |
getClass, hashCode, equals, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public GridSimShutdown(String name, int no_of_users, String ReportWriterName)
Method Detail |
public void body()
public void ShutdownResources()
Association Links |
| |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |