| Modifier and Type | Field and Description |
|---|---|
| private int | |
| private int | |
| private int | |
| private boolean |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public synchronized void | |
| public synchronized void | |
| private boolean | |
| private boolean | |
| public synchronized void | |
| public synchronized void |
| active_readers | back to summary |
|---|---|
| private int active_readers | |
| waiting_readers | back to summary |
|---|---|
| private int waiting_readers | |
| waiting_writers | back to summary |
|---|---|
| private int waiting_writers | |
| writer_active | back to summary |
|---|---|
| private boolean writer_active | |
| SimpleSharedUseExclusiveUseLock | back to summary |
|---|---|
| public SimpleSharedUseExclusiveUseLock() | |
| acquireExclusive | back to summary |
|---|---|
| public synchronized void acquireExclusive() throws InterruptedException Implements com. | |
| acquireShared | back to summary |
|---|---|
| public synchronized void acquireShared() throws InterruptedException Implements com. | |
| okayToRead | back to summary |
|---|---|
| private boolean okayToRead() | |
| okayToWrite | back to summary |
|---|---|
| private boolean okayToWrite() | |
| relinquishExclusive | back to summary |
|---|---|
| public synchronized void relinquishExclusive() Implements com. | |
| relinquishShared | back to summary |
|---|---|
| public synchronized void relinquishShared() Implements com. | |