GridSim
v4.0

gridsim.datagrid.index
Class DataRegionalGIS

Object
  extended byThread
      extended byeduni.simjava.Sim_entity
          extended bygridsim.GridSimCore
              extended bygridsim.index.AbstractGIS
                  extended bygridsim.index.RegionalGIS
                      extended bygridsim.datagrid.index.DataRegionalGIS
All Implemented Interfaces:
Cloneable, Runnable

public class DataRegionalGIS
extends RegionalGIS

A data GridInformationService (GIS) entity that is responsible for storing a registration info from a Replica Catalogue (RC) entity and answering any incoming queries.

Since:
GridSim Toolkit 4.0
Author:
Uros Cibej and Anthony Sulistio

Field Summary
 
Fields inherited from class gridsim.index.RegionalGIS
myID_
 
Fields inherited from class gridsim.index.AbstractGIS
GIS_INQUIRY_RESOURCE_AR_LIST, GIS_INQUIRY_RESOURCE_AR_RESULT, GIS_INQUIRY_RESOURCE_LIST, GIS_INQUIRY_RESOURCE_RESULT, INQUIRY_GLOBAL_RESOURCE_AR_LIST, INQUIRY_GLOBAL_RESOURCE_LIST, INQUIRY_LOCAL_RESOURCE_AR_LIST, INQUIRY_LOCAL_RESOURCE_LIST, INQUIRY_REGIONAL_GIS, REGISTER_REGIONAL_GIS, REGISTER_RESOURCE, REGISTER_RESOURCE_AR, systemGIS_
 
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
DataRegionalGIS(String name, Link link)
          Creates a new Data GIS entity
 
Method Summary
protected  void processEndSimulation()
          Notifies the registered entities about the end of simulation.
protected  void processOtherEvent(Sim_event ev)
          Processes an incoming request related to a RC inquiry.
 
Methods inherited from class gridsim.index.RegionalGIS
getListFromOtherRegional, processGISResourceARList, processGISResourceARResult, processGISResourceList, processGISResourceResult, processGlobalResourceARList, processGlobalResourceList, processInquiryRegionalGIS, processRegisterResource, processRegisterResourceAR, processResourceARList, processResourceList, registerOtherEntity, requestFromSystemGIS, requestFromSystemGIS, sendListToSender, storeRegistrationID
 
Methods inherited from class gridsim.index.AbstractGIS
body, notifySystemGIS
 
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

DataRegionalGIS

public DataRegionalGIS(String name,
                       Link link)
                throws Exception
Creates a new Data GIS entity

Parameters:
name - this entity name
link - the link that this GridSim entity will use to communicate with other GridSim or Network entities.
Throws:
Exception - This happens when one of the input parameters are invalid.
Method Detail

processOtherEvent

protected void processOtherEvent(Sim_event ev)
Processes an incoming request related to a RC inquiry.

Overrides:
processOtherEvent in class RegionalGIS
Parameters:
ev - a Sim_event object (or an incoming event or request)

processEndSimulation

protected void processEndSimulation()
Notifies the registered entities about the end of simulation.

Overrides:
processEndSimulation in class RegionalGIS

GridSim
v4.0

The University of Melbourne, Australia, 2006