gov.bnl.star.offline.scheduler.informationService
Class VORS
java.lang.Object
gov.bnl.star.offline.scheduler.informationService.VORS
- All Implemented Interfaces:
- InformationService
public class VORS
- extends java.lang.Object
- implements InformationService
Implements the Virtual Organization Resource Selector (VORS) information service
- Author:
- Levente B. Hajdu
|
Constructor Summary |
VORS()
Creates a new instance of VORS |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VORS
public VORS()
- Creates a new instance of VORS
setSiteID
public void setSiteID(java.lang.String siteID)
- Specified by:
setSiteID in interface InformationService
- Parameters:
siteID - a string used to identify the site to the information service
getSiteID
public java.lang.String getSiteID()
- Specified by:
getSiteID in interface InformationService
- Returns:
- a string used to identify the site with in the information service
setService
public void setService(java.lang.String service)
- Specified by:
setService in interface InformationService
- Parameters:
service - the url of the service
getService
public java.lang.String getService()
- Specified by:
getService in interface InformationService
- Returns:
- the url of the service
getSiteInfo
public java.lang.String getSiteInfo(java.lang.String site,
java.lang.String info)
- Description copied from interface:
InformationService
- The most basic member used to recover data from the information service
- Specified by:
getSiteInfo in interface InformationService
- Parameters:
site - a string used to identify the site to the information serviceinfo - the requested information service parameter name
- Returns:
- data recoved from information service, always formated as a string (even numbers)
getAppDir
public java.lang.String getAppDir()
- Specified by:
getAppDir in interface InformationService
- Returns:
- The OSG $app location
getDataDir
public java.lang.String getDataDir()
- Specified by:
getDataDir in interface InformationService
- Returns:
- The OSG $data location
getWNTmpDir
public java.lang.String getWNTmpDir()
- Specified by:
getWNTmpDir in interface InformationService
- Returns:
- The temp dir on the worked node
getGKGlobusDir
public java.lang.String getGKGlobusDir()
- Specified by:
getGKGlobusDir in interface InformationService
- Returns:
- The Globus gatekeeper folder
getWNClient
public java.lang.String getWNClient()
- Specified by:
getWNClient in interface InformationService
- Returns:
- The OSG client folder on each worker node
getJobManager
public java.util.List getJobManager()
refreshConnections
public void refreshConnections()
getJobManagersList
public java.util.List getJobManagersList(java.lang.String VORSurl,
java.lang.String site)
getParam
public java.lang.String getParam(java.lang.String VORSurl,
java.lang.String site,
java.lang.String param)
recoverData
public java.lang.String recoverData(java.lang.String url,
java.lang.String matches,
java.lang.String selectionGroup)
recoverDataList
public java.util.List recoverDataList(java.lang.String url,
java.lang.String matches,
java.lang.String selectionGroup)
Copyright © 2002-2004 STAR collaboration - Brookhaven National Laboratory. All Rights Reserved.