Klasse IndexRequest
java.lang.Object
org.aspectj.org.eclipse.jdt.internal.core.search.indexing.IndexRequest
- Alle implementierten Schnittstellen:
IJob
- Bekannte direkte Unterklassen:
BinaryContainer,IndexAllProject,IndexBinaryFolder,SaveIndex
-
Feldübersicht
FelderModifizierer und TypFeldBeschreibungprotected org.eclipse.core.runtime.IPathprotected booleanprotected IndexManagerVon Schnittstelle geerbte Felder org.aspectj.org.eclipse.jdt.internal.core.search.processing.IJob
CancelIfNotReady, COMPLETE, FAILED, ForceImmediate, WaitUntilReady -
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungIndexRequest(org.eclipse.core.runtime.IPath containerPath, IndexManager manager) -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungbooleanAnswer true if the job belongs to a given family (tag)voidcancel()Asks this job to cancel its execution.voidEnsures that this job is ready to run.Returns this job's familyprotected IntegerbooleanAnswers if we need some sleep after index write operations.
-
Felddetails
-
isCancelled
protected volatile boolean isCancelled -
containerPath
protected org.eclipse.core.runtime.IPath containerPath -
manager
-
-
Konstruktordetails
-
IndexRequest
-
-
Methodendetails
-
belongsTo
Beschreibung aus Schnittstelle kopiert:IJobAnswer true if the job belongs to a given family (tag) -
cancel
public void cancel()Beschreibung aus Schnittstelle kopiert:IJobAsks this job to cancel its execution. The cancellation can take an undertermined amount of time. -
ensureReadyToRun
public void ensureReadyToRun()Beschreibung aus Schnittstelle kopiert:IJobEnsures that this job is ready to run.- Angegeben von:
ensureReadyToRunin SchnittstelleIJob
-
getJobFamily
Beschreibung aus Schnittstelle kopiert:IJobReturns this job's family- Angegeben von:
getJobFamilyin SchnittstelleIJob
-
updatedIndexState
-
waitNeeded
public boolean waitNeeded()Beschreibung aus Schnittstelle kopiert:IJobAnswers if we need some sleep after index write operations. Default implementation returnsfalse.- Angegeben von:
waitNeededin SchnittstelleIJob- 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).
-