public class ReadWriteLockKey<T> extends Object
Represents a key that is used by ReadWriteLockRegistry. T must also be immutable and properly implement the equals and hashCode methods.
ReadWriteLockRegistry| Constructor and Description |
|---|
ReadWriteLockKey(T key,
boolean writeLock) |
public ReadWriteLockKey(T key, boolean writeLock)