public class JobAggregatorFactory
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
DEFAULT_PACKAGE_NAME
Package to prefix "just" class names with.
|
static java.lang.String |
MPI_EXEC_CLASS
The name of the class in this package, that corresponds to mpiexec.
|
static java.lang.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(java.lang.String className,
ADag dag,
PegasusBag bag)
Loads the implementing class corresponding to the class passed.
|
public static final java.lang.String DEFAULT_PACKAGE_NAME
public static final java.lang.String SEQ_EXEC_CLASS
public static final java.lang.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(java.lang.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