|
GridSim 5.0 beta | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
ObjectThread
Sim_entity
GridSimCore
GridResource
ParallelResource
public class ParallelResource
ParallelResource extends the GridResource class for
gaining communication and concurrent entity capabilities. An instance of
this class simulates a resource with properties defined in an object of
ResourceCharacteristics class to maintain compatible with GridSim.
To create a parallel resource consists you need a list of machines with PEs (Processing Element) with a suitable MIPS (Million Instructions Per Second) or SPEC (Standard Performance Evaluation Corporation) rating;
NOTE THAT:
WorkloadLublin99.
GridResource,
AllocPolicy| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class Thread |
|---|
Thread.State, Thread.UncaughtExceptionHandler |
| Field Summary |
|---|
| Fields inherited from class GridResource |
|---|
policy_, policyType_, regionalGISName_, resCalendar_, resource_, SIZE |
| Fields inherited from class GridSimCore |
|---|
input, NETWORK_TYPE, output |
| Fields inherited from class Thread |
|---|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
| Constructor Summary | |
|---|---|
ParallelResource(String name,
double baud_rate,
ResourceCharacteristics resource,
AllocPolicy policy)
Allocates a new object. |
|
ParallelResource(String name,
Link link,
ResourceCharacteristics resource,
AllocPolicy policy)
Allocates a new object. |
|
| Method Summary | |
|---|---|
protected void |
processOtherEvent(Sim_event ev)
Processes other events or services related to reservations. |
| Methods inherited from class GridResource |
|---|
body, getAllocationPolicy, getResourceCharacteristics, registerOtherEntity, setRegionalGIS, setRegionalGIS |
| 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 ParallelResource(String name,
double baud_rate,
ResourceCharacteristics resource,
AllocPolicy policy)
throws Exception
processOtherEvent(Sim_event).
name - the name to be associated with this entitybaud_rate - network communication or bandwidth speedresource - an object of ResourceCharacteristicspolicy - a scheduling policy for this resource. If no
scheduling policy is defined, the default one is
SpaceShared
Exception - This happens when one of the following scenarios occur:
null or empty
zero number of PEs (Processing
Elements).
GridSim.init(int, Calendar, boolean, String[], String[],
String),
GridSim.init(int, Calendar, boolean),
AllocPolicy
public ParallelResource(String name,
Link link,
ResourceCharacteristics resource,
AllocPolicy policy)
throws Exception
processOtherEvent(Sim_event).
name - the name to be associated with this entitylink - the link that will be used to connect this
GridResource to another Entity or Router.resource - an object of ResourceCharacteristicspolicy - a scheduling policy for this Grid resource. If no
scheduling policy is defined, the default one is
SpaceShared
Exception - This happens when one of the following scenarios occur:
null or empty
zero number of PEs (Processing
Elements).
GridSim.init(int, Calendar, boolean, String[], String[],
String),
AllocPolicy| Method Detail |
|---|
protected void processOtherEvent(Sim_event ev)
processOtherEvent in class GridResourceev - a Sim_event objectMessageType
|
GridSim 5.0 beta | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||