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.
    • 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