java.lang.Object
org.aspectj.org.eclipse.jdt.internal.core.search.indexing.IndexRequest
Alle implementierten Schnittstellen:
IJob
Bekannte direkte Unterklassen:
BinaryContainer, IndexAllProject, IndexBinaryFolder, SaveIndex

public abstract class IndexRequest extends Object implements IJob
  • Felddetails

    • isCancelled

      protected volatile boolean isCancelled
    • containerPath

      protected org.eclipse.core.runtime.IPath containerPath
    • manager

      protected IndexManager manager
  • Konstruktordetails

    • IndexRequest

      public IndexRequest(org.eclipse.core.runtime.IPath containerPath, IndexManager manager)
  • Methodendetails

    • belongsTo

      public boolean belongsTo(String projectNameOrJarPath)
      Beschreibung aus Schnittstelle kopiert: IJob
      Answer true if the job belongs to a given family (tag)
      Angegeben von:
      belongsTo in Schnittstelle IJob
    • cancel

      public void cancel()
      Beschreibung aus Schnittstelle kopiert: IJob
      Asks this job to cancel its execution. The cancellation can take an undertermined amount of time.
      Angegeben von:
      cancel in Schnittstelle IJob
    • ensureReadyToRun

      public void ensureReadyToRun()
      Beschreibung aus Schnittstelle kopiert: IJob
      Ensures that this job is ready to run.
      Angegeben von:
      ensureReadyToRun in Schnittstelle IJob
    • getJobFamily

      public String getJobFamily()
      Beschreibung aus Schnittstelle kopiert: IJob
      Returns this job's family
      Angegeben von:
      getJobFamily in Schnittstelle IJob
    • updatedIndexState

      protected Integer updatedIndexState()
    • waitNeeded

      public boolean waitNeeded()
      Beschreibung aus Schnittstelle kopiert: IJob
      Answers if we need some sleep after index write operations. Default implementation returns false.
      Angegeben von:
      waitNeeded in Schnittstelle IJob
      Gibt zurück:
      true if the job manager should sleep a bit after this job is done to avoid IO tasks overloading OS (which could cause UI freezes etc).