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
Modifizierer und TypFeldBeschreibungprotected org.eclipse.core.runtime.IPath
protected boolean
protected IndexManager
Von Schnittstelle geerbte Felder org.aspectj.org.eclipse.jdt.internal.core.search.processing.IJob
CancelIfNotReady, COMPLETE, FAILED, ForceImmediate, WaitUntilReady
-
Konstruktorübersicht
KonstruktorBeschreibungIndexRequest
(org.eclipse.core.runtime.IPath containerPath, IndexManager manager) -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungboolean
Answer true if the job belongs to a given family (tag)void
cancel()
Asks this job to cancel its execution.void
Ensures that this job is ready to run.Returns this job's familyprotected Integer
boolean
Answers 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:IJob
Answer true if the job belongs to a given family (tag) -
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. -
ensureReadyToRun
public void ensureReadyToRun()Beschreibung aus Schnittstelle kopiert:IJob
Ensures that this job is ready to run.- Angegeben von:
ensureReadyToRun
in SchnittstelleIJob
-
getJobFamily
Beschreibung aus Schnittstelle kopiert:IJob
Returns this job's family- Angegeben von:
getJobFamily
in SchnittstelleIJob
-
updatedIndexState
-
waitNeeded
public boolean waitNeeded()Beschreibung aus Schnittstelle kopiert:IJob
Answers if we need some sleep after index write operations. Default implementation returnsfalse
.- Angegeben von:
waitNeeded
in 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).
-