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


java.lang.Object
   org.griphyn.cPlanner.cluster.aggregator.Abstract

All known Subclasses:   org.griphyn.cPlanner.cluster.aggregator.MPIExec,  org.griphyn.cPlanner.cluster.aggregator.SeqExec,
Abstract
abstract public class Abstract implements JobAggregator(Code)
An abstract implementation of the JobAggregator interface, which the other implementations can choose to extend.
author:
   Karan Vahi vahi@isi.edu
version:
   $Revision: 450 $


Field Summary
final public static  StringDERIVATION_NAMESPACE
     The derivation namespace for the cluster jobs.
final public static  StringDERIVATION_VERSION
     The version number for the derivations for cluster jobs.
final public static  StringFAT_JOB_PREFIX
     The prefix that is assigned to the jobname of the collapsed jobs to get the jobname for the fat job.
final public static  StringTRANSFORMATION_NAMESPACE
     The transformation namespace for the cluster jobs.
final public static  StringTRANSFORMATION_VERSION
    
protected  PegasusBagmBag
     Bag of initialization objects.
protected  ADagmClusteredADag
     The handle to the ADag object that contains the workflow being clustered.
protected  StringmDirectory
     The directory, where the stdin file of the fat jobs are created.
protected  GridStartFactorymGridStartFactory
     The handle to the GridStart Factory.
protected  LogManagermLogger
     The handle to the LogManager that logs all the messages.
protected  PegasusPropertiesmProps
     The object holding all the properties pertaining to Pegasus.
protected  PoolInfoProvidermSiteHandle
     Handle to the site catalog.
protected  TransformationCatalogmTCHandle
     The handle to the transformation catalog.

Constructor Summary
public  Abstract()
     The default constructor.

Method Summary
abstract public  StringaggregatedJobArguments(AggregatedJob job)
     Returns the arguments with which the AggregatedJob needs to be invoked with.
Parameters:
  job - the AggregatedJob for which the arguments haveto be constructed.
public  AggregatedJobconstruct(List jobs, String name, String id)
     Constructs a new aggregated job that contains all the jobs passed to it. The new aggregated job, appears as a single job in the workflow and replaces the jobs it contains in the workflow.
Parameters:
  jobs - the list of SubInfo objects that need to becollapsed.
protected  AggregatedJobconstruct(List jobs, String name, String id, String mergeLFN)
     Constructs a new aggregated job that contains all the jobs passed to it. The new aggregated job, appears as a single job in the workflow and replaces the jobs it contains in the workflow.
Parameters:
  jobs - the list of SubInfo objects that need to becollapsed.
abstract protected  AggregatedJobenable(AggregatedJob mergedJob, List jobs)
     Enables the constitutent jobs that make up a aggregated job.
protected  booleanentryNotInTC(String namespace, String name, String version, String site)
     Determines whether there is NOT an entry in the transformation catalog for a particular transformation on a particular site.
Parameters:
  namespace - the logical namespace of the transformation.
Parameters:
  name - the logical name of the transformation.
Parameters:
  version - the version of the transformation.
Parameters:
  site - the site at which existence check is required.
public static  StringgetCompleteTranformationName(String name)
     A convenience method to return the complete transformation name being used to construct jobs in this class.
protected  TransformationCatalogEntrygetTCEntry(SubInfo job)
     Helper method to get an entry from the transformation catalog for an installed executable.
public  voidinitialize(ADag dag, PegasusBag bag)
    
protected  voidsetDirectory(String directory)
     Sets the directory where the stdin files are to be generated.

Field Detail
DERIVATION_NAMESPACE
final public static String DERIVATION_NAMESPACE(Code)
The derivation namespace for the cluster jobs.



DERIVATION_VERSION
final public static String DERIVATION_VERSION(Code)
The version number for the derivations for cluster jobs.



FAT_JOB_PREFIX
final public static String FAT_JOB_PREFIX(Code)
The prefix that is assigned to the jobname of the collapsed jobs to get the jobname for the fat job.



TRANSFORMATION_NAMESPACE
final public static String TRANSFORMATION_NAMESPACE(Code)
The transformation namespace for the cluster jobs.



TRANSFORMATION_VERSION
final public static String TRANSFORMATION_VERSION(Code)
The version number for the derivations for cluster jobs



mBag
protected PegasusBag mBag(Code)
Bag of initialization objects.



mClusteredADag
protected ADag mClusteredADag(Code)
The handle to the ADag object that contains the workflow being clustered.



mDirectory
protected String mDirectory(Code)
The directory, where the stdin file of the fat jobs are created. It should be the submit file directory that the user mentions at runtime.



mGridStartFactory
protected GridStartFactory mGridStartFactory(Code)
The handle to the GridStart Factory.



mLogger
protected LogManager mLogger(Code)
The handle to the LogManager that logs all the messages.



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



mSiteHandle
protected PoolInfoProvider mSiteHandle(Code)
Handle to the site catalog.



mTCHandle
protected TransformationCatalog mTCHandle(Code)
The handle to the transformation catalog.




Constructor Detail
Abstract
public Abstract()(Code)
The default constructor.




Method Detail
aggregatedJobArguments
abstract public String aggregatedJobArguments(AggregatedJob job)(Code)
Returns the arguments with which the AggregatedJob needs to be invoked with.
Parameters:
  job - the AggregatedJob for which the arguments haveto be constructed. argument string



construct
public AggregatedJob construct(List jobs, String name, String id)(Code)
Constructs a new aggregated job that contains all the jobs passed to it. The new aggregated job, appears as a single job in the workflow and replaces the jobs it contains in the workflow.
Parameters:
  jobs - the list of SubInfo objects that need to becollapsed. All the jobs being collapsed should be scheduledat the same pool, to maintain correct semantics.
Parameters:
  name - the logical name of the jobs in the list passed to thisfunction.
Parameters:
  id - the id that is given to the new job. the SubInfo object corresponding to the aggregatedjob containing the jobs passed as List in the input,null if the list of jobs is empty



construct
protected AggregatedJob construct(List jobs, String name, String id, String mergeLFN)(Code)
Constructs a new aggregated job that contains all the jobs passed to it. The new aggregated job, appears as a single job in the workflow and replaces the jobs it contains in the workflow.
Parameters:
  jobs - the list of SubInfo objects that need to becollapsed. All the jobs being collapsed should be scheduledat the same pool, to maintain correct semantics.
Parameters:
  name - the logical name of the jobs in the list passed to thisfunction.
Parameters:
  id - the id that is given to the new job.
Parameters:
  mergeLFN - the logical name for the aggregated job that has to beconstructed. the AggregatedJob object corresponding to the aggregatedjob containing the jobs passed as List in the input,null if the list of jobs is empty



enable
abstract protected AggregatedJob enable(AggregatedJob mergedJob, List jobs)(Code)
Enables the constitutent jobs that make up a aggregated job.
Parameters:
  mergedJob - the clusteredJob
Parameters:
  jobs - the constitutent jobs AggregatedJob



entryNotInTC
protected boolean entryNotInTC(String namespace, String name, String version, String site)(Code)
Determines whether there is NOT an entry in the transformation catalog for a particular transformation on a particular site.
Parameters:
  namespace - the logical namespace of the transformation.
Parameters:
  name - the logical name of the transformation.
Parameters:
  version - the version of the transformation.
Parameters:
  site - the site at which existence check is required. boolean true if an entry does not exists, false otherwise.



getCompleteTranformationName
public static String getCompleteTranformationName(String name)(Code)
A convenience method to return the complete transformation name being used to construct jobs in this class.
Parameters:
  name - the name of the transformation the complete transformation name



getTCEntry
protected TransformationCatalogEntry getTCEntry(SubInfo job)(Code)
Helper method to get an entry from the transformation catalog for an installed executable. It does the traversal from the list of entries to return a single TransformationCatalogEntry object, and dies with an appropriate error message if the object is not found. The pool and the name are retrieved from job object.
Parameters:
  job - the job whose corresponding TransformationCatalogEntry you want. the TransformationCatalogEntry corresponding to the entry in theTC.



initialize
public void initialize(ADag dag, PegasusBag bag)(Code)
Initializes the JobAggregator impelementation
Parameters:
  dag - the workflow that is being clustered.
Parameters:
  bag - the bag of objects that is useful for initialization.



setDirectory
protected void setDirectory(String directory)(Code)
Sets the directory where the stdin files are to be generated.
Parameters:
  directory - the path to the directory to which it needs to be set.



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.