public class FILOPrioritySorter extends Object implements PrioritySorter
List
of WorkflowProcessor
candidates according to
the time in which the WorkflowInstance
that they are processing was
created. The first ones to get processed are the most recently created
instances.Constructor and Description |
---|
FILOPrioritySorter() |
Modifier and Type | Method and Description |
---|---|
void |
sort(List<WorkflowProcessor> candidates)
Sorts the
List of WorkflowProcessor s that are ready to run
in a particular order specified by the sub-class implementing this method. |
public void sort(List<WorkflowProcessor> candidates)
PrioritySorter
List
of WorkflowProcessor
s that are ready to run
in a particular order specified by the sub-class implementing this method.sort
in interface PrioritySorter
candidates
- The List
of WorkflowProcessor
s to sort in priority
order.Copyright © 1999-2015 Apache OODT. All Rights Reserved.