Modifier and Type | Field and Description |
---|---|
private String |
mDefaultBundleValue
The default bundle value to use.
|
private String |
mDefaultProfileKey
The Default Pegasus profile key to use for lookup
|
private String |
mProfileKey
The pegasus profile key to use for lookup
|
Constructor and Description |
---|
BundleValue()
The default constructor.
|
Modifier and Type | Method and Description |
---|---|
int |
determine(Implementation implementation,
Job job)
Determines the bundle factor for a particular site on the basis of the
stage in bundle value associcated with the underlying transfer
transformation in the transformation catalog.
|
void |
initialize(String key,
String defaultKey,
String defaultValue)
Initializes the implementation
|
private String mProfileKey
private String mDefaultBundleValue
private String mDefaultProfileKey
public void initialize(String key, String defaultKey, String defaultValue)
key
- the Pegasus Profile key to be used for lookup of bundle values.defaultKey
- the default Profile Key to be used if key is not found.defaultValue
- the default value to be associated if no key is found.public int determine(Implementation implementation, Job job)
implementation
- the transfer implementation being usedjob
- the compute job for which the bundle factor needs to
be determined.