EDU.oswego.cs.dl.util.concurrent
Class ReaderPreferenceReadWriteLock

java.lang.Object
  |
  +--EDU.oswego.cs.dl.util.concurrent.WriterPreferenceReadWriteLock
        |
        +--EDU.oswego.cs.dl.util.concurrent.ReaderPreferenceReadWriteLock
All Implemented Interfaces:
ReadWriteLock

public class ReaderPreferenceReadWriteLock
extends WriterPreferenceReadWriteLock

A ReadWriteLock that prefers waiting readers over waiting writers when there is contention. The range of applicability of this class is very limited. In the majority of situations, writer preference locks provide more reasonable semantics.

[ Introduction to this package. ]


Constructor Summary
ReaderPreferenceReadWriteLock()
           
 
Methods inherited from class EDU.oswego.cs.dl.util.concurrent.WriterPreferenceReadWriteLock
readLock, writeLock
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReaderPreferenceReadWriteLock

public ReaderPreferenceReadWriteLock()