|
SAP NetWeaver 7.40 SP 06 KMC | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sapportals.wcm.util.threads.ReaderWriterLock
public class ReaderWriterLock
A reader/writer lock implementation. Writers have higher priority which means that readers are denied access if there are writer waiting to acquire access.
Copyright (c) SAP AG 2001-2002
| Constructor Summary | |
|---|---|
ReaderWriterLock()
|
|
| Method Summary | |
|---|---|
void |
acquireRead()
Block the calling thread until the read lock could be acquired |
void |
acquireWrite()
Block the calling thread until the write lock could be acquired |
void |
releaseRead()
Release the read lock |
void |
releaseWrite()
Release the write lock |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ReaderWriterLock()
| Method Detail |
|---|
public void acquireRead()
acquireRead in interface IReaderWriterLockpublic void acquireWrite()
acquireWrite in interface IReaderWriterLockpublic void releaseRead()
releaseRead in interface IReaderWriterLockpublic void releaseWrite()
releaseWrite in interface IReaderWriterLock| Access Rights |
|---|
| SC | DC | Public Part | ACH |
|---|---|---|---|
[sap.com] KMC-CM
|
[sap.com] tc/km/frwk
|
api
|
EP-KM-CM
|
[sap.com] KMC-WPC
|
[sap.com] tc/kmc/wpc/wpcfacade
|
api
|
EP-PIN-WPC-WCM
|
|
SAP NetWeaver 7.40 SP 06 KMC | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||