|
GridSim 5.0 beta | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
ObjectThread
Sim_entity
GridSimCore
GridInformationService
DataGIS
public class 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| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class Thread |
|---|
Thread.State, Thread.UncaughtExceptionHandler |
| Field Summary |
|---|
| Fields inherited from class GridSimCore |
|---|
input, NETWORK_TYPE, output |
| 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 GridInformationService |
|---|
body, getAdvReservList, getList, isResourceExist, isResourceExist, resourceSupportAR, resourceSupportAR, signalShutdown |
| Methods inherited from class GridSimCore |
|---|
finalizeGridSimulation, getLink, getPingResult, isNetworked, ping, ping, ping, ping, pingBlockingCall, pingBlockingCall, pingBlockingCall, pingBlockingCall, send, send, send, send, send, send, setBackgroundTraffic, setBackgroundTraffic, terminateIOEntities |
| Methods inherited from class Thread |
|---|
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield |
| Methods inherited from class Object |
|---|
equals, finalize, 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 GridInformationServiceev - a Sim_event object (or an incoming event or request)GridInformationService.body()protected void processEndSimulation()
processEndSimulation in class GridInformationService
|
GridSim 5.0 beta | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||