|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.isi.pegasus.planner.cluster.aggregator.JobAggregatorFactory
public class JobAggregatorFactory
A factory class to load the appropriate JobAggregator implementations while clustering jobs.
| Field Summary | |
|---|---|
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 Summary | |
|---|---|
JobAggregatorFactory()
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String DEFAULT_PACKAGE_NAME
public static final String SEQ_EXEC_CLASS
public static final String MPI_EXEC_CLASS
| Constructor Detail |
|---|
public JobAggregatorFactory()
| Method Detail |
|---|
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_NAME
public 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
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||