Interface IPDOMIndexerTask


  • public interface IPDOMIndexerTask
    Restriction:
    This interface is not intended to be implemented by clients.
    Restriction:
    This interface is not intended to be extended by clients.
    • Method Detail

      • cancel

        default void cancel()
        Notifies the task that it should stop executing at its earliest convenience. It's up to the task whether to react to this method or not.
        Restriction:
        This method is not intended to be referenced by clients.
        Restriction:
        This default method is not intended to be re-implemented or extended by clients.
      • getIndexer

        IPDOMIndexer getIndexer()
        Returns the indexer the task belongs to.
      • getProgressInformation

        org.eclipse.cdt.internal.core.pdom.IndexerProgress getProgressInformation()
        Returns progress information for the task.
        Restriction:
        This method is not intended to be referenced by clients.
      • acceptUrgentTask

        boolean acceptUrgentTask​(IPDOMIndexerTask task)
        Takes files from another task and adds them to this task in front of all not yet processed files. The urgent work my be rejected if this task is not capable of accepting it, or if the amount of urgent work is too large compared to the work already assigned to this task.
        Parameters:
        task - the task to add the work from.
        Returns:
        true if the work was accepted, false if it was rejected.
        Since:
        5.3
        See Also:
        "https://bugs.eclipse.org/bugs/show_bug.cgi?id=319330"