com.sapportals.wcm.util.threads

Interface IReaderWriterLock

All Known Implementing Classes:
ReaderWriterLock

public interface IReaderWriterLock

A reader/writer lock interface.

Copyright (c) SAP AG 2001-2002


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
 

Method Detail

acquireRead

public void acquireRead()
Block the calling thread until the read lock could be acquired


acquireWrite

public void acquireWrite()
Block the calling thread until the write lock could be acquired


releaseRead

public void releaseRead()
Release the read lock


releaseWrite

public void releaseWrite()
Release the write lock



Copyright 2006 SAP AG Complete Copyright Notice