public interface WriteLockRequestListener
extends java.util.EventListener
ReadWriteLock when a thread requests a write lock. Use of this listener allows a voluntary form of lock preemption.| Modifier and Type | Method and Description |
|---|---|
void |
writeRequested(ReadWriteLock lock)
Reports that a thread is requesting a write lock.
|
void writeRequested(ReadWriteLock lock)