Modifier and Type | Field and Description |
---|---|
private LogManager |
mLogger
The handle to the LogManager.
|
private PlannerCache |
mPlannerCache
The transient replica catalog that tracks the files created or transferred
during the workflow
|
private PlannerMetrics |
mPMetrics
The planner metrics to use.
|
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 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 boolean |
mUsesPMC
A boolean indicating whether we use PMC or not
|
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_CACHE
The constant to be passed to the accessor functions to get or set the
handle to the planner cache for planning purposes.
|
static Integer |
PLANNER_METRICS
The constant to be passed to the accessor functions to get or set the
the planner metrics that are logged during the planning purpose
|
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 |
USES_PMC
The constant to be passed to the accessor functions to get or set the
whether the planner used PMC or not
|
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 and Description |
---|
PegasusBag()
The default constructor.
|
Modifier and Type | Method and Description |
---|---|
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.
|
PlannerCache |
getHandleToPlannerCache()
A convenice method to get the handle to the planner cache
|
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.
|
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
|
boolean |
plannerUsesPMC()
A convenice method to return whether the planner used PMC or not
|
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 PLANNER_CACHE
public static final Integer WORKER_PACKAGE_MAP
public static final Integer USES_PMC
public static final Integer PLANNER_METRICS
private PegasusProperties mProps
PegasusProperties
.private PlannerOptions mPOptions
private ReplicaCatalog mRCHandle
private TransformationCatalog mTCHandle
private Mapper mTCMapper
private LogManager mLogger
private SiteStore mSiteStore
private PlannerCache mPlannerCache
private Map<String,String> mWorkerPackageMap
private boolean mUsesPMC
private PlannerMetrics mPMetrics
public boolean add(Object key, Object value)
public boolean containsKey(Object key)
containsKey
in interface Bag
key
- The key that you want to search for in the bag.public PlannerOptions getPlannerOptions()
public PegasusProperties getPegasusProperties()
public LogManager getLogger()
public SiteStore getHandleToSiteStore()
public PlannerCache getHandleToPlannerCache()
public TransformationCatalog getHandleToTransformationCatalog()
public Mapper getHandleToTransformationMapper()
public Map<String,String> getWorkerPackageMap()
public boolean plannerUsesPMC()
private int getIntValue(Object key)
key
- the key to be converted