org.castor.util.concurrent
Class ReaderPreferenceReadWriteLock
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. ]
protected boolean allowReader()
Intalio Inc. (C) 1999-2006. All rights reserved http://www.intalio.com