|
GridSim v4.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectThread
eduni.simjava.Sim_entity
gridsim.GridSimCore
gridsim.GridInformationService
gridsim.datagrid.index.DataGIS
A Data GridInformationService (GIS) entity that is responsible only for
storing a registration info from a Replica Catalogue (RC) entity.
This class is only used by GridSim for notifying the end of a simulation
to the registered RC entities.
Hence, users and resources communicate to a Data GIS using the
DataRegionalGIS
class.
DataRegionalGIS
Field Summary |
Fields inherited from class gridsim.GridSimCore |
input, output |
Fields inherited from class eduni.simjava.Sim_entity |
|
Fields inherited from class Thread |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
Constructor Summary | |
DataGIS()
Allocates a new Data GIS |
|
DataGIS(String name)
Allocates a new Data GIS with a default baud rate. |
|
DataGIS(String name,
double baud_rate)
Allocates a new Data GIS |
Method Summary | |
protected void |
processEndSimulation()
Notifies the registered entities about the end of simulation. |
protected void |
processOtherEvent(Sim_event ev)
Processes an incoming request for registering a RC entity. |
Methods inherited from class gridsim.GridInformationService |
body, getAdvReservList, getList, isResourceExist, isResourceExist, resourceSupportAR, resourceSupportAR, signalShutdown |
Methods inherited from class gridsim.GridSimCore |
finalize, finalizeGridSimulation, getLink, getPingResult, isNetworked, IsNetworked, ping, ping, ping, ping, pingBlockingCall, pingBlockingCall, pingBlockingCall, pingBlockingCall, send, Send, send, Send, send, Send, send, Send, send, Send, send, Send, setBackgroundTraffic, setBackgroundTraffic, TerminateInputOutputEntities, terminateIOEntities |
Methods inherited from class eduni.simjava.Sim_entity |
add_generator, add_param, add_port, clone, get_id, get_name, get_port, get_port, get_stat, run, send_on, set_invisible, set_stat, sim_cancel, sim_completed, sim_current, sim_get_next, sim_get_next, sim_hold_for, sim_hold, sim_pause_for, sim_pause_for, sim_pause_until, sim_pause_until, sim_pause, sim_process_for, sim_process_for, sim_process_until, sim_process_until, sim_process, sim_putback, sim_schedule, sim_schedule, sim_schedule, sim_schedule, sim_schedule, sim_schedule, sim_select, sim_trace, sim_wait_for, sim_wait_for, sim_wait_for, sim_wait, sim_waiting, sim_waiting |
Methods inherited from class 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 Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public DataGIS(String name, double baud_rate) throws Exception
name
- the name to be associated with this entity (as
required by Sim_entity class from simjava package)baud_rate
- communication speed
Exception
- This happens when creating this entity before
initializing GridSim package or this entity name is
null or emptyGridSim.init(int, Calendar, boolean)
,
GridSim.init(int, Calendar, boolean, String[], String[],
String)
,
Sim_entity
public DataGIS() throws Exception
Exception
- This happens when creating this entity before
initializing GridSim packageGridSim.init(int, Calendar, boolean)
,
GridSim.init(int, Calendar, boolean, String[], String[],
String)
,
Sim_entity
public DataGIS(String name) throws Exception
name
- the name to be associated with this entity (as
required by Sim_entity class from simjava package)
Exception
- This happens when creating this entity before
initializing GridSim package or this entity name is
null or emptyGridSim.init(int, Calendar, boolean)
,
GridSim.init(int, Calendar, boolean, String[], String[],
String)
,
Sim_entity
Method Detail |
protected void processOtherEvent(Sim_event ev)
processOtherEvent
in class GridInformationService
ev
- a Sim_event object (or an incoming event or request)GridInformationService.body()
protected void processEndSimulation()
processEndSimulation
in class GridInformationService
|
GridSim v4.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |