edu.isi.pegasus.planner.catalog.site.impl.old
public abstract class Abstract extends PoolInfoProvider
PoolConfig
object. The object once populated contains all
the contents of the catalog.mPoolConfig
Modifier and Type | Field and Description |
---|---|
protected PoolConfig |
mPoolConfig
Handle to the PoolConfig object
|
mDeepStorageStructure, mLogger, mLogMsg, mPoolProvider, mProps, mStorageDir, mUserOpts, mWorkDir, PEGASUS_HOME, VDS_HOME
Constructor and Description |
---|
Abstract() |
Modifier and Type | Method and Description |
---|---|
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
|
VDSSysInfo |
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.
|
getEnvironmentVariable, getExecPoolWorkDir, getExecPoolWorkDir, getExecPoolWorkDir, getExecPoolWorkDir, getPegasusHome, getPoolMode, getPoolProfile, getSeMountPoint, getTXPoolEntry, getURLPrefix, getVDS_HOME, loadNonSingletonObjects, loadSingletonObjects, logMessage, nonSingletonInstance, selectGridFtp, selectLRC, selectWorkdir, singletonInstance
protected PoolConfig mPoolConfig
public Map getSysinfos(List siteids)
getSysinfos
in class PoolInfoProvider
siteids
- List The siteid whose system information is requiredorg.griphyn.common.classes.VDSSysInfo
public VDSSysInfo getSysinfo(String siteID)
getSysinfo
in class PoolInfoProvider
siteID
- String The site whose system information is requestedorg.griphyn.common.classes.VDSSysInfo
public SiteInfo getPoolEntry(String siteID, String universe)
getPoolEntry
in class PoolInfoProvider
siteID
- the name of the siteuniverse
- the execution universe for the jobpublic List getPoolProfile(String siteID)
getPoolProfile
in class PoolInfoProvider
siteID
- 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.org.griphyn.cPlanner.classes.Profile
public List getJobmanagers(String siteID)
getJobmanagers
in class PoolInfoProvider
siteID
- 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 PoolInfoProvider
siteID
- 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 PoolInfoProvider
siteID
- 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 PoolInfoProvider
siteID
- 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 PoolInfoProvider
siteID
- the name of the site at which the gridftp runs.urlPrefix
- the url prefix containing the protocol,hostname and port.