|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object be.ac.ua.broker.scheduling.workload.SchedulerResultCollection
public class SchedulerResultCollection
This class is used to represent a collection of schedulerResults. It's the output of the allocation phase of the broker and contains the schedules tagged with time and cost information.
Field Summary | |
---|---|
static java.util.Date |
endDate
The end time of the scheduling period |
static java.util.Date |
startDate
The start time of the scheduling period |
Constructor Summary | |
---|---|
SchedulerResultCollection(java.util.Date start,
java.util.Date end)
Constructor for SchedulerResultCollection |
Method Summary | |
---|---|
void |
add(SchedulerResult schedule)
Add a schedulerResult to the collection |
void |
addAll(java.util.List<SchedulerResult> schedules)
Add a list of schedulerResults to the collection |
java.util.List<SchedulerResult> |
get(java.lang.String region)
Getter for all the schedules of a certain geographical region |
java.util.Date |
getEndDate()
|
java.util.Date |
getStartDate()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static java.util.Date startDate
public static java.util.Date endDate
Constructor Detail |
---|
public SchedulerResultCollection(java.util.Date start, java.util.Date end)
start
- start time of the scheduling periodend
- end time of the scheduling periodMethod Detail |
---|
public void add(SchedulerResult schedule)
schedule
- the schedulerResult to add to the collectionpublic void addAll(java.util.List<SchedulerResult> schedules)
schedules
- the schedulerResults to add to the collectionpublic java.util.List<SchedulerResult> get(java.lang.String region)
region
- the region to get the schedules for
public java.util.Date getStartDate()
public java.util.Date getEndDate()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |