protected class BalancedCluster.BundleValue
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
private java.lang.String |
mDefaultBundleValue
The default bundle value to use.
|
private java.lang.String |
mDefaultProfileKey
The Default Pegasus profile key to use for lookup
|
private java.lang.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(java.lang.String key,
java.lang.String defaultKey,
java.lang.String defaultValue)
Initializes the implementation
|
private java.lang.String mProfileKey
private java.lang.String mDefaultBundleValue
private java.lang.String mDefaultProfileKey
public void initialize(java.lang.String key,
java.lang.String defaultKey,
java.lang.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.