|
GridSim 5.0 beta | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Object Gridlet DataGridlet
public class 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 Gridlet |
---|
CANCELED, CREATED, FAILED, FAILED_RESOURCE_UNAVAILABLE, 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 Gridletpublic 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 Gridletpublic 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 notMethod 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 5.0 beta | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |