public class DocumentSynchronizer
extends java.lang.Object
implements org.eclipse.xtext.util.CancelIndicator
XtextWebDocumentAccess for managing multithreaded
access to a document. It holds the cancelation status and locking information. The lock
is not bound to a thread, so it is possible for one thread to call acquireLock(boolean)
and for another thread to call releaseLock().| Constructor and Description |
|---|
DocumentSynchronizer() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Boolean |
acquireLock(boolean priority) |
boolean |
isCanceled() |
void |
releaseLock() |
void |
setCanceled(boolean canceled) |