edu.isi.pegasus.planner.cluster.aggregator
public class JobAggregatorFactory extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_PACKAGE_NAME
Package to prefix "just" class names with.
|
static String |
MPI_EXEC_CLASS
The name of the class in this package, that corresponds to mpiexec.
|
static String |
SEQ_EXEC_CLASS
The name of the class in this package, that corresponds to seqexec.
|
| Constructor and Description |
|---|
JobAggregatorFactory() |
| Modifier and Type | Method and Description |
|---|---|
static JobAggregator |
loadInstance(ADag dag,
PegasusBag bag)
Loads the implementing class corresponding to the mode specified by the user
at runtime in the properties file.
|
static JobAggregator |
loadInstance(String className,
ADag dag,
PegasusBag bag)
Loads the implementing class corresponding to the class passed.
|
public static final String DEFAULT_PACKAGE_NAME
public static final String SEQ_EXEC_CLASS
public static final String MPI_EXEC_CLASS
public static JobAggregator loadInstance(ADag dag, PegasusBag bag)
dag - the workflow that is being clustered.bag - the bag of objects that is useful for initialization.JobAggregatorFactoryException - that nests any error that
might occur during the instantiationDEFAULT_PACKAGE_NAMEpublic static JobAggregator loadInstance(String className, ADag dag, PegasusBag bag)
className - the name of the class that implements the mode. It is the
name of the class, not the complete name with package. That
is added by itself.dag - the workflow that is being clustered.bag - the bag of objects that is useful for initialization.JobAggregatorFactoryException - that nests any error that
might occur during the instantiationDEFAULT_PACKAGE_NAME