|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.isi.pegasus.planner.catalog.site.impl.old.PoolInfoProvider
edu.isi.pegasus.planner.catalog.site.impl.old.Abstract
edu.isi.pegasus.planner.catalog.site.impl.old.Text
public class Text
It gets the information about a pool by reading the multiline site catalog that is in a multiline format.
| Field Summary | |
|---|---|
private static Text |
mPoolHandle
The internal singleton handle. |
| Fields inherited from class edu.isi.pegasus.planner.catalog.site.impl.old.Abstract |
|---|
mPoolConfig |
| Fields inherited from class edu.isi.pegasus.planner.catalog.site.impl.old.PoolInfoProvider |
|---|
mDeepStorageStructure, mLogger, mLogMsg, mPoolProvider, mProps, mStorageDir, mUserOpts, mWorkDir, PEGASUS_HOME, VDS_HOME |
| Constructor Summary | |
|---|---|
private |
Text(String poolProvider)
The private constructor that is called only once, when the Singleton is invoked for the first time. |
private |
Text(String poolProvider,
String propFileName)
The private constructor that is called to return a non singleton instance of the class. |
| Method Summary | |
|---|---|
String |
getPoolMode()
Returns a textual description about the pool mode that is implemented by this class. |
static PoolInfoProvider |
nonSingletonInstance(String poolProvider,
String propFileName)
The method that returns a Non Singleton instance of the dervived InfoProvider class. |
static PoolInfoProvider |
singletonInstance(String poolProvider,
String propFileName)
The method returns a singleton instance of the derived InfoProvider class. |
| Methods inherited from class edu.isi.pegasus.planner.catalog.site.impl.old.Abstract |
|---|
getGridFTPServers, getJobmanagers, getJobmanagers, getPoolEntry, getPoolProfile, getPools, getSysinfo, getSysinfos, removeGridFtp, removeJobManager |
| Methods inherited from class edu.isi.pegasus.planner.catalog.site.impl.old.PoolInfoProvider |
|---|
getEnvironmentVariable, getExecPoolWorkDir, getExecPoolWorkDir, getExecPoolWorkDir, getExecPoolWorkDir, getPegasusHome, getPoolProfile, getSeMountPoint, getTXPoolEntry, getURLPrefix, getVDS_HOME, loadNonSingletonObjects, loadSingletonObjects, logMessage, selectGridFtp, selectLRC, selectWorkdir, singletonInstance |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private static Text mPoolHandle
| Constructor Detail |
|---|
private Text(String poolProvider)
poolProvider - the path to the file that contains the pool
information in the multiline text format.
private Text(String poolProvider,
String propFileName)
poolProvider - the path to the file that contains the pool
information in the xml format.propFileName - the name of the properties file that needs to be
picked up from PEGASUS_HOME/etc directory.If it is null,
then the default properties file should be picked up.| Method Detail |
|---|
public String getPoolMode()
getPoolMode in class PoolInfoProvider
public static PoolInfoProvider singletonInstance(String poolProvider,
String propFileName)
poolProvider - the path to the file containing the pool information.propFileName - the name of the properties file that needs to be
picked up from PEGASUS_HOME/etc directory. In the singleton
case only the default properties file is picked up.
public static PoolInfoProvider nonSingletonInstance(String poolProvider,
String propFileName)
poolProvider - the path to the file containing the pool information.propFileName - the name of the properties file that needs to be
picked up from PEGASUS_HOME/etc directory. If it is null,
then the default file should be picked up.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||