Schnittstelle IParallelizable
- Alle bekannten Implementierungsklassen:
AbstractJavaSearchScope
,AbstractSearchScope
,AndPattern
,ConstructorDeclarationPattern
,ConstructorPattern
,DeclarationOfAccessedFieldsPattern
,DeclarationOfReferencedMethodsPattern
,DeclarationOfReferencedTypesPattern
,FieldPattern
,HierarchyScope
,IntersectingPattern
,JavaSearchParticipant
,JavaSearchPattern
,JavaSearchScope
,JavaWorkspaceScope
,LocalVariablePattern
,MethodDeclarationPattern
,MethodPattern
,ModulePattern
,MultiTypeDeclarationPattern
,OrPattern
,PackageDeclarationPattern
,PackageReferencePattern
,QualifiedTypeDeclarationPattern
,SecondaryTypeDeclarationPattern
,SuperTypeReferencePattern
,TypeDeclarationPattern
,TypeParameterPattern
,TypeReferencePattern
,UnindexedSearchScope
,VariablePattern
public interface IParallelizable
This interface can be used by
IJavaSearchScope
, JavaSearchParticipant
and SearchPattern
to
mark implementors as eligible for parallel index search.- Seit:
- 3.25
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungdefault void
initBeforeSearch
(org.eclipse.core.runtime.IProgressMonitor monitor) Initialize all needed data before search is startedboolean
Answerstrue
if the current instance supports parallel index searchstatic boolean
Checks if the given object implements this interface and also returnstrue
forisParallelSearchSupported()
.
-
Methodendetails
-
isParallelSearchSupported
boolean isParallelSearchSupported()Answerstrue
if the current instance supports parallel index search- Gibt zurück:
- Returns
true
if the implementation is safe to be used in a parallel search.
-
initBeforeSearch
default void initBeforeSearch(org.eclipse.core.runtime.IProgressMonitor monitor) throws JavaModelException Initialize all needed data before search is started- Parameter:
monitor
- non null progress callback- Löst aus:
JavaModelException
-
isParallelSearchSupported
Checks if the given object implements this interface and also returnstrue
forisParallelSearchSupported()
.- Parameter:
o
- The object that needs to be checked.null
value will result in returningfalse
.- Gibt zurück:
true
if the given object can be used in parallel search.
-