|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--org.gridbus.broker.scheduler.DataComputeSet
This class represents a DataCompute pair, which includes a data host, and a compute server
| Constructor Summary | |
DataComputeSet()
Default constructor |
|
DataComputeSet(ComputeServer cs,
DataHostFilePair dhp,
float time,
float budget)
Constructor for DataComputePair, sets up the internal data structures. |
|
| Method Summary | |
void |
addDataHostFilePair(DataHostFilePair dhp)
Sets the data host for this pair |
float |
getComputeCost()
Returns the computeCost. |
ComputeServer |
getComputeServer()
Returns the ComputeServer in the pair |
float |
getComputeTime()
|
float |
getDataCost()
Returns the dataCost. |
DataHost |
getDataHost(DataFile df)
Returns the DataHost in the pair |
java.util.Hashtable |
getDataTable()
|
float |
getDataTransferTime()
Returns the time for transferring data from the data host to the compute server |
float |
getTotalCost()
Returns the totalCost. |
float |
getTotalTime()
Returns the totalTime estimate for this pair |
void |
setComputeCost(float computeCost)
Sets the computeCost. |
void |
setComputeServer(ComputeServer server)
Sets the compute server for this pair |
void |
setComputeTime(float computeTime)
|
void |
setDataCost(float dataCost)
Sets the dataCost. |
void |
setDataTransferTime(float f)
Sets the time for transferring data from the data host to the compute server |
void |
setTotalCost(float totalCost)
Returns the totalCost. |
void |
setTotalTime(float f)
Sets the total time for this set |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public DataComputeSet()
public DataComputeSet(ComputeServer cs,
DataHostFilePair dhp,
float time,
float budget)
cs - - ComputeServerdhp - time - budget - | Method Detail |
public ComputeServer getComputeServer()
public DataHost getDataHost(DataFile df)
df -
public float getComputeTime()
public java.util.Hashtable getDataTable()
public void setComputeTime(float computeTime)
computeTime - The computeTime to set.public float getTotalTime()
public void setComputeServer(ComputeServer server)
server - public void addDataHostFilePair(DataHostFilePair dhp)
dhp - public void setTotalTime(float f)
f - public float getDataTransferTime()
public void setDataTransferTime(float f)
f - public float getComputeCost()
public void setComputeCost(float computeCost)
computeCost - public float getDataCost()
public void setDataCost(float dataCost)
dataCost - public float getTotalCost()
public void setTotalCost(float totalCost)
totalCost -
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||