Example usage for Java org.eclipse.jdt.internal.core.search.indexing ReadWriteMonitor fields, constructors, methods, implement or subclass
The text is from its open source code.
void | enterRead() Concurrent reading is allowed Blocking only when already writing. |
void | enterWrite() Only one writer at a time is allowed to perform Blocking only when already writing or reading. |
void | exitRead() Only notify waiting writer(s) if last reader |
boolean | exitReadEnterWrite() Atomic exitRead/enterWrite: Allows to keep monitor in between exit read and next enter write. |
void | exitWrite() When writing is over, all readers and possible writers are granted permission to restart concurrently |
void | exitWriteEnterRead() Atomic exitWrite/enterRead: Allows to keep monitor in between exit write and next enter read. |