| java.lang.Object org.griphyn.cPlanner.poolinfo.PoolInfoProvider org.griphyn.cPlanner.poolinfo.Abstract org.griphyn.cPlanner.poolinfo.XML
XML | public class XML extends Abstract (Code) | | It gets the information about a pool by reading the pool config xml that is
generated from querying mds or using the static information provided by the
user at the submit host.
author: Gaurang Mehta gmehta@isi.edu author: Karan Vahi vahi@isi.edu version: $Revision: 50 $ |
Method Summary | |
public String | getPoolMode() Returns a textual description about the pool mode that is
implemented by this class. | public static PoolInfoProvider | nonSingletonInstance(String poolProvider, String propFileName) The method that returns a Non Singleton instance of the dervived
InfoProvider class. | public static PoolInfoProvider | singletonInstance(String poolProvider, String propFileName) The method returns a singleton instance of the derived InfoProvider class.
Parameters: poolProvider - the path to the file containing the pool information. Parameters: propFileName - the name of the properties file that needs to bepicked up from PEGASUS_HOME/etc directory. |
getPoolMode | public String getPoolMode()(Code) | | Returns a textual description about the pool mode that is
implemented by this class. It is purely informative.
String corresponding to the description. |
nonSingletonInstance | public static PoolInfoProvider nonSingletonInstance(String poolProvider, String propFileName)(Code) | | The method that returns a Non Singleton instance of the dervived
InfoProvider class. This method if invoked should also ensure that all
other internal Pegasus objects like PegasusProperties are invoked in a non
singleton manner.
Parameters: poolProvider - the path to the file containing the pool information. Parameters: propFileName - the name of the properties file that needs to bepicked up from PEGASUS_HOME/etc directory. If it is null,then the default file should be picked up. the non singleton instance of the pool provider. |
singletonInstance | public static PoolInfoProvider singletonInstance(String poolProvider, String propFileName)(Code) | | The method returns a singleton instance of the derived InfoProvider class.
Parameters: poolProvider - the path to the file containing the pool information. Parameters: propFileName - the name of the properties file that needs to bepicked up from PEGASUS_HOME/etc directory. In the singletoncase only the default properties file is picked up. a singleton instance of this class. |
Methods inherited from org.griphyn.cPlanner.poolinfo.PoolInfoProvider | public String getEnvironmentVariable(String siteID, String envVariable)(Code)(Java Doc) public String getExecPoolWorkDir(String executionPool)(Code)(Java Doc) public String getExecPoolWorkDir(SubInfo job)(Code)(Java Doc) public String getExecPoolWorkDir(String siteID, String path)(Code)(Java Doc) public String getExecPoolWorkDir(String siteID, String path, int jobClass)(Code)(Java Doc) abstract public List getGridFTPServers(String siteID)(Code)(Java Doc) abstract public List getJobmanagers(String siteID)(Code)(Java Doc) abstract public List getJobmanagers(String siteID, String universe)(Code)(Java Doc) public String getPegasusHome(String siteID)(Code)(Java Doc) abstract public SiteInfo getPoolEntry(String siteID, String universe)(Code)(Java Doc) abstract public String getPoolMode()(Code)(Java Doc) abstract public List getPoolProfile(String siteID)(Code)(Java Doc) public List getPoolProfile(String siteID, String namespace)(Code)(Java Doc) abstract public List getPools()(Code)(Java Doc) public String getSeMountPoint(SiteInfo site)(Code)(Java Doc) abstract public SysInfo getSysinfo(String siteID)(Code)(Java Doc) abstract public Map getSysinfos(List siteids)(Code)(Java Doc) public SiteInfo getTXPoolEntry(String poolName)(Code)(Java Doc) public String getURLPrefix(String poolName)(Code)(Java Doc) public String getVDS_HOME(String siteID)(Code)(Java Doc) public void loadNonSingletonObjects(String propFileName)(Code)(Java Doc) protected void loadSingletonObjects()(Code)(Java Doc) protected void logMessage(String msg)(Code)(Java Doc) public static PoolInfoProvider nonSingletonInstance(String poolProvider, String propFileName)(Code)(Java Doc) abstract public boolean removeGridFtp(String siteID, String urlPrefix)(Code)(Java Doc) abstract public boolean removeJobManager(String siteID, String universe, String jobManagerContact)(Code)(Java Doc) public GridFTPServer selectGridFtp(ArrayList ftp)(Code)(Java Doc) public String selectLRC(ArrayList lrcs)(Code)(Java Doc) public String selectWorkdir(WorkDir workdir) throws Exception(Code)(Java Doc) public static PoolInfoProvider singletonInstance(String poolProvider)(Code)(Java Doc)
|
|
|