|
GridSim 5.0 beta | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ScheduleItem
ScheduleItem
represents an item that can be put in
a scheduling queue. This class is used to make it easier to update
availability profiles, job cancellation in space shared allocation policies,
among other things. In addition, this is used by visualisation windows
for GUI purposes. The item can be a job or an advance reservation.
Field Summary | |
---|---|
static int |
TIME_UNIT_HOUR
Hour as the time unit |
static int |
TIME_UNIT_MINUTE
Minute as the time unit |
static int |
TIME_UNIT_SECOND
Second as the time unit |
Method Summary | |
---|---|
double |
getActualFinishTime()
Gets the item's real finish time. |
double |
getExpectedFinishTime()
Gets the item's expected finish time. |
int |
getID()
Returns an ID for this item |
int |
getNumPE()
Returns the number of PEs used by this item |
int |
getPartitionID()
Gets the id of the partition or queue to which this item was scheduled |
PERangeList |
getPERangeList()
Gets the list of ranges of PEs used by this item |
int |
getPriority()
Gets the priority of this item assigned by the scheduler |
int |
getSenderID()
Returns the id of the user that created this item |
double |
getStartTime()
Gets the item's start time |
int |
getStatus()
Returns the status of this item |
double |
getSubmissionTime()
Returns the time of submission of this item |
boolean |
hasReserved()
If the item is a job, this checks whether the item is associated with an advance reservation or not |
boolean |
isAdvanceReservation()
Checks whether the item is an advance reservation or not |
String |
toString(int timeUnit)
Creates a String representation of this item for displaying purposes |
Field Detail |
---|
static final int TIME_UNIT_SECOND
static final int TIME_UNIT_MINUTE
static final int TIME_UNIT_HOUR
Method Detail |
---|
int getID()
int getSenderID()
int getStatus()
int getNumPE()
double getSubmissionTime()
double getStartTime()
double getActualFinishTime()
double getExpectedFinishTime()
int getPriority()
int getPartitionID()
PERangeList getPERangeList()
boolean isAdvanceReservation()
boolean hasReserved()
String toString(int timeUnit)
timeUnit
- the time unit to be used
TIME_UNIT_SECOND
,
TIME_UNIT_MINUTE
,
TIME_UNIT_HOUR
|
GridSim 5.0 beta | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |