Interface ReadWriteLockManager

    • Method Detail

      • tryReadLock

        Lock tryReadLock()
        Gets a read lock, if available. This method will return null if the read lock is not immediately available.
      • tryWriteLock

        Lock tryWriteLock()
        Gets an exclusive write lock, if available. This method will return null if the write lock is not immediately available.
      • isWriterActive

        boolean isWriterActive()
        Returns false if there are no active write locks, otherwise returns true.
      • isReaderActive

        boolean isReaderActive()
        Returns false if there are no active read locks, otherwise returns true.