public final class SuspendStatus extends Object
ParserResultTaskis in progress. The instance of the
SuspendStatuscan be obtained from
Context.getSuspendStatus(). The infrastructure suspends indexing automatically. The
EmbeddingIndexers are suspended with a file granularity. The
CustomIndexers are suspended with a source root granularity. This service can be used for more fine granularity suspending especially for
|Modifier and Type||Method and Description|
Checks if an indexing is suspended.
Checks if a indexing task supports suspend.
Parks a current (caller) thread while an indexing is suspended.
public boolean isSuspendSupported()
public boolean isSuspended()
public void parkWhileSuspended() throws InterruptedException
InterruptedException- if the caller is interrupted.