Java Doc for Abstract.java in  » Workflow-Engines » pegasus-2.1.0 » org » griphyn » cPlanner » poolinfo » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Workflow Engines » pegasus 2.1.0 » org.griphyn.cPlanner.poolinfo 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.griphyn.cPlanner.poolinfo.PoolInfoProvider
      org.griphyn.cPlanner.poolinfo.Abstract

All known Subclasses:   org.griphyn.cPlanner.poolinfo.Text,  org.griphyn.cPlanner.poolinfo.XML,
Abstract
abstract public class Abstract extends PoolInfoProvider (Code)
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.
author:
   Karan Vahi
version:
   $Revision: 50 $
See Also:   Abstract.mPoolConfig


Field Summary
protected  PoolConfigmPoolConfig
    


Method Summary
public  ListgetGridFTPServers(String siteID)
     It returns all the gridftp servers corresponding to a specified pool.
Parameters:
  siteID - the name of the site at which the jobmanager runs.
public  ListgetJobmanagers(String siteID)
     It returns all the jobmanagers corresponding to a specified site.
Parameters:
  siteID - the name of the site at which the jobmanager runs.
public  ListgetJobmanagers(String siteID, String universe)
     It returns all the jobmanagers corresponding to a specified pool and universe.
Parameters:
  siteID - the name of the site at which the jobmanager runs.
Parameters:
  universe - the gvds universe with which it is associated.
public  SiteInfogetPoolEntry(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.
public  ListgetPoolProfile(String siteID)
     It returns the profile information associated with a particular pool.
public  ListgetPools()
    
public  SysInfogetSysinfo(String siteID)
     Returns the System information for a single site.
public  MapgetSysinfos(List siteids)
     Returns the System information for a bunch of sites.
public  booleanremoveGridFtp(String siteID, String urlPrefix)
     This is a soft state remove, that removes a gridftp server from a particular pool entry.
public  booleanremoveJobManager(String siteID, String universe, String jobManagerContact)
     This is a soft state remove, that removes a jobmanager from a particular pool entry.

Field Detail
mPoolConfig
protected PoolConfig mPoolConfig(Code)
Handle to the PoolConfig object





Method Detail
getGridFTPServers
public List getGridFTPServers(String siteID)(Code)
It returns all the gridftp servers corresponding to a specified pool.
Parameters:
  siteID - the name of the site at which the jobmanager runs. List of GridFTPServer, each referring to oneGridFtp Server.



getJobmanagers
public List getJobmanagers(String siteID)(Code)
It returns all the jobmanagers corresponding to a specified site.
Parameters:
  siteID - the name of the site at which the jobmanager runs. list of JobManager, each referring toone jobmanager contact string. An empty list if no jobmanagersfound.



getJobmanagers
public List getJobmanagers(String siteID, String universe)(Code)
It returns all the jobmanagers corresponding to a specified pool and universe.
Parameters:
  siteID - the name of the site at which the jobmanager runs.
Parameters:
  universe - the gvds universe with which it is associated. list of JobManager, each referring toone jobmanager contact string. An empty list if no jobmanagersfound.



getPoolEntry
public SiteInfo getPoolEntry(String siteID, String universe)(Code)
Gets the pool information from the pool.config file on the basis of the name of the pool, and the universe.
Parameters:
  siteID - the name of the site
Parameters:
  universe - the execution universe for the job the corresponding pool object for the entry if foundelse null



getPoolProfile
public List getPoolProfile(String siteID)(Code)
It returns the profile information associated with a particular pool. If the pool provider has no such information it should return null. The name of the object may purport that it is specific to GVDS format, but in fact it a tuple consisting of namespace, key and value that can be used by other Pool providers too.
Parameters:
  siteID - the name of the site, whose profile information you want. List of Profile objectsnull if the information about the site is not with the pool provider.
See Also:   org.griphyn.cPlanner.classes.Profile



getPools
public List getPools()(Code)
It returns all the pools available in the site catalog List of names of the pools available as String



getSysinfo
public SysInfo getSysinfo(String siteID)(Code)
Returns the System information for a single site.
Parameters:
  siteID - String The site whose system information is requested SysInfo The system information as a SysInfo object
See Also:   org.griphyn.common.classes.SysInfo



getSysinfos
public Map getSysinfos(List siteids)(Code)
Returns the System information for a bunch of sites.
Parameters:
  siteids - List The siteid whose system information is required Map The key is the siteid and the value is a SysInfo object
See Also:   org.griphyn.common.classes.SysInfo



removeGridFtp
public boolean removeGridFtp(String siteID, String urlPrefix)(Code)
This is a soft state remove, that removes a gridftp server from a particular pool entry. The cause of this removal could be the inability to authenticate against it at runtime. The successful removal lead Pegasus not to schedule any transfers on that particular gridftp server.
Parameters:
  siteID - the name of the site at which the gridftp runs.
Parameters:
  urlPrefix - the url prefix containing the protocol,hostname and port. true if was able to remove the gridftp from the cachefalse if unable to remove, or the matching entry is not foundor if the implementing class does not maintain a soft state.or the information about site is not in the site catalog.



removeJobManager
public boolean removeJobManager(String siteID, String universe, String jobManagerContact)(Code)
This is a soft state remove, that removes a jobmanager from a particular pool entry. The cause of this removal could be the inability to authenticate against it at runtime. The successful removal lead Pegasus not to schedule job on that particular jobmanager.
Parameters:
  siteID - the name of the site at which the jobmanager runs.
Parameters:
  universe - the gvds universe with which it is associated.
Parameters:
  jobManagerContact - the contact string to the jobmanager. true if was able to remove the jobmanager from the cachefalse if unable to remove, or the matching entry is not foundor if the implementing class does not maintain a soft state.



Fields inherited from org.griphyn.cPlanner.poolinfo.PoolInfoProvider
final public static String PEGASUS_HOME(Code)(Java Doc)
final public static String VDS_HOME(Code)(Java Doc)
protected boolean mDeepStorageStructure(Code)(Java Doc)
protected String mLogMsg(Code)(Java Doc)
protected LogManager mLogger(Code)(Java Doc)
protected String mPoolProvider(Code)(Java Doc)
protected PegasusProperties mProps(Code)(Java Doc)
protected String mStorageDir(Code)(Java Doc)
protected UserOptions mUserOpts(Code)(Java Doc)
protected String mWorkDir(Code)(Java Doc)

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)

Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.