|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.gridbus.broker.initializer.Initialization
This class handles initialization of variables for the Broker
| Constructor Summary | |
Initialization()
Constructor initialises the internal data structures for the broker properties, gatekeeper, datafiles and datahosts |
|
| Method Summary | |
java.lang.Object |
getComputeServers()
Returns the list of compute servers found |
java.util.Vector |
getDataFileList()
Returns the datafiles table |
java.util.Hashtable |
getDatahosts()
Returns the datahosts table |
java.util.Properties |
getDBProperties()
Returns the Broker properties object |
java.lang.Object |
getHostListObject()
Returns the hostlist object, which is a string (file name containing hosts) / collection of hosts |
java.lang.Object |
getJobs()
Gets the jobs prepared from the XML file. |
java.lang.String |
getPlanFileName()
Returns the plan file name |
RunFile |
getRunFileObj()
|
boolean |
isInputDataFilePresent()
True / False based on whether the input data file is present |
boolean |
isOutputDataFilePresent()
To be implemented |
void |
setDBProperties(java.util.Properties properties)
|
void |
setHostListObject(java.lang.Object object)
Sets the host list object which is a string(file name) / collection |
void |
setPlanFileName(java.lang.String string)
Sets the plan file name |
void |
setUp()
The setup method reads the following files: - plan file - gatekeeper file From the plan file, this method retrieves the logical filenames, resolves these to the actual physical file location, retrieves the file attributes for each file and sets up the datafiles and datahosts tables The plan file contents are also used to prepare the jobs to be scheduled From the gatekeeper file, the compute servers are discovered and probed. |
boolean |
transfer(Task task)
To be implemented in the future |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Initialization()
| Method Detail |
public void setUp()
throws java.lang.Exception
java.lang.Exception
public boolean transfer(Task task)
throws java.lang.Exception
task -
java.lang.Exceptionpublic java.lang.Object getJobs()
public java.lang.String getPlanFileName()
public void setPlanFileName(java.lang.String string)
string - (plan file name)public java.lang.Object getComputeServers()
public java.lang.Object getHostListObject()
public void setHostListObject(java.lang.Object object)
object - public java.util.Vector getDataFileList()
public java.util.Properties getDBProperties()
public void setDBProperties(java.util.Properties properties)
properties - public boolean isInputDataFilePresent()
public boolean isOutputDataFilePresent()
public java.util.Hashtable getDatahosts()
public RunFile getRunFileObj()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||