Interface IPriorityCalculator
-
- All Known Implementing Classes:
PriorityCalculator
public interface IPriorityCalculator
This interface represents an object that calculates a document priority value, for inclusion in the jobqueue table. One of these objects is passed in lieu of a document priority for every document being added to the table.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
_rcsid
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description double
getDocumentPriority()
Compute the document priority.
-
-
-
Field Detail
-
_rcsid
static final java.lang.String _rcsid
- See Also:
- Constant Field Values
-
-
Method Detail
-
getDocumentPriority
double getDocumentPriority() throws ManifoldCFException
Compute the document priority. This MUST be called from within a a retry-able database transaction!!- Returns:
- the document priority.
- Throws:
ManifoldCFException
-
-