Module java.base
Package java.util.concurrent.locks

# Class ReentrantReadWriteLock.WriteLock

=
public static class WriteLock
extends java.lang.Object
implements java.io.Serializable, java.util.concurrent.locks.Lock

## Constructors

- =
  protected WriteLock(java.util.concurrent.locks.ReentrantReadWriteLock arg0)

## Methods

- =
  public int getHoldCount()
- =
  public boolean isHeldByCurrentThread()
- =
  public void lock()
- =
  public void lockInterruptibly() throws java.lang.InterruptedException
- =
  public java.util.concurrent.locks.Condition newCondition()
- =
  public java.lang.String toString()
- =
  public boolean tryLock()
- =
  public boolean tryLock(long arg0, java.util.concurrent.TimeUnit arg1) throws java.lang.InterruptedException
- =
  public void unlock()

## Serialized Form

=

### serialVersionUID

=-4992448646407690164

### Serialized Fields

- =
  java.util.concurrent.locks.ReentrantReadWriteLock.Sync sync

## Summary

No differences.