org.gridbus.broker.scheduler
Class DataHostFilePair

java.lang.Object
  extended by org.gridbus.broker.scheduler.DataHostFilePair

public class DataHostFilePair
extends java.lang.Object

This class represents a DataCompute pair, which includes a data host, and a compute server

Author:
Srikumar Venugopal (srikumar@cs.mu.oz.au)

Constructor Summary
DataHostFilePair()
          Default constructor
DataHostFilePair(DataFile df, DataHost dh)
          Default constructor
 
Method Summary
 DataFile getDataFile()
           
 DataHost getDataHost()
           
 void setDataFile(DataFile dataFile)
           
 void setDataHost(DataHost dataHost)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DataHostFilePair

public DataHostFilePair()
Default constructor


DataHostFilePair

public DataHostFilePair(DataFile df,
                        DataHost dh)
Default constructor

Parameters:
df -
dh -
Method Detail

getDataFile

public DataFile getDataFile()
Returns:
Returns the dataFile.

setDataFile

public void setDataFile(DataFile dataFile)
Parameters:
dataFile - The dataFile to set.

getDataHost

public DataHost getDataHost()
Returns:
Returns the dataHost.

setDataHost

public void setDataHost(DataHost dataHost)
Parameters:
dataHost - The dataHost to set.