Java org.eclipse.jdt.internal.core.search.indexing ReadWriteMonitor fields, constructors, methods, implement or subclass

Example usage for Java org.eclipse.jdt.internal.core.search.indexing ReadWriteMonitor fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.eclipse.jdt.internal.core.search.indexing ReadWriteMonitor.

The text is from its open source code.

Method

voidenterRead()
Concurrent reading is allowed Blocking only when already writing.
voidenterWrite()
Only one writer at a time is allowed to perform Blocking only when already writing or reading.
voidexitRead()
Only notify waiting writer(s) if last reader
booleanexitReadEnterWrite()
Atomic exitRead/enterWrite: Allows to keep monitor in between exit read and next enter write.
voidexitWrite()
When writing is over, all readers and possible writers are granted permission to restart concurrently
voidexitWriteEnterRead()
Atomic exitWrite/enterRead: Allows to keep monitor in between exit write and next enter read.