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


java.lang.Object
   org.griphyn.cPlanner.common.PegasusProperties

PegasusProperties
public class PegasusProperties (Code)
A Central Properties class that keeps track of all the properties used by Pegasus. All other classes access the methods in this class to get the value of the property. It access the VDSProperties class to read the property file.
author:
   Karan Vahi
author:
   Gaurang Mehta
version:
   $Revision: 418 $
See Also:   org.griphyn.common.util.VDSProperties


Field Summary
final public static  StringALL_TRANSFER_PRIORITY_PROPERTY
     Default properties that applies priorities to all kinds of transfer jobs.
final public static  StringCONDOR_KICKSTART
    
final public static  StringDEFAULT_COMP_ERROR_PERCENTAGE
    
final public static  StringDEFAULT_COMP_MULTIPLICATION_FACTOR
    
final public static  StringDEFAULT_COMP_VARIANCE_PERCENTAGE
    
final public static  StringDEFAULT_CONDOR_BIN_DIR
    
final public static  StringDEFAULT_CONDOR_CONFIG_DIR
    
final public static  StringDEFAULT_DATA_MULTIPLICATION_FACTOR
    
final public static  StringDEFAULT_EXEC_DIR
    
final public static  StringDEFAULT_GRIDSTART_MODE
    
final public static  StringDEFAULT_INVOKE_LENGTH
    
final public static  StringDEFAULT_JOB_AGGREGATOR
    
final public static  StringDEFAULT_LOGGING_FILE
    
final public static  StringDEFAULT_LRC_IGNORE_URL
    
final public static  StringDEFAULT_POOL_MODE
    
final public static  StringDEFAULT_POSTSCRIPT_MODE
    
final public static  StringDEFAULT_RC_COLLECTION
    
final public static  StringDEFAULT_REPLICA_MODE
    
final public static  StringDEFAULT_RLI_URL
    
final public static  StringDEFAULT_RLS_EXIT_MODE
    
final public static  StringDEFAULT_RLS_QUERY_ATTRIB
    
final public static  StringDEFAULT_RLS_QUERY_MODE
    
final public static  StringDEFAULT_RLS_TIMEOUT
    
final public static  StringDEFAULT_SITE_SELECTOR
    
final public static  StringDEFAULT_SITE_SELECTOR_KEEP
    
final public static  StringDEFAULT_SITE_SELECTOR_TIMEOUT
    
final public static  StringDEFAULT_STAGING_DELIMITER
    
final public static  StringDEFAULT_STORAGE_DIR
    
final public static  StringDEFAULT_TC_MAPPER_MODE
    
final public static  StringDEFAULT_TC_MODE
    
final public static  StringDEFAULT_TRANSFER_IMPLEMENTATION
    
final public static  StringDEFAULT_TRANSFER_PROCESSES
    
final public static  StringDEFAULT_TRANSFER_REFINER
    
final public static  StringDEFAULT_TRANSFER_STREAMS
    
final public static  StringDEFAULT_TX_SELECTOR_MODE
    
final public static  StringPOOL_CONFIG_FILE
    
final public static  StringTC_DATA_FILE
    


Method Summary
public  booleandoStatWithKickstart()
     Return a boolean indicating whether to turn the stat option for kickstart on or not.
public  booleanexecuteOnWorkerNode()
     Returns a boolean indicating whether to have jobs executing on worker node tmp or not.
public  booleangenerateKickstartExtraOptions()
     Returns a boolean indicating whehter to pass extra options to kickstart or not.
public  booleangenerateLOFFiles()
     Return a boolean indicating whether to generate the LOF files for the jobs or not.
public  StringgetAllIgnoredSites()
     Returns a comma separated list of sites, from which to ignore data transfers for all sites.
public  StringgetAllPreferredSites()
     Returns a comma separated list of sites, from which to prefer data transfers for all sites.
public  StringgetChmodDisabledSites()
     Returns the list of sites for which the chmod job creation has to be disabled for executable staging.
public  StringgetClustererLabelKey()
     Returns the key that is to be used as a label key, for labelled clustering.
public  StringgetCollapseFactors()
     Returns a comma separated list for the node collapsing criteria for the execution pools.
public  StringgetCondorPeriodicReleaseValue()
     Returns the number of release attempts that are written into the condor submit files.
public  StringgetCondorPeriodicRemoveValue()
     Returns the number of release attempts that are attempted before Condor removes the job from the queue and marks it as failed.
public  StringgetCondorRetryValue()
     Returns the number of times Condor should retry running a job in case of failure.
public  StringgetCreateDirClass()
     Returns the name of the class that the user wants, to insert the create directory jobs in the graph in case of creating random directories.
public  StringgetCredName()
     Returns the credential name to be used for the stork transfer jobs.
public  StringgetDAXCallback()
     Returns the DAXCallback that is to be used while parsing the DAX.
public  StringgetDAXSchemaLocation()
     Returns the location of the schema for the DAX.
public  StringgetDAXSchemaLocation(String defaultLocation)
     Returns the location of the schema for the DAX. Referred to by the "pegasus.schema.dax" property.
Parameters:
  defaultLocation - the default location to the schema.
public  StringgetDefaultPathToCondorKickstart()
     Returns the default path to the condor kickstart.
public  StringgetDefaultPathToSC()
     Returns the default path to the site catalog file.
public  StringgetDefaultPathToTC()
     Returns the default path to the transformation catalog.
public  StringgetExecDirectory()
     Returns the execution directory suffix or absolute specified that is appended/replaced to the exec-mount-point specified in the pool catalog for the various pools.
public  StringgetGridFTPTimeout()
     Returns the timeout value in seconds after which to timeout in case of opening sockets to grid ftp server.
public  StringgetGridStart()
     Returns the GRIDSTART that is to be used to launch the jobs on the grid.
public  longgetGridStartInvokeLength()
     Returns the trigger value for invoking an application through kickstart using kickstart.
public  StringgetHorizontalPartitionerBundleValue(String name)
     Returns the bundle value for a particular transformation. Referred to by the "pegasus.partitioner.horziontal.bundle.[txname]" property, where [txname] is replaced by the name passed an input to this function.
Parameters:
  name - the logical name of the transformation.
public  StringgetHorizontalPartitionerCollapseValue(String name)
     Returns the collapse value for a particular transformation. Referred to by the "pegasus.partitioner.horziontal.collapse.[txname]" property, where [txname] is replaced by the name passed an input to this function.
Parameters:
  name - the logical name of the transformation.
public static  PegasusPropertiesgetInstance()
     Returns an instance to this properties object.
public static  PegasusPropertiesgetInstance(String propFileName)
     Returns an instance to this properties object.
Parameters:
  propFileName - name of the properties file to picked from$PEGASUS_HOME/etc/ directory.
public  StringgetJobAggregator()
     Returns what job aggregator is to be used to aggregate multiple compute jobs into a single condor job.
public  StringgetJobPriority()
     Returns the default priority that needs to be applied to all job.
public  StringgetLocalPoolEnvVar()
     Return returns the environment string specified for the local pool.
public  StringgetLog4JLogFile()
     Returns the location of the local log file where you want the messages to be logged.
public  StringgetLoggingFile()
     Returns the file to which all the logging needs to be directed to.
public  ListgetMatchingProperties(String prefix, boolean system)
     Returns the properties matching a particular prefix as a list of sorted name value pairs, where name is the full name of the matching property (including the prefix) and value is it's value in the properties file.
Parameters:
  prefix - the prefix for the property names.
Parameters:
  system - boolean indicating whether to match only System propertiesor all including the ones in the property file.
public  StringgetMetricsLogFile()
     Returns the path to the file that is used to be logging metrics Referred to by the "pegasus.log.metrics.file" property.
public  intgetMinimumRemoteSchedulerTime(String key)
     Returns the minimum walltimes that need to be enforced. Referred to by "pegasus.scheduler.remote.min.[key]" property.
Parameters:
  key - the appropriate globus RSL key.
public  StringgetNumOfTransferProcesses()
     It returns the number of processes of g-u-c that the transfer script needs to spawn to do the transfers.
public  StringgetNumOfTransferStreams()
     It returns the number of streams that each transfer process uses to do the ftp transfer.
public  StringgetPDAXSchemaLocation(String defaultLocation)
     Returns the location of the schema for the PDAX. Referred to by the "pegasus.schema.pdax" property
Parameters:
  defaultLocation - the default location to the schema.
public  StringgetPOSTScript()
     Returns the postscript to use with the jobs in the workflow.
public  StringgetPOSTScriptArguments()
     Returns the argument string containing the arguments by which exitcode is invoked.
public  StringgetPOSTScriptPath(String value)
     Returns the path to the exitcode executable to be used. Referred to by the "pegasus.exitcode.path.[value]" property, where [value] is replaced by the value passed an input to this function.
Parameters:
  value - the short name of the postscript whose path we want.
public  StringgetPOSTScriptScope()
     Returns the mode adding the postscripts for the jobs.
public  StringgetPartitionParsingMode()
     Returns the mode for parsing the dax while writing out the partitioned daxes.
public  StringgetPartitionerLabelKey()
     Returns the key that is to be used as a label key, for labelled partitioning.
public  StringgetPegasusHome()
     Accessor: Obtains the root directory of the Pegasus runtime system.
public  StringgetPoolFile()
     Returns the path to the pool file.
public  StringgetPoolMode()
     Returns the mode to be used for accessing the pool information.
public  StringgetPoolSchemaLocation()
     Returns the location of the schema for the DAX.
public  StringgetPoolSchemaLocation(String defaultLocation)
     Returns the location of the schema for the site catalog file. Referred to by the "pegasus.schema.sc" property
Parameters:
  defaultLocation - the default location where the schema should beif no other location is specified.
public  StringgetPrescriptArguments()
     Returns the argument string containing the arguments by which prescript is invoked.
public  StringgetPropertiesInSubmitDirectory()
     Returns the path to the property file that has been writting out in the submit directory.
public  StringgetProperty(String key)
     It allows you to get any property from the property file without going through the corresponding accesor function in this class.
public  StringgetRLIURL()
     Returns the url to the RLI of the RLS.
public  intgetRLSTimeout()
     It returns the timeout value in seconds after which to timeout in case of no activity from the RLS.
public  StringgetRefinementProvenanceStore()
     Returns the provenance store to use to log the refiner actions.
public  StringgetRemoteSchedulerMaxWallTimes()
     Returns the maxwalltimes for the various pools that need to be appended to the RSL String while creating the submit files.
public  StringgetRemoteSchedulerProjects()
     Returns the project names that need to be appended to the RSL String while creating the submit files.
public  StringgetRemoteSchedulerQueues()
     Returns the queue names that need to be appended to the RSL String while creating the submit files.
public  StringgetReplicaMode()
     Returns the replica mode.
public  StringgetReplicaSelector()
     Returns the name of the selector to be used for selection amongst the various replicas of a single lfn.
public  StringgetSLSTransferImplementation()
     Returns the sls transfer implementation that is to be used for constructing the transfer jobs.
public  StringgetSiteSelectorKeep()
     Returns a value designating whether we need to keep the temporary files that are passed to the external site selectors.
public  StringgetSiteSelectorMode()
     Returns the class name of the site selector, that needs to be invoked to do the site selection.
public  StringgetSiteSelectorPath()
     Returns the path to the external site selector that needs to be called out to make the decision of site selection.
public  intgetSiteSelectorTimeout()
     It returns the timeout value in seconds after which to timeout in case of no activity from the external site selector.
public  StringgetStagingDelimiter()
     Returns the delimiter to be used for constructing the staged executable name, during transfer of executables to remote sites.
public  StringgetStorageDirectory()
     Returns the storage directory suffix or absolute specified that is appended/replaced to the storage-mount-point specified in the pool catalog for the various pools.
public  StringgetSubmitMode()
     Returns which submit mode to be used to submit the jobs on to the grid.
public  FilegetSysConfDir()
     Accessor to $PEGASUS_HOME/etc.
public  StringgetTCMapperMode()
     Returns the mode for loading the transformation mapper that sits in front of the transformation catalog.
public  StringgetTCMode()
     Returns the mode to be used for accessing the Transformation Catalog.
public  StringgetTCPath()
     Returns the location of the transformation catalog.
public  StringgetTXSelectorMode()
     Returns the mode for loading the transformation selector that selects amongst the various candidate transformation catalog entry objects.
public  StringgetThirdPartySites(String property)
     Returns the comma separated list of third party sites, specified in the properties.
Parameters:
  property - property name.
public  StringgetThirdPartySitesRemote(String property)
     Returns the comma separated list of third party sites for which the third party transfers are executed on the remote sites.
Parameters:
  property - property name.
public  StringgetTransferArguments()
     Returns the arguments with which the transfer executable needs to be invoked.
public  StringgetTransferImplementation()
     Returns the transfer implementation that is to be used for constructing the transfer jobs.
public  StringgetTransferImplementation(String property)
     Returns the transfer implementation.
Parameters:
  property - property name.
public  StringgetTransferInterPriority()
     Returns the priority to be set for the interpool transfer job.
public  StringgetTransferRefiner()
     Returns the transfer refiner that is to be used for adding in the transfer jobs in the workflow Referred to by the "pegasus.transfer.refiner" property.
public  StringgetTransferStageInPriority()
     Returns the priority to be set for the stage in transfer job.
public  StringgetTransferStageOutPriority()
     Returns the priority to be set for the stage out transfer job.
public  booleangetUseOfSymbolicLinks()
     It returns whether the use of symbolic links in case where the source and destination files happen to be on the same file system.
public  VDSPropertiesgetVDSProperties()
     Returns the VDSProperties that this object encapsulates.
public  booleanjobAggregatorLogGlobal()
     Returns what job aggregator is to be used to aggregate multiple compute jobs into a single condor job.
public  PropertiesmatchingSubset(String prefix, boolean keepPrefix)
     Extracts a specific property key subset from the known properties. The prefix may be removed from the keys in the resulting dictionary, or it may be kept.
protected static  PegasusPropertiesnonSingletonInstance(String propFileName)
     To get a reference to the the object.
public static  PegasusPropertiesnonSingletonInstance()
     To get a reference to the the object.
public  booleanquoteTransferURL()
     Returns whether to introduce quotes around url's before handing to g-u-c and condor.
protected static  voidsanityCheck(File dir)
     Checks the destination location for existence, if it can be created, if it is writable etc.
public  booleansetPostSCRIPTDebugON()
     Returns a boolean indicating whether to turn debug on or not for exitcode.
public  ObjectsetProperty(String key, String value)
     Accessor: Overwrite any properties from within the program.
Parameters:
  key - is the key to look up
Parameters:
  value - is the new property value to place in the system.
public  booleanstreamCondorError()
     Tells whether to stream condor error or not.
public  booleanstreamCondorOutput()
     Tells whether to stream condor output or not.
public  booleantransferProxy()
     It specifies if for a job execution the proxy is to be transferred from the submit host or not.
public  booleantreatCacheAsRC()
     Returns a boolean indicating whether to treat the entries in the cache files as a replica catalog or not.
public  booleanuseCondorQuotingForArguments()
     Returns a boolean indicating whether we want to Condor Quote the arguments of the job or not.
public  booleanuseDeepStorageDirectoryStructure()
     Returns a boolean indicating whether to have a deep storage directory structure or not while staging out data to the output site.
public  booleanuseExtendedTimeStamp()
     It specifies whether to use the extended timestamp format for generation of timestamps that are used to create the random directory name, and for the classads generation.
public  booleanuseForceInTransfer()
     It specifies whether the underlying transfer mechanism being used should use the force option if available to transfer the files.
public  booleanuseInvokeInGridStart()
     Returns a boolean indicating whether to use invoke in kickstart always or not.
public  booleanuseTimestampForDirectoryStructure()
     Returns a boolean indicating whether to use timestamp for directory name creation or not.
public  booleanwriteOutMetrics()
     Returns a boolean indicating whether to write out the planner metrics or not.
public  StringwriteOutProperties(String directory)
     Writes out the properties to a temporary file in the directory passed.
Parameters:
  directory - the directory in which the properties file needs tobe written to.

Field Detail
ALL_TRANSFER_PRIORITY_PROPERTY
final public static String ALL_TRANSFER_PRIORITY_PROPERTY(Code)
Default properties that applies priorities to all kinds of transfer jobs.



CONDOR_KICKSTART
final public static String CONDOR_KICKSTART(Code)



DEFAULT_COMP_ERROR_PERCENTAGE
final public static String DEFAULT_COMP_ERROR_PERCENTAGE(Code)



DEFAULT_COMP_MULTIPLICATION_FACTOR
final public static String DEFAULT_COMP_MULTIPLICATION_FACTOR(Code)



DEFAULT_COMP_VARIANCE_PERCENTAGE
final public static String DEFAULT_COMP_VARIANCE_PERCENTAGE(Code)



DEFAULT_CONDOR_BIN_DIR
final public static String DEFAULT_CONDOR_BIN_DIR(Code)



DEFAULT_CONDOR_CONFIG_DIR
final public static String DEFAULT_CONDOR_CONFIG_DIR(Code)



DEFAULT_DATA_MULTIPLICATION_FACTOR
final public static String DEFAULT_DATA_MULTIPLICATION_FACTOR(Code)



DEFAULT_EXEC_DIR
final public static String DEFAULT_EXEC_DIR(Code)



DEFAULT_GRIDSTART_MODE
final public static String DEFAULT_GRIDSTART_MODE(Code)



DEFAULT_INVOKE_LENGTH
final public static String DEFAULT_INVOKE_LENGTH(Code)



DEFAULT_JOB_AGGREGATOR
final public static String DEFAULT_JOB_AGGREGATOR(Code)



DEFAULT_LOGGING_FILE
final public static String DEFAULT_LOGGING_FILE(Code)



DEFAULT_LRC_IGNORE_URL
final public static String DEFAULT_LRC_IGNORE_URL(Code)



DEFAULT_POOL_MODE
final public static String DEFAULT_POOL_MODE(Code)



DEFAULT_POSTSCRIPT_MODE
final public static String DEFAULT_POSTSCRIPT_MODE(Code)



DEFAULT_RC_COLLECTION
final public static String DEFAULT_RC_COLLECTION(Code)



DEFAULT_REPLICA_MODE
final public static String DEFAULT_REPLICA_MODE(Code)



DEFAULT_RLI_URL
final public static String DEFAULT_RLI_URL(Code)



DEFAULT_RLS_EXIT_MODE
final public static String DEFAULT_RLS_EXIT_MODE(Code)



DEFAULT_RLS_QUERY_ATTRIB
final public static String DEFAULT_RLS_QUERY_ATTRIB(Code)



DEFAULT_RLS_QUERY_MODE
final public static String DEFAULT_RLS_QUERY_MODE(Code)



DEFAULT_RLS_TIMEOUT
final public static String DEFAULT_RLS_TIMEOUT(Code)



DEFAULT_SITE_SELECTOR
final public static String DEFAULT_SITE_SELECTOR(Code)



DEFAULT_SITE_SELECTOR_KEEP
final public static String DEFAULT_SITE_SELECTOR_KEEP(Code)



DEFAULT_SITE_SELECTOR_TIMEOUT
final public static String DEFAULT_SITE_SELECTOR_TIMEOUT(Code)



DEFAULT_STAGING_DELIMITER
final public static String DEFAULT_STAGING_DELIMITER(Code)



DEFAULT_STORAGE_DIR
final public static String DEFAULT_STORAGE_DIR(Code)



DEFAULT_TC_MAPPER_MODE
final public static String DEFAULT_TC_MAPPER_MODE(Code)



DEFAULT_TC_MODE
final public static String DEFAULT_TC_MODE(Code)



DEFAULT_TRANSFER_IMPLEMENTATION
final public static String DEFAULT_TRANSFER_IMPLEMENTATION(Code)



DEFAULT_TRANSFER_PROCESSES
final public static String DEFAULT_TRANSFER_PROCESSES(Code)



DEFAULT_TRANSFER_REFINER
final public static String DEFAULT_TRANSFER_REFINER(Code)



DEFAULT_TRANSFER_STREAMS
final public static String DEFAULT_TRANSFER_STREAMS(Code)



DEFAULT_TX_SELECTOR_MODE
final public static String DEFAULT_TX_SELECTOR_MODE(Code)



POOL_CONFIG_FILE
final public static String POOL_CONFIG_FILE(Code)



TC_DATA_FILE
final public static String TC_DATA_FILE(Code)





Method Detail
doStatWithKickstart
public boolean doStatWithKickstart()(Code)
Return a boolean indicating whether to turn the stat option for kickstart on or not. By default it is turned on. Referred to by the "pegasus.gridstart.kickstart.stat" property. the boolean value specified in the property file,else false if not specified or non boolean specified.



executeOnWorkerNode
public boolean executeOnWorkerNode()(Code)
Returns a boolean indicating whether to have jobs executing on worker node tmp or not. Referred to by the "pegasus.execute.*.filesystem.local" property. boolean value in the properties file, else false if not specifiedor an invalid value specified.



generateKickstartExtraOptions
public boolean generateKickstartExtraOptions()(Code)
Returns a boolean indicating whehter to pass extra options to kickstart or not. The extra options have appeared only in VDS version 1.4.2 (like -L and -T). Referred to by "pegasus.gridstart.label" property. the boolean value specified in the property file,else false if not specified or non boolean specified.



generateLOFFiles
public boolean generateLOFFiles()(Code)
Return a boolean indicating whether to generate the LOF files for the jobs or not. This is used to generate LOF files, but not trigger the stat option Referred to by the "pegasus.gridstart.kickstart.generate.loft" property. the boolean value specified in the property file,else false if not specified or non boolean specified.



getAllIgnoredSites
public String getAllIgnoredSites()(Code)
Returns a comma separated list of sites, from which to ignore data transfers for all sites. Replaces the old pegasus.rc.restricted.sites property. Referred to by the "pegasus.selector.ignore.*.prefer.stagein.sites" property. comma separated list of sites.



getAllPreferredSites
public String getAllPreferredSites()(Code)
Returns a comma separated list of sites, from which to prefer data transfers for all sites. Referred to by the "pegasus.selector.replica.*.prefer.stagein.sites" property. comma separated list of sites.



getChmodDisabledSites
public String getChmodDisabledSites()(Code)
Returns the list of sites for which the chmod job creation has to be disabled for executable staging. Referred to by the "pegasus.transfer.disable.chmod" property. a comma separated list of site names.



getClustererLabelKey
public String getClustererLabelKey()(Code)
Returns the key that is to be used as a label key, for labelled clustering. Referred to by the "pegasus.clusterer.label.key" property. the value specified in the properties file.



getCollapseFactors
public String getCollapseFactors()(Code)
Returns a comma separated list for the node collapsing criteria for the execution pools. This determines how many jobs one fat node gobbles up. Referred to by the "pegasus.cluster.nodes" property. the value specified in the properties file, else null.



getCondorPeriodicReleaseValue
public String getCondorPeriodicReleaseValue()(Code)
Returns the number of release attempts that are written into the condor submit files. Condor holds jobs on certain kind of failures, which many a time are transient, and if a job is released it usually progresses. Referred to by the "pegasus.condor.release" property. an int denoting the number of times to release.null if not specified or invalid entry.



getCondorPeriodicRemoveValue
public String getCondorPeriodicRemoveValue()(Code)
Returns the number of release attempts that are attempted before Condor removes the job from the queue and marks it as failed. Referred to by the "pegasus.condor.remove" property. an int denoting the number of times to release.null if not specified or invalid entry.



getCondorRetryValue
public String getCondorRetryValue()(Code)
Returns the number of times Condor should retry running a job in case of failure. The retry ends up reinvoking the prescript, that can change the site selection decision in case of failure. Referred to by the "pegasus.dagman.retry" property. an int denoting the number of times to retry.null if not specified or invalid entry.



getCreateDirClass
public String getCreateDirClass()(Code)
Returns the name of the class that the user wants, to insert the create directory jobs in the graph in case of creating random directories. Referred to by the "pegasus.dir.create" property. the create dir classname if specified in the properties file,else HourGlass.



getCredName
public String getCredName()(Code)
Returns the credential name to be used for the stork transfer jobs. Referred to by the "pegasus.transfer.stork.cred" property. the credential name if specified by the property,else null.



getDAXCallback
public String getDAXCallback()(Code)
Returns the DAXCallback that is to be used while parsing the DAX. Referred to by the "pegasus.parser.dax.callback" property. the value specified in the properties file, elseDEFAULT_DAX_CALLBACK
See Also:   PegasusProperties.DEFAULT_DAX_CALLBACK



getDAXSchemaLocation
public String getDAXSchemaLocation()(Code)
Returns the location of the schema for the DAX. Referred to by the "pegasus.schema.dax" property. location to the DAX schema.



getDAXSchemaLocation
public String getDAXSchemaLocation(String defaultLocation)(Code)
Returns the location of the schema for the DAX. Referred to by the "pegasus.schema.dax" property.
Parameters:
  defaultLocation - the default location to the schema. location to the DAX schema specified in the properties file,else the default location if no value specified.



getDefaultPathToCondorKickstart
public String getDefaultPathToCondorKickstart()(Code)
Returns the default path to the condor kickstart. Currently the path defaults to $PEGASUS_HOME/bin/kickstart-condor. default path to kickstart condor.



getDefaultPathToSC
public String getDefaultPathToSC()(Code)
Returns the default path to the site catalog file. The default path is constructed on the basis of the mode set by the user. $PEGASUS_HOME/etc/sites.txt if the pool mode is Text, else$PEGASUS_HOME/etc/sites.xml
See Also:   PegasusProperties.getPoolMode()



getDefaultPathToTC
public String getDefaultPathToTC()(Code)
Returns the default path to the transformation catalog. Currently the default path defaults to $PEGASUS_HOME/var/tc.data. the default path to tc.data.



getExecDirectory
public String getExecDirectory()(Code)
Returns the execution directory suffix or absolute specified that is appended/replaced to the exec-mount-point specified in the pool catalog for the various pools. Referred to by the "pegasus.dir.exec" property the value specified in the properties file,else the default suffix.
See Also:   PegasusProperties.DEFAULT_EXEC_DIR



getGridFTPTimeout
public String getGridFTPTimeout()(Code)
Returns the timeout value in seconds after which to timeout in case of opening sockets to grid ftp server. Referred to by the "pegasus.auth.gridftp.timeout" property. the timeout value if specified else,null.
See Also:   PegasusProperties.DEFAULT_SITE_SELECTOR_TIMEOUT



getGridStart
public String getGridStart()(Code)
Returns the GRIDSTART that is to be used to launch the jobs on the grid. Referred to by the "pegasus.gridstart" property. the value specified in the property file,else DEFAULT_GRIDSTART_MODE
See Also:   PegasusProperties.DEFAULT_GRIDSTART_MODE



getGridStartInvokeLength
public long getGridStartInvokeLength()(Code)
Returns the trigger value for invoking an application through kickstart using kickstart. If the arguments value being constructed in the condor submit file is more than this value, then invoke is used to pass the arguments to the remote end. Helps in bypassing the Condor 4K limit. Referred to by "pegasus.gridstart.invoke.length" property. the long value specified in the properties files, elseDEFAULT_INVOKE_LENGTH
See Also:   PegasusProperties.DEFAULT_INVOKE_LENGTH



getHorizontalPartitionerBundleValue
public String getHorizontalPartitionerBundleValue(String name)(Code)
Returns the bundle value for a particular transformation. Referred to by the "pegasus.partitioner.horziontal.bundle.[txname]" property, where [txname] is replaced by the name passed an input to this function.
Parameters:
  name - the logical name of the transformation. the path to the postscript if specified in properties file,else null.



getHorizontalPartitionerCollapseValue
public String getHorizontalPartitionerCollapseValue(String name)(Code)
Returns the collapse value for a particular transformation. Referred to by the "pegasus.partitioner.horziontal.collapse.[txname]" property, where [txname] is replaced by the name passed an input to this function.
Parameters:
  name - the logical name of the transformation. the path to the postscript if specified in properties file,else null.



getInstance
public static PegasusProperties getInstance()(Code)
Returns an instance to this properties object. a handle to the Properties class.



getInstance
public static PegasusProperties getInstance(String propFileName)(Code)
Returns an instance to this properties object.
Parameters:
  propFileName - name of the properties file to picked from$PEGASUS_HOME/etc/ directory. a handle to the Properties class.



getJobAggregator
public String getJobAggregator()(Code)
Returns what job aggregator is to be used to aggregate multiple compute jobs into a single condor job. Referred to by the "pegasus.cluster.job.aggregator" property. the value specified in the properties file, elseDEFAULT_JOB_AGGREGATOR
See Also:   PegasusProperties.DEFAULT_JOB_AGGREGATOR



getJobPriority
public String getJobPriority()(Code)
Returns the default priority that needs to be applied to all job. Referred to by the "pegasus.job.priority" property. the value specified in the properties file, null if a noninteger value is passed.



getLocalPoolEnvVar
public String getLocalPoolEnvVar()(Code)
Return returns the environment string specified for the local pool. If specified the registration jobs are set with these environment variables. Referred to by the "pegasus.local.env" property the environment string for local pool in properties file ifdefined, else null.



getLog4JLogFile
public String getLog4JLogFile()(Code)
Returns the location of the local log file where you want the messages to be logged. Not used for the moment. Referred to by the "pegasus.log4j.log" property. the value specified in the property file,else null.



getLoggingFile
public String getLoggingFile()(Code)
Returns the file to which all the logging needs to be directed to. Referred to by the "pegasus.log.*" property. the value of the property that is specified, elsenull



getMatchingProperties
public List getMatchingProperties(String prefix, boolean system)(Code)
Returns the properties matching a particular prefix as a list of sorted name value pairs, where name is the full name of the matching property (including the prefix) and value is it's value in the properties file.
Parameters:
  prefix - the prefix for the property names.
Parameters:
  system - boolean indicating whether to match only System propertiesor all including the ones in the property file. list of NameValue objects corresponding to the matchedproperties sorted by keys.null if no matching property is found.



getMetricsLogFile
public String getMetricsLogFile()(Code)
Returns the path to the file that is used to be logging metrics Referred to by the "pegasus.log.metrics.file" property. path to the metrics file if specified, else $PEGASUS_HOME/var/pegasus.log



getMinimumRemoteSchedulerTime
public int getMinimumRemoteSchedulerTime(String key)(Code)
Returns the minimum walltimes that need to be enforced. Referred to by "pegasus.scheduler.remote.min.[key]" property.
Parameters:
  key - the appropriate globus RSL key. Generally aremaxtime|maxwalltime|maxcputime the integer value as specified, -1 in case of no value being specified.



getNumOfTransferProcesses
public String getNumOfTransferProcesses()(Code)
It returns the number of processes of g-u-c that the transfer script needs to spawn to do the transfers. This is applicable only in the case where the transfer executable has the capability of spawning processes. It should not be confused with the number of streams that each process opens. By default it is set to 4. In case a non integer value is specified in the properties file it returns the default value. Referred to by "pegasus.transfer.throttle.processes" property. the number of processes specified in properties file, elseDEFAULT_TRANSFER_PROCESSES
See Also:   PegasusProperties.DEFAULT_TRANSFER_PROCESSES



getNumOfTransferStreams
public String getNumOfTransferStreams()(Code)
It returns the number of streams that each transfer process uses to do the ftp transfer. By default it is set to 1.In case a non integer value is specified in the properties file it returns the default value. Referred to by "pegasus.transfer.throttle.streams" property. the number of streams specified in the properties file, elseDEFAULT_TRANSFER_STREAMS.
See Also:   PegasusProperties.DEFAULT_TRANSFER_STREAMS



getPDAXSchemaLocation
public String getPDAXSchemaLocation(String defaultLocation)(Code)
Returns the location of the schema for the PDAX. Referred to by the "pegasus.schema.pdax" property
Parameters:
  defaultLocation - the default location to the schema. location to the PDAX schema specified in the properties file,else the default location if no value specified.



getPOSTScript
public String getPOSTScript()(Code)
Returns the postscript to use with the jobs in the workflow. They maybe overriden by values specified in the profiles. Referred to by the "pegasus.exitcode.impl" property. the postscript to use for the workflow, else null if notspecified in the properties.



getPOSTScriptArguments
public String getPOSTScriptArguments()(Code)
Returns the argument string containing the arguments by which exitcode is invoked. Referred to by the "pegasus.exitcode.arguments" property. String containing the arguments,else empty string.



getPOSTScriptPath
public String getPOSTScriptPath(String value)(Code)
Returns the path to the exitcode executable to be used. Referred to by the "pegasus.exitcode.path.[value]" property, where [value] is replaced by the value passed an input to this function.
Parameters:
  value - the short name of the postscript whose path we want. the path to the postscript if specified in properties file.



getPOSTScriptScope
public String getPOSTScriptScope()(Code)
Returns the mode adding the postscripts for the jobs. At present takes in only two values all or none default being none. Referred to by the "pegasus.exitcode.scope" property. the mode specified by the property, elseDEFAULT_POSTSCRIPT_MODE
See Also:   PegasusProperties.DEFAULT_POSTSCRIPT_MODE



getPartitionParsingMode
public String getPartitionParsingMode()(Code)
Returns the mode for parsing the dax while writing out the partitioned daxes. Referred to by the "pegasus.partition.parser.load" property. the value specified in the properties file, elsethe default value i.e single.



getPartitionerLabelKey
public String getPartitionerLabelKey()(Code)
Returns the key that is to be used as a label key, for labelled partitioning. Referred to by the "pegasus.partitioner.label.key" property. the value specified in the properties file.



getPegasusHome
public String getPegasusHome()(Code)
Accessor: Obtains the root directory of the Pegasus runtime system. the root directory of the Pegasus runtime system, as initiallyset from the system properties.



getPoolFile
public String getPoolFile()(Code)
Returns the path to the pool file. Referred to by the "pegasus.catalog.site.file" property. the path to the pool file specified in the properties file,else the default path specified by mDefaultPoolFile.
See Also:   PegasusProperties.mDefaultPoolFile



getPoolMode
public String getPoolMode()(Code)
Returns the mode to be used for accessing the pool information. Referred to by the "pegasus.catalog.site" property. the pool mode, that is used to load the appropriateimplementing class if the property is specified,else default pool mode specified by DEFAULT_POOL_MODE
See Also:   PegasusProperties.DEFAULT_POOL_MODE



getPoolSchemaLocation
public String getPoolSchemaLocation()(Code)
Returns the location of the schema for the DAX. Referred to by the "pegasus.schema.sc" property. the location of pool schema if specified in properties file,else null.



getPoolSchemaLocation
public String getPoolSchemaLocation(String defaultLocation)(Code)
Returns the location of the schema for the site catalog file. Referred to by the "pegasus.schema.sc" property
Parameters:
  defaultLocation - the default location where the schema should beif no other location is specified. the location specified by the property,else defaultLocation.



getPrescriptArguments
public String getPrescriptArguments()(Code)
Returns the argument string containing the arguments by which prescript is invoked. Referred to by the "pegasus.prescript.arguments" property. String containing the arguments.null if not specified.



getPropertiesInSubmitDirectory
public String getPropertiesInSubmitDirectory()(Code)
Returns the path to the property file that has been writting out in the submit directory. path to the property file
exception:
  RuntimeException - in case of file not being generated.



getProperty
public String getProperty(String key)(Code)
It allows you to get any property from the property file without going through the corresponding accesor function in this class. For coding and clarity purposes, the function should be used judiciously, and the accessor function should be used as far as possible.
Parameters:
  key - the property whose value is desired. String



getRLIURL
public String getRLIURL()(Code)
Returns the url to the RLI of the RLS. Referred to by the "pegasus.rls.url" property. the value specified in properties file,else DEFAULT_RLI_URL.
See Also:   PegasusProperties.DEFAULT_RLI_URL



getRLSTimeout
public int getRLSTimeout()(Code)
It returns the timeout value in seconds after which to timeout in case of no activity from the RLS. Referred to by the "pegasus.rc.rls.timeout" property. the timeout value if specified else,DEFAULT_RLS_TIMEOUT.
See Also:   PegasusProperties.DEFAULT_RLS_TIMEOUT



getRefinementProvenanceStore
public String getRefinementProvenanceStore()(Code)
Returns the provenance store to use to log the refiner actions. Referred to by the "pegasus.catalog.provenance.refinement" property. the value set in the properties, else null if not set.



getRemoteSchedulerMaxWallTimes
public String getRemoteSchedulerMaxWallTimes()(Code)
Returns the maxwalltimes for the various pools that need to be appended to the RSL String while creating the submit files. Referred to by the pegasus.scheduler.remote.queues property. If present, Pegasus ends up inserting an RSL string (project = value) in the submit file. a comma separated list of key value pairs if property specified,else null.



getRemoteSchedulerProjects
public String getRemoteSchedulerProjects()(Code)
Returns the project names that need to be appended to the RSL String while creating the submit files. Referred to by pegasus.remote.projects property. If present, Pegasus ends up inserting an RSL string (project = value) in the submit file. a comma separated list of key value pairs if property specified,else null.



getRemoteSchedulerQueues
public String getRemoteSchedulerQueues()(Code)
Returns the queue names that need to be appended to the RSL String while creating the submit files. Referred to by the pegasus.remote.queues property. If present, Pegasus ends up inserting an RSL string (project = value) in the submit file. a comma separated list of key value pairs if property specified,else null.



getReplicaMode
public String getReplicaMode()(Code)
Returns the replica mode. It identifies the ReplicaMechanism being used by Pegasus to determine logical file locations. Referred to by the "pegasus.catalog.replica" property. the replica mode, that is used to load the appropriateimplementing class if property is specified,else the DEFAULT_REPLICA_MODE
See Also:   PegasusProperties.DEFAULT_REPLICA_MODE



getReplicaSelector
public String getReplicaSelector()(Code)
Returns the name of the selector to be used for selection amongst the various replicas of a single lfn. Referred to by the "pegasus.selector.replica" property. the name of the selector if the property is specified,else null



getSLSTransferImplementation
public String getSLSTransferImplementation()(Code)
Returns the sls transfer implementation that is to be used for constructing the transfer jobs. Referred to by the "pegasus.transfer.sls.*.impl" property. the transfer implementation, else theDEFAULT_TRANSFER_IMPLEMENTATION.
See Also:   PegasusProperties.DEFAULT_TRANSFER_IMPLEMENTATION



getSiteSelectorKeep
public String getSiteSelectorKeep()(Code)
Returns a value designating whether we need to keep the temporary files that are passed to the external site selectors. The check for the valid tristate value should be done at the calling function end. This just passes on the value user specified in the properties file. Referred to by the "pegasus.selector.site.keep.tmp" property. the value of the property is specified, elseDEFAULT_SITE_SELECTOR_KEEP
See Also:   PegasusProperties.DEFAULT_SITE_SELECTOR_KEEP



getSiteSelectorMode
public String getSiteSelectorMode()(Code)
Returns the class name of the site selector, that needs to be invoked to do the site selection. Referred to by the "pegasus.selector.site" property. the classname corresponding to the site selector that needs to beinvoked if specified in the properties file, else the defaultselector specified by DEFAULT_SITE_SELECTOR.
See Also:   PegasusProperties.DEFAULT_SITE_SELECTOR



getSiteSelectorPath
public String getSiteSelectorPath()(Code)
Returns the path to the external site selector that needs to be called out to make the decision of site selection. Referred to by the "pegasus.selector.site.path" property. the path to the external site selector if specified in theproperties file, else null.



getSiteSelectorTimeout
public int getSiteSelectorTimeout()(Code)
It returns the timeout value in seconds after which to timeout in case of no activity from the external site selector. Referred to by the "pegasus.selector.site.timeout" property. the timeout value if specified else,DEFAULT_SITE_SELECTOR_TIMEOUT.
See Also:   PegasusProperties.DEFAULT_SITE_SELECTOR_TIMEOUT



getStagingDelimiter
public String getStagingDelimiter()(Code)
Returns the delimiter to be used for constructing the staged executable name, during transfer of executables to remote sites. Referred to by the "pegasus.transfer.staging.delimiter" property. the value specified in the properties file, elseDEFAULT_STAGING_DELIMITER
See Also:   PegasusProperties.DEFAULT_STAGING_DELIMITER



getStorageDirectory
public String getStorageDirectory()(Code)
Returns the storage directory suffix or absolute specified that is appended/replaced to the storage-mount-point specified in the pool catalog for the various pools. Referred to by the "pegasus.dir.storage" property. the value specified in the properties file,else the default suffix.
See Also:   PegasusProperties.DEFAULT_STORAGE_DIR



getSubmitMode
public String getSubmitMode()(Code)
Returns which submit mode to be used to submit the jobs on to the grid. Referred to by the "pegasus.submit" property. the submit mode specified in the property file,else the default i.e condor.



getSysConfDir
public File getSysConfDir()(Code)
Accessor to $PEGASUS_HOME/etc. The files in this directory have a low change frequency, are effectively read-only, they reside on a per-machine basis, and they are valid usually for a single user. the "etc" directory of the VDS runtime system.



getTCMapperMode
public String getTCMapperMode()(Code)
Returns the mode for loading the transformation mapper that sits in front of the transformation catalog. Referred to by the "pegasus.catalog.transformation.mapper" property. the value specified in the properties file,else default tc mapper mode.
See Also:   PegasusProperties.DEFAULT_TC_MAPPER_MODE



getTCMode
public String getTCMode()(Code)
Returns the mode to be used for accessing the Transformation Catalog. Referred to by the "pegasus.catalog.transformation" property. the value specified in properties file,else DEFAULT_TC_MODE.
See Also:   PegasusProperties.DEFAULT_TC_MODE



getTCPath
public String getTCPath()(Code)
Returns the location of the transformation catalog. Referred to by "pegasus.catalog.transformation.file" property. the value specified in the properties file,else default path specified by mDefaultTC.
See Also:   PegasusProperties.mDefaultTC



getTXSelectorMode
public String getTXSelectorMode()(Code)
Returns the mode for loading the transformation selector that selects amongst the various candidate transformation catalog entry objects. Referred to by the "pegasus.selector.transformation" property. the value specified in the properties file,else default transformation selector.
See Also:   PegasusProperties.DEFAULT_TC_MAPPER_MODE



getThirdPartySites
public String getThirdPartySites(String property)(Code)
Returns the comma separated list of third party sites, specified in the properties.
Parameters:
  property - property name. the comma separated list of sites.



getThirdPartySitesRemote
public String getThirdPartySitesRemote(String property)(Code)
Returns the comma separated list of third party sites for which the third party transfers are executed on the remote sites.
Parameters:
  property - property name. the comma separated list of sites.



getTransferArguments
public String getTransferArguments()(Code)
Returns the arguments with which the transfer executable needs to be invoked. Referred to by "pegasus.transfer.arguments" property. the arguments specified in the properties file,else null if property is not specified.



getTransferImplementation
public String getTransferImplementation()(Code)
Returns the transfer implementation that is to be used for constructing the transfer jobs. Referred to by the "pegasus.transfer.*.impl" property. the transfer implementation, else theDEFAULT_TRANSFER_IMPLEMENTATION.
See Also:   PegasusProperties.DEFAULT_TRANSFER_IMPLEMENTATION



getTransferImplementation
public String getTransferImplementation(String property)(Code)
Returns the transfer implementation.
Parameters:
  property - property name. the transfer implementation,else the one specified by "pegasus.transfer.*.impl",else the DEFAULT_TRANSFER_IMPLEMENTATION.



getTransferInterPriority
public String getTransferInterPriority()(Code)
Returns the priority to be set for the interpool transfer job. Referred to by "pegasus.transfer.inter.priority" property if set, else by "pegasus.transfer.*.priority" property. the priority as String if a valid integer specified in theproperties, else null.



getTransferRefiner
public String getTransferRefiner()(Code)
Returns the transfer refiner that is to be used for adding in the transfer jobs in the workflow Referred to by the "pegasus.transfer.refiner" property. the transfer refiner, else the DEFAULT_TRANSFER_REFINER.
See Also:   PegasusProperties.DEFAULT_TRANSFER_REFINER



getTransferStageInPriority
public String getTransferStageInPriority()(Code)
Returns the priority to be set for the stage in transfer job. Referred to by "pegasus.transfer.stagein.priority" property if set, else by "pegasus.transfer.*.priority" property. the priority as String if a valid integer specified in theproperties, else null.



getTransferStageOutPriority
public String getTransferStageOutPriority()(Code)
Returns the priority to be set for the stage out transfer job. Referred to by "pegasus.transfer.stageout.priority" property if set, else by "pegasus.transfer.*.priority" property. the priority as String if a valid integer specified in theproperties, else null.



getUseOfSymbolicLinks
public boolean getUseOfSymbolicLinks()(Code)
It returns whether the use of symbolic links in case where the source and destination files happen to be on the same file system. Referred to by "pegasus.transfer.links" property. boolean value specified in the properties file, elsefalse in case of non boolean value being specified orproperty not being set.



getVDSProperties
public VDSProperties getVDSProperties()(Code)
Returns the VDSProperties that this object encapsulates. Use only when absolutely necessary. Use accessor methods whereever possible. VDSProperties



jobAggregatorLogGlobal
public boolean jobAggregatorLogGlobal()(Code)
Returns what job aggregator is to be used to aggregate multiple compute jobs into a single condor job. Referred to by the "pegasus.cluster.job.aggregator.seqexec.log.global" property. the value specified in the properties file, elseDEFAULT_JOB_AGGREGATOR
See Also:   PegasusProperties.DEFAULT_JOB_AGGREGATOR



matchingSubset
public Properties matchingSubset(String prefix, boolean keepPrefix)(Code)
Extracts a specific property key subset from the known properties. The prefix may be removed from the keys in the resulting dictionary, or it may be kept. In the latter case, exact matches on the prefix will also be copied into the resulting dictionary.
Parameters:
  prefix - is the key prefix to filter the properties by.
Parameters:
  keepPrefix - if true, the key prefix is kept in the resultingdictionary. As side-effect, a key that matches the prefix exactlywill also be copied. If false, the resulting dictionary's keys areshortened by the prefix. An exact prefix match will not be copied,as it would result in an empty string key. a property dictionary matching the filter key. May bean empty dictionary, if no prefix matches were found.
See Also:   PegasusProperties.getProperty(String)
See Also:    is used to assemble matches



nonSingletonInstance
protected static PegasusProperties nonSingletonInstance(String propFileName)(Code)
To get a reference to the the object. The properties file that is loaded is from the path specified in the argument. This is *not implemented* as singleton. However the invocation of this does modify the internally held singleton object.
Parameters:
  propFileName - name of the properties file to picked from$PEGASUS_HOME/etc/ directory. a handle to the Properties class.



nonSingletonInstance
public static PegasusProperties nonSingletonInstance()(Code)
To get a reference to the the object. The properties file that is loaded is from the path specified in the argument. This is *not implemented* as singleton. However the invocation of this does modify the internally held singleton object. a handle to the Properties class.



quoteTransferURL
public boolean quoteTransferURL()(Code)
Returns whether to introduce quotes around url's before handing to g-u-c and condor. Referred to by "pegasus.transfer.single.quote" property. boolean value specified in the properties file, elsetrue in case of non boolean value being specified or propertynot being set.



sanityCheck
protected static void sanityCheck(File dir) throws IOException(Code)
Checks the destination location for existence, if it can be created, if it is writable etc.
Parameters:
  dir - is the new base directory to optionally create.
throws:
  IOException - in case of error while writing out files.



setPostSCRIPTDebugON
public boolean setPostSCRIPTDebugON()(Code)
Returns a boolean indicating whether to turn debug on or not for exitcode. By default false is returned. Referred to by the "pegasus.exitcode.debug" property. boolean value.



setProperty
public Object setProperty(String key, String value)(Code)
Accessor: Overwrite any properties from within the program.
Parameters:
  key - is the key to look up
Parameters:
  value - is the new property value to place in the system. the old value, or null if it didn't exist before.



streamCondorError
public boolean streamCondorError()(Code)
Tells whether to stream condor error or not. By default it is true , meaning condor streams the error from the remote hosts back to the submit hosts instead of staging it in. This helps in saving filedescriptors at the jobmanager end. Referred to by the "pegasus.condor.error.stream" property. If it is set to false, output is not streamed back. The line "stream_output = false" should be added in the submit files for kickstart jobs. the boolean value specified by the property, elsetrue in case of invalid value or property not being specified.



streamCondorOutput
public boolean streamCondorOutput()(Code)
Tells whether to stream condor output or not. By default it is true , meaning condor streams the output from the remote hosts back to the submit hosts, instead of staging it. This helps in saving filedescriptors at the jobmanager end. If it is set to false, output is not streamed back. The line "stream_output = false" should be added in the submit files for kickstart jobs. Referred to by the "pegasus.condor.output.stream" property. the boolean value specified by the property, elsetrue in case of invalid value or property not being specified.



transferProxy
public boolean transferProxy()(Code)
It specifies if for a job execution the proxy is to be transferred from the submit host or not. Referred to by "pegasus.transfer.proxy" property. boolean value specified in the properties file,elsefalse in case of non boolean value being specified orproperty not being set.



treatCacheAsRC
public boolean treatCacheAsRC()(Code)
Returns a boolean indicating whether to treat the entries in the cache files as a replica catalog or not. boolean



useCondorQuotingForArguments
public boolean useCondorQuotingForArguments()(Code)
Returns a boolean indicating whether we want to Condor Quote the arguments of the job or not. Referred to by the "pegasus.condor.arguments.quote" property. boolean



useDeepStorageDirectoryStructure
public boolean useDeepStorageDirectoryStructure()(Code)
Returns a boolean indicating whether to have a deep storage directory structure or not while staging out data to the output site. Referred to by the "pegasus.dir.storage.deep" property. the boolean value specified in the properties files, else false.



useExtendedTimeStamp
public boolean useExtendedTimeStamp()(Code)
It specifies whether to use the extended timestamp format for generation of timestamps that are used to create the random directory name, and for the classads generation. Referred to by the "pegasus.dir.timestamp.extended" property. the value specified in the properties file if valid boolean, elsefalse.



useForceInTransfer
public boolean useForceInTransfer()(Code)
It specifies whether the underlying transfer mechanism being used should use the force option if available to transfer the files. Referred to by "pegasus.transfer.force" property. boolean value specified in the properties file,elsefalse in case of non boolean value being specified orproperty not being set.



useInvokeInGridStart
public boolean useInvokeInGridStart()(Code)
Returns a boolean indicating whether to use invoke in kickstart always or not. Referred to by the "pegasus.gridstart.invoke.always" property. the boolean value specified in the property file,else false if not specified or non boolean specified.



useTimestampForDirectoryStructure
public boolean useTimestampForDirectoryStructure()(Code)
Returns a boolean indicating whether to use timestamp for directory name creation or not. Referred to by "pegasus.dir.useTimestamp" property. the boolean value specified in the properties files, else false.



writeOutMetrics
public boolean writeOutMetrics()(Code)
Returns a boolean indicating whether to write out the planner metrics or not. Referred to by the "pegasus.log.metrics" property. boolean in the properties, else true



writeOutProperties
public String writeOutProperties(String directory) throws IOException(Code)
Writes out the properties to a temporary file in the directory passed.
Parameters:
  directory - the directory in which the properties file needs tobe written to. the absolute path to the properties file written in the directory.
throws:
  IOException - in case of error while writing out file.



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.