|
ContactCenters V. 0.9.9. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface RankFunction
Represents a function computing a vector of ranks
for a given contact, for the
OverflowAndPriorityRouter
router.
Method Summary | |
---|---|
boolean |
canReturnFiniteRank(int i)
Determines if updateRanks(Contact,double[])
can return a finite rank at position i for
this particular function. |
boolean |
updateRanks(Contact contact,
double[] ranks)
Fills the array ranks with the ranks for the contact contact. |
Method Detail |
---|
boolean updateRanks(Contact contact, double[] ranks)
OverflowAndPriorityRouter.RoutingInfo
.
The vector of ranks given to this method is constructed by the
router, and associated to a specific call.
When this method is called for a new call,
the vector contains Double.POSITIVE_INFINITY
values.
For any subsequent calls, the vector contains the current ranks
for the call.
This method should replace these values with
the new ranks concerning the call.
The method returns true if and only if at least
one of the ranks in the given vector needs to be updated.
Otherwise, it returns false.
contact
- the contact being routed.ranks
- the vector filled with ranks.
boolean canReturnFiniteRank(int i)
updateRanks(Contact,double[])
can return a finite rank at position i for
this particular function.
|
ContactCenters V. 0.9.9. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |