|
GridSim v4.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Objectgridsim.Gridlet
gridsim.datagrid.DataGridlet
A DataGridlet is an extension of the Gridlet class,
which requires one or more data files to run.
| Field Summary |
| Fields inherited from class gridsim.Gridlet |
CANCELED, CREATED, FAILED, INEXEC, PAUSED, QUEUED, READY, RESUMED, SUCCESS |
| Constructor Summary | |
DataGridlet(int gridletID,
double gridletLength,
long gridletFileSize,
long gridletOutputSize,
boolean record)
Creates a new DataGridlet object. |
|
DataGridlet(int gridletID,
double gridletLength,
long gridletFileSize,
long gridletOutputSize,
boolean record,
LinkedList list)
Creates a new DataGridlet object. |
|
DataGridlet(int gridletID,
double gridletLength,
long gridletFileSize,
long gridletOutputSize,
LinkedList list)
Creates a new DataGridlet object. |
|
| Method Summary | |
boolean |
addRequiredFile(String fileName)
Adds the required filename to the list |
boolean |
deleteRequiredFile(String filename)
Deletes the given filename from the list |
LinkedList |
getRequiredFiles()
Returns the list files that this gridlet needs for execution. |
boolean |
requiresFiles()
Checks whether this gridlet requires any files or not |
| Methods inherited from class Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public DataGridlet(int gridletID,
double gridletLength,
long gridletFileSize,
long gridletOutputSize,
LinkedList list)
gridletID - the unique ID of this GridletgridletLength - the length or size (in MI) of this Gridlet
to be executed in a GridResourcegridletFileSize - the file size (in byte) of this Gridlet
BEFORE submitting to a GridResourcegridletOutputSize - the file size (in byte) of this Gridlet
AFTER finish executing by
a GridResourcelist - a list of required filenames to execute
this Gridlet
public DataGridlet(int gridletID,
double gridletLength,
long gridletFileSize,
long gridletOutputSize,
boolean record,
LinkedList list)
gridletID - the unique ID of this GridletgridletLength - the length or size (in MI) of this Gridlet
to be executed in a GridResourcegridletFileSize - the file size (in byte) of this Gridlet
BEFORE submitting to a GridResourcegridletOutputSize - the file size (in byte) of this Gridlet
AFTER finish executing by
a GridResourcerecord - record the history of this object or notlist - a list of required files to execute
this Gridlet
public DataGridlet(int gridletID,
double gridletLength,
long gridletFileSize,
long gridletOutputSize,
boolean record)
gridletID - the unique ID of this GridletgridletLength - the length or size (in MI) of this Gridlet
to be executed in a GridResourcegridletFileSize - the file size (in byte) of this Gridlet
BEFORE submitting to a GridResourcegridletOutputSize - the file size (in byte) of this Gridlet
AFTER finish executing by
a GridResourcerecord - record the history of this object or not| Method Detail |
public LinkedList getRequiredFiles()
public boolean addRequiredFile(String fileName)
fileName - the required filename
public boolean deleteRequiredFile(String filename)
filename - the given filename to be deleted
public boolean requiresFiles()
|
GridSim v4.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||