ca.odell.glazedlists.util.concurrent
Class SerializedReadWriteLock
java.lang.Object
ca.odell.glazedlists.util.concurrent.SerializedReadWriteLock
- All Implemented Interfaces:
- ReadWriteLock, Serializable
public final class SerializedReadWriteLock
- extends Object
- implements ReadWriteLock, Serializable
A ReadWriteLock dummy implementation that's only used for Java object
serialization. The regular lock implementations for Java 1.4 and 1.5 are
representated by this class on the serialization stream. Upon
deserialization on the target JVM, an appropriate lock implementation is
reconstructed according to the capabilities of the target platform.
- Author:
- Holger Brands
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SerializedReadWriteLock
public SerializedReadWriteLock()
readLock
public Lock readLock()
- Return the lock used for reading.
- Specified by:
readLock
in interface ReadWriteLock
writeLock
public Lock writeLock()
- Return the lock used for writing.
- Specified by:
writeLock
in interface ReadWriteLock
Glazed Lists, Copyright © 2003 publicobject.com, O'Dell Engineering.
Documentation build by hbrands at 2017-03-13 22:58