public abstract class CompletionThreadingBase
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected static java.lang.ThreadLocal<java.lang.Boolean> |
ourIsInBatchUpdate |
Constructor and Description |
---|
CompletionThreadingBase() |
Modifier and Type | Method and Description |
---|---|
com.intellij.codeInsight.completion.WeighingDelegate |
delegateWeighing(CompletionProgressIndicator indicator) |
protected abstract void |
flushBatchResult(CompletionProgressIndicator indicator) |
java.util.concurrent.Future<?> |
startThread(ProgressIndicator progressIndicator,
java.lang.Runnable runnable) |
static void |
withBatchUpdate(java.lang.Runnable runnable,
CompletionProcess process) |
protected static final java.lang.ThreadLocal<java.lang.Boolean> ourIsInBatchUpdate
public static void withBatchUpdate(java.lang.Runnable runnable, CompletionProcess process)
protected abstract void flushBatchResult(CompletionProgressIndicator indicator)
public java.util.concurrent.Future<?> startThread(ProgressIndicator progressIndicator, java.lang.Runnable runnable)
public com.intellij.codeInsight.completion.WeighingDelegate delegateWeighing(CompletionProgressIndicator indicator)