|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.isi.pegasus.planner.classes.PegasusBag
public class PegasusBag
A bag of objects that needs to be passed to various refiners. It contains handles to the various catalogs, the properties and the planner options.
| Field Summary | |
|---|---|
private LogManager |
mLogger
The handle to the LogManager. |
private PlannerOptions |
mPOptions
The options passed to the planner. |
private PegasusProperties |
mProps
The handle to the PegasusProperties. |
private ReplicaCatalog |
mRCHandle
The handle to the replica catalog. |
private PoolInfoProvider |
mSCHandle
The handle to the site catalog. |
private SiteStore |
mSiteStore
The site store containing the sites that need to be used. |
private TransformationCatalog |
mTCHandle
The handle to the transformation catalog. |
private Mapper |
mTCMapper
The handle to the Transformation Mapper. |
private ReplicaCatalog |
mTransientRC
The transient replica catalog that tracks the files created or transferred during the workflow |
private Map<String,String> |
mWorkerPackageMap
Worker Package Map, that indexes execution site with the location of the corresponding worker package in the submit directory |
static String[] |
PEGASUS_INFO
Array storing the names of the attributes that are stored with the site. |
static Integer |
PEGASUS_LOGMANAGER
The constant to be passed to the accessor functions to get or set the handle to the Logging manager |
static Integer |
PEGASUS_PROPERTIES
The constant to be passed to the accessor functions to get or set the PegasusProperties. |
static Integer |
PLANNER_OPTIONS
The constant to be passed to the accessor functions to get or set the options passed to the planner. |
static Integer |
REPLICA_CATALOG
The constant to be passed to the accessor functions to get or set the handle to the replica catalog |
static Integer |
SITE_CATALOG
The constant to be passed to the accessor functions to get or set the handle to the site catalog. |
static Integer |
SITE_STORE
The constant to be passed to the accessor functions to get or set the handle to the Site Store |
static Integer |
TRANSFORMATION_CATALOG
The constant to be passed to the accessor functions to get or set the handle to the transformation catalog. |
static Integer |
TRANSFORMATION_MAPPER
The constant to be passed to the accessor functions to get or set the handle to the Transformation Mapper. |
static Integer |
TRANSIENT_REPLICA_CATALOG
The constant to be passed to the accessor functions to get or set the handle to the transient replica catalog |
static Integer |
WORKER_PACKAGE_MAP
The constant to be passed to the accessor functions to get or set the handle to the worker package maps |
| Constructor Summary | |
|---|---|
PegasusBag()
The default constructor. |
|
| Method Summary | |
|---|---|
boolean |
add(Object key,
Object value)
Adds an object to the underlying bag corresponding to a particular key. |
boolean |
containsKey(Object key)
Returns true if the namespace contains a mapping for the specified key. |
Object |
get(Object key)
Returns an objects corresponding to the key passed. |
SiteStore |
getHandleToSiteStore()
A convenice method to get the handle to the site store |
TransformationCatalog |
getHandleToTransformationCatalog()
A convenice method to get the handle to the transformation catalog. |
Mapper |
getHandleToTransformationMapper()
A convenice method to get the handle to the transformation mapper. |
ReplicaCatalog |
getHandleToTransientReplicaCatalog()
A convenice method to get the handle to the transient replica catalog |
private int |
getIntValue(Object key)
A convenience method to get the intValue for the object passed. |
LogManager |
getLogger()
A convenice method to get Logger/ |
PegasusProperties |
getPegasusProperties()
A convenice method to get PegasusProperties |
PlannerOptions |
getPlannerOptions()
A convenice method to get PlannerOptions |
Map<String,String> |
getWorkerPackageMap()
A convenice method to get the worker package |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String[] PEGASUS_INFO
public static final Integer PEGASUS_PROPERTIES
public static final Integer PLANNER_OPTIONS
public static final Integer REPLICA_CATALOG
public static final Integer SITE_CATALOG
public static final Integer TRANSFORMATION_CATALOG
public static final Integer TRANSFORMATION_MAPPER
public static final Integer PEGASUS_LOGMANAGER
public static final Integer SITE_STORE
public static final Integer TRANSIENT_REPLICA_CATALOG
public static final Integer WORKER_PACKAGE_MAP
private PegasusProperties mProps
PegasusProperties.
private PlannerOptions mPOptions
private ReplicaCatalog mRCHandle
private PoolInfoProvider mSCHandle
private TransformationCatalog mTCHandle
private Mapper mTCMapper
private LogManager mLogger
private SiteStore mSiteStore
private ReplicaCatalog mTransientRC
private Map<String,String> mWorkerPackageMap
| Constructor Detail |
|---|
public PegasusBag()
| Method Detail |
|---|
public boolean add(Object key,
Object value)
add in interface Bagkey - the key with which the value has to be associated.value - the value to be associated with the key.
public boolean containsKey(Object key)
containsKey in interface Bagkey - The key that you want to search for in the bag.
public Object get(Object key)
get in interface Bagkey - the key corresponding to which the objects need to be
returned.
public PlannerOptions getPlannerOptions()
public PegasusProperties getPegasusProperties()
public LogManager getLogger()
public SiteStore getHandleToSiteStore()
public ReplicaCatalog getHandleToTransientReplicaCatalog()
public TransformationCatalog getHandleToTransformationCatalog()
public Mapper getHandleToTransformationMapper()
public Map<String,String> getWorkerPackageMap()
private int getIntValue(Object key)
key - the key to be converted
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||