|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ReorderingStrategy
The Reordering Strategy Interface.
Method Summary | |
---|---|
List<BatchModeRequestHandler.IndexedProposal> |
getBatch(double currentTime,
NavigableSet<BatchModeRequestHandler.IndexedProposal> queue,
TrackModel trackModel)
Select a subset of indexed proposals from the queue and sort them in a particular order such that they will be processed in that order. |
double |
getNextProcessingTime()
Get the next processing time for the next batch. |
double |
getNextProposalDeadline()
Get the next proposal deadline for the next batch. |
void |
setInitialTime(double initTime)
Set the initial time of the batch mode. |
Method Detail |
---|
void setInitialTime(double initTime)
initTime
- the initial time of the batch mode.List<BatchModeRequestHandler.IndexedProposal> getBatch(double currentTime, NavigableSet<BatchModeRequestHandler.IndexedProposal> queue, TrackModel trackModel)
currentTime
- the current timequeue
- the current queue of all indexed proposalstrackModel
- the track model
double getNextProcessingTime()
double getNextProposalDeadline()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |