gridsim
Class GridResource

java.lang.Object
  |
  +--java.lang.Thread
        |
        +--eduni.simjava.Sim_entity
              |
              +--gridsim.GridSim
                    |
                    +--gridsim.GridResource

public class GridResource
extends GridSim

It is a Resource Entity, which simulates time and space share machines.
The Resource can be a single CPU machines, SMP, or cluster.


Inner Class Summary
 (package private) classGridResource.MIShares
           

Fields inherited from class gridsim.GridSim
rand, SimulationStartDate

Fields inherited from class java.lang.Thread
MIN_PRIORITY, NORM_PRIORITY, MAX_PRIORITY

Constructor Summary
GridResource(String name, double baud_rate, long seed, ResourceCharacteristics resource, double peakLoad, double offpeakLoad, double relativeHolidayLoad, LinkedList weekends, LinkedList holydays)
           

Method Summary
 voidbody()
           

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

GridResource

public GridResource(String name, double baud_rate, long seed, ResourceCharacteristics resource, double peakLoad, double offpeakLoad, double relativeHolidayLoad, LinkedList weekends, LinkedList holydays)
Method Detail

body

public void body()

Association Links

to Class java.util.Random

to Class gridsim.ResourceCharacteristics

to Class gridsim.ResourceCalendar

to Class gridsim.ResourceUserList

to Class gridsim.ResGridletList

to Class gridsim.ResGridletList

to Class gridsim.ResGridletList

to Class gridsim.Accumulator