public final class DocumentCommitThread extends java.lang.Object implements Disposable, DocumentCommitProcessor
Disposable.Parent
Modifier and Type | Method and Description |
---|---|
void |
commitAsynchronously(Project project,
Document document,
java.lang.Object reason,
ModalityState modality) |
void |
commitSynchronously(Document document,
Project project,
PsiFile psiFile) |
void |
dispose()
Usually not invoked directly, see class javadoc.
|
java.lang.String |
toString() |
void |
waitForAllCommits(long timeout,
java.util.concurrent.TimeUnit timeUnit) |
public void dispose()
Disposable
dispose
in interface Disposable
public void commitAsynchronously(Project project, Document document, java.lang.Object reason, ModalityState modality)
commitAsynchronously
in interface DocumentCommitProcessor
public void commitSynchronously(Document document, Project project, PsiFile psiFile)
commitSynchronously
in interface DocumentCommitProcessor
public java.lang.String toString()
toString
in class java.lang.Object
public void waitForAllCommits(long timeout, java.util.concurrent.TimeUnit timeUnit) throws java.util.concurrent.ExecutionException, java.lang.InterruptedException, java.util.concurrent.TimeoutException
java.util.concurrent.ExecutionException
java.lang.InterruptedException
java.util.concurrent.TimeoutException