edu.isi.pegasus.planner.selector.site.heft
Modifier and Type | Field and Description |
---|---|
static Integer |
ACTUAL_FINISH_TIME
The constant to be passed to the accessor functions to get or set the
actual end time for a job.
|
static Integer |
ACTUAL_START_TIME
The constant to be passed to the accessor functions to get or set the
actual start time for a job.
|
static Integer |
AVG_COMPUTE_TIME
The constant to be passed to the accessor functions to get or set the
average compute time for the node.
|
static Integer |
DOWNWARD_RANK
The constant to be passed to the accessor functions to get or set the
downward rank for a node.
|
static String[] |
HEFTINFO
Array storing the names of the attributes that are stored with the
site.
|
private float |
mAvgComputeTime
The average compute time for a node.
|
private float |
mDownwardRank
The downward rank for a node.
|
private long |
mEndTime
The estimated end time for a job.
|
private String |
mScheduledSite
The site where a job is scheduled to run.
|
private long |
mStartTime
The estimated start time for a job.
|
private float |
mUpwardRank
The upward rank for a node.
|
static Integer |
SCHEDULED_SITE
The site where the job is scheduled.
|
static Integer |
UPWARD_RANK
The constant to be passed to the accessor functions to get or set the
upward rank for a node.
|
Constructor and Description |
---|
HeftBag()
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.
|
private int |
getIntValue(Object key)
A convenience method to get the intValue for the object passed.
|
public static final String[] HEFTINFO
public static final Integer AVG_COMPUTE_TIME
public static final Integer DOWNWARD_RANK
public static final Integer UPWARD_RANK
public static final Integer ACTUAL_START_TIME
public static final Integer ACTUAL_FINISH_TIME
public static final Integer SCHEDULED_SITE
private float mAvgComputeTime
private float mDownwardRank
private float mUpwardRank
private long mStartTime
private long mEndTime
private String mScheduledSite
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.private int getIntValue(Object key)
key
- the key to be converted