|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.griphyn.cPlanner.poolinfo.PoolInfoProvider
org.griphyn.cPlanner.poolinfo.Abstract
public abstract class Abstract
An abstract implementation of the PoolInfoProvider. Implementations should
extend it, only if they are statically loading information into a
PoolConfig object. The object once populated contains all
the contents of the catalog.
mPoolConfig| Field Summary | |
|---|---|
protected PoolConfig |
mPoolConfig
Handle to the PoolConfig object |
| Fields inherited from class org.griphyn.cPlanner.poolinfo.PoolInfoProvider |
|---|
mDeepStorageStructure, mLogger, mLogMsg, mPoolProvider, mProps, mStorageDir, mUserOpts, mWorkDir, PEGASUS_HOME, VDS_HOME |
| Constructor Summary | |
|---|---|
Abstract()
|
|
| Method Summary | |
|---|---|
List |
getGridFTPServers(String siteID)
It returns all the gridftp servers corresponding to a specified pool. |
List |
getJobmanagers(String siteID)
It returns all the jobmanagers corresponding to a specified site. |
List |
getJobmanagers(String siteID,
String universe)
It returns all the jobmanagers corresponding to a specified pool and universe. |
SiteInfo |
getPoolEntry(String siteID,
String universe)
Gets the pool information from the pool.config file on the basis of the name of the pool, and the universe. |
List |
getPoolProfile(String siteID)
It returns the profile information associated with a particular pool. |
List |
getPools()
It returns all the pools available in the site catalog |
SysInfo |
getSysinfo(String siteID)
Returns the System information for a single site. |
Map |
getSysinfos(List siteids)
Returns the System information for a bunch of sites. |
boolean |
removeGridFtp(String siteID,
String urlPrefix)
This is a soft state remove, that removes a gridftp server from a particular pool entry. |
boolean |
removeJobManager(String siteID,
String universe,
String jobManagerContact)
This is a soft state remove, that removes a jobmanager from a particular pool entry. |
| Methods inherited from class org.griphyn.cPlanner.poolinfo.PoolInfoProvider |
|---|
getEnvironmentVariable, getExecPoolWorkDir, getExecPoolWorkDir, getExecPoolWorkDir, getExecPoolWorkDir, getPegasusHome, getPoolMode, getPoolProfile, getSeMountPoint, getTXPoolEntry, getURLPrefix, getVDS_HOME, loadNonSingletonObjects, loadSingletonObjects, logMessage, nonSingletonInstance, selectGridFtp, selectLRC, selectWorkdir, singletonInstance |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected PoolConfig mPoolConfig
| Constructor Detail |
|---|
public Abstract()
| Method Detail |
|---|
public Map getSysinfos(List siteids)
getSysinfos in class PoolInfoProvidersiteids - List The siteid whose system information is required
SysInfopublic SysInfo getSysinfo(String siteID)
getSysinfo in class PoolInfoProvidersiteID - String The site whose system information is requested
SysInfo
public SiteInfo getPoolEntry(String siteID,
String universe)
getPoolEntry in class PoolInfoProvidersiteID - the name of the siteuniverse - the execution universe for the job
public List getPoolProfile(String siteID)
getPoolProfile in class PoolInfoProvidersiteID - the name of the site, whose profile information you want.
Profile objects
null if the information about the site is not with the pool provider.Profilepublic List getJobmanagers(String siteID)
getJobmanagers in class PoolInfoProvidersiteID - the name of the site at which the jobmanager runs.
JobManager, each referring to
one jobmanager contact string. An empty list if no jobmanagers
found.
public List getJobmanagers(String siteID,
String universe)
getJobmanagers in class PoolInfoProvidersiteID - the name of the site at which the jobmanager runs.universe - the gvds universe with which it is associated.
JobManager, each referring to
one jobmanager contact string. An empty list if no jobmanagers
found.public List getGridFTPServers(String siteID)
getGridFTPServers in class PoolInfoProvidersiteID - the name of the site at which the jobmanager runs.
GridFTPServer, each referring to one
GridFtp Server.public List getPools()
getPools in class PoolInfoProvider
public boolean removeJobManager(String siteID,
String universe,
String jobManagerContact)
removeJobManager in class PoolInfoProvidersiteID - the name of the site at which the jobmanager runs.universe - the gvds universe with which it is associated.jobManagerContact - the contact string to the jobmanager.
public boolean removeGridFtp(String siteID,
String urlPrefix)
removeGridFtp in class PoolInfoProvidersiteID - the name of the site at which the gridftp runs.urlPrefix - the url prefix containing the protocol,hostname and port.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||