|
GridSim 5.0 beta | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Object ProfileEntry
public abstract class ProfileEntry
The ProfileEntry
class represents an entry in the availability
profile. It contains the list of ranges of PEs available at a particular
time. This time may represent either the start time or completion of
a job or advance reservation.
PERange
,
PERangeList
Constructor Summary | |
---|---|
protected |
ProfileEntry(double time)
Creates a new instance of ProfileEntry |
Method Summary | |
---|---|
abstract ProfileEntry |
clone(double newTime)
Returns a clone of this entry. |
int |
compareTo(ProfileEntry entry)
Compares this object with the specified object for order. |
int |
decreaseJob()
Decreases the number of jobs/reservations that rely on this entry to mark their expected completion time or their anchor point |
abstract PERangeList |
getAvailRanges()
Returns the list of ranges available at this entry |
int |
getNumJobs()
Returns the number of jobs/reservations that rely on this entry to mark their expected completion time or their anchor point |
abstract int |
getNumPE()
Gets the number of PEs associated with this entry |
double |
getTime()
Gets the time associated with this entry |
int |
increaseJob()
Increases the number of jobs/reservations that rely on this entry to mark their expected completion time or their anchor point |
boolean |
setTime(double time)
Sets the time associated with this entry |
Methods inherited from class Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected ProfileEntry(double time)
ProfileEntry
time
- the time associated with this entryMethod Detail |
---|
public abstract int getNumPE()
public abstract PERangeList getAvailRanges()
public abstract ProfileEntry clone(double newTime)
newTime
- the time for the new entry
public double getTime()
public boolean setTime(double time)
time
- the time associated with this entry
public int increaseJob()
public int decreaseJob()
public int getNumJobs()
public int compareTo(ProfileEntry entry)
compareTo
in interface Comparable<ProfileEntry>
entry
- the entry to be compared.
|
GridSim 5.0 beta | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |