|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.gridbus.broker.scheduler.DataComputePair
This class represents a DataCompute pair, which includes a data host, and a compute server
| Constructor Summary | |
DataComputePair()
Default constructor |
|
DataComputePair(ComputeServer cs,
DataHost dh,
float time,
float budget)
Constructor for DataComputePair, sets up the internal data structures. |
|
| Method Summary | |
float |
getComputeCost()
Returns the computeCost. |
ComputeServer |
getComputeServer()
Returns the ComputeServer in the pair |
float |
getDataCost()
Returns the dataCost. |
DataHost |
getDataHost()
Returns the DataHost in the pair |
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 |
setDataCost(float dataCost)
Sets the dataCost. |
void |
setDataHost(DataHost host)
Sets the data host for this pair |
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 pair |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public DataComputePair()
public DataComputePair(ComputeServer cs,
DataHost dh,
float time,
float budget)
cs - - ComputeServerdh - - DataHosttime - budget - | Method Detail |
public ComputeServer getComputeServer()
public DataHost getDataHost()
public float getTotalTime()
public void setComputeServer(ComputeServer server)
server - public void setDataHost(DataHost host)
host - 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 | ||||||||||