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: 22700 $ $Date: 2019-05-02 16:44:42 -0300 (Thu, 02 May 2019) $
    • 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