Class SimpleReadWriteLock

  • All Implemented Interfaces:
    java.util.concurrent.locks.ReadWriteLock

    public class SimpleReadWriteLock
    extends java.lang.Object
    implements java.util.concurrent.locks.ReadWriteLock
    A simple mutual shared and exclusive lock implementation.
    Since:
    8.0.0
    Version:
    $Revision$ $Date$
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.concurrent.locks.Lock readLock()  
      java.util.concurrent.locks.Lock writeLock()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SimpleReadWriteLock

        public SimpleReadWriteLock()
    • Method Detail

      • readLock

        public java.util.concurrent.locks.Lock readLock()
        Specified by:
        readLock in interface java.util.concurrent.locks.ReadWriteLock
      • writeLock

        public java.util.concurrent.locks.Lock writeLock()
        Specified by:
        writeLock in interface java.util.concurrent.locks.ReadWriteLock