Java Doc for NoGridStart.java in  » Workflow-Engines » pegasus-2.1.0 » org » griphyn » cPlanner » code » gridstart » 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.code.gridstart 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.griphyn.cPlanner.code.gridstart.NoGridStart

NoGridStart
public class NoGridStart implements GridStart(Code)
This class ends up running the job directly on the grid, without wrapping it in any other launcher executable. It ends up connecting the jobs stdio and stderr to condor commands to ensure they are sent back to the submit host.
author:
   Karan Vahi vahi@isi.edu
version:
   $Revision: 451 $


Field Summary
final public static  StringCLASSNAME
     The basename of the class that is implmenting this.
final public static  StringSHORT_NAME
     The SHORTNAME for this implementation.
protected  PegasusPropertiesmProps
     The object holding all the properties pertaining to Pegasus.


Method Summary
public  booleancanSetXBit()
    
public  StringdefaultPOSTScript()
     Returns the SHORT_NAME for the POSTScript implementation that is used to be as default with this GridStart implementation.
public  AggregatedJobenable(AggregatedJob aggJob, Collection jobs)
     Enables a collection of jobs and puts them into an AggregatedJob. The assumption here is that all the jobs are being enabled by the same implementation.
public  booleanenable(SubInfo job, boolean isGlobusJob)
     Enables a job to run on the grid by launching it directly.
public  StringgenerateListofFilenamesFile(Set files, String basename)
     Writes out the list of filenames file for the job.
public  StringgetVDSKeyValue()
     Returns the value of the vds profile with key as VDS.GRIDSTART_KEY, that would result in the loading of this particular implementation.
public  voidinitialize(PegasusBag bag, ADag dag)
     Initializes the GridStart implementation.
public  StringshortDescribe()
     Returns a short textual description in the form of the name of the class.

Field Detail
CLASSNAME
final public static String CLASSNAME(Code)
The basename of the class that is implmenting this. Could have been determined by reflection.



SHORT_NAME
final public static String SHORT_NAME(Code)
The SHORTNAME for this implementation.



mProps
protected PegasusProperties mProps(Code)
The object holding all the properties pertaining to Pegasus.





Method Detail
canSetXBit
public boolean canSetXBit()(Code)
Indicates whether the enabling mechanism can set the X bit on the executable on the remote grid site, in addition to launching it on the remote grid stie false, as no wrapper executable is being used.



defaultPOSTScript
public String defaultPOSTScript()(Code)
Returns the SHORT_NAME for the POSTScript implementation that is used to be as default with this GridStart implementation. the identifier for the NoPOSTScript POSTScript implementation.
See Also:   POSTScript.shortDescribe



enable
public AggregatedJob enable(AggregatedJob aggJob, Collection jobs)(Code)
Enables a collection of jobs and puts them into an AggregatedJob. The assumption here is that all the jobs are being enabled by the same implementation. It enables the jobs and puts them into the AggregatedJob that is passed to it.
Parameters:
  aggJob - the AggregatedJob into which the collection has to beintegrated.
Parameters:
  jobs - the collection of jobs (SubInfo) that need to be enabled. the AggregatedJob containing the enabled jobs.
See Also:   NoGridStart.enable(SubInfo,boolean)



enable
public boolean enable(SubInfo job, boolean isGlobusJob)(Code)
Enables a job to run on the grid by launching it directly. It ends up running the executable directly without going through any intermediate launcher executable. It connects the stdio, and stderr to underlying condor mechanisms so that they are transported back to the submit host.
Parameters:
  job - the SubInfo object containing the job descriptionof the job that has to be enabled on the grid.
Parameters:
  isGlobusJob - is true, if the job generated aline universe = globus, and thus runs remotely.Set to false, if the job runs on the submithost in any way. boolean true if enabling was successful,else false in case whenthe path to kickstart could not be determined on the site wherethe job is scheduled.



generateListofFilenamesFile
public String generateListofFilenamesFile(Set files, String basename)(Code)
Writes out the list of filenames file for the job.
Parameters:
  files - the list of PegasusFile objects contains the fileswhose stat information is required.
Parameters:
  basename - the basename of the file that is to be created the full path to lof file created, else null if no file is written out.



getVDSKeyValue
public String getVDSKeyValue()(Code)
Returns the value of the vds profile with key as VDS.GRIDSTART_KEY, that would result in the loading of this particular implementation. It is usually the name of the implementing class without the package name. the value of the profile key.
See Also:   org.griphyn.cPlanner.namespace.VDS.GRIDSTART_KEY



initialize
public void initialize(PegasusBag bag, ADag dag)(Code)
Initializes the GridStart implementation.
Parameters:
  bag - the bag of objects that is used for initialization.
Parameters:
  dag - the concrete dag so far.



shortDescribe
public String shortDescribe()(Code)
Returns a short textual description in the form of the name of the class. short textual description.



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.