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

# Class StampedLock

=
public class StampedLock
extends java.lang.Object
implements java.io.Serializable

## Constructors

- =
  public StampedLock()

## Methods

- =
  public java.util.concurrent.locks.Lock asReadLock()
- =
  public java.util.concurrent.locks.ReadWriteLock asReadWriteLock()
- =
  public java.util.concurrent.locks.Lock asWriteLock()
- =
  public int getReadLockCount()
- =
  public static boolean isLockStamp(long arg0)
- =
  public static boolean isOptimisticReadStamp(long arg0)
- =
  public static boolean isReadLockStamp(long arg0)
- =
  public boolean isReadLocked()
- =
  public static boolean isWriteLockStamp(long arg0)
- =
  public boolean isWriteLocked()
- =
  public long readLock()
- =
  public long readLockInterruptibly() throws java.lang.InterruptedException
- =
  public java.lang.String toString()
- =
  public long tryConvertToOptimisticRead(long arg0)
- =
  public long tryConvertToReadLock(long arg0)
- =
  public long tryConvertToWriteLock(long arg0)
- =
  public long tryOptimisticRead()
- =
  public long tryReadLock()
- =
  public long tryReadLock(long arg0, java.util.concurrent.TimeUnit arg1) throws java.lang.InterruptedException
- =
  public boolean tryUnlockRead()
- =
  public boolean tryUnlockWrite()
- =
  public long tryWriteLock()
- =
  public long tryWriteLock(long arg0, java.util.concurrent.TimeUnit arg1) throws java.lang.InterruptedException
- =
  public void unlock(long arg0)
- =
  public void unlockRead(long arg0)
- =
  public void unlockWrite(long arg0)
- =
  public boolean validate(long arg0)
- =
  public long writeLock()
- =
  public long writeLockInterruptibly() throws java.lang.InterruptedException

## Serialized Form

=

### serialVersionUID

=-6001602636862214147

### Serialization Methods

- =
  private void readObject(java.io.ObjectInputStream arg0) throws java.io.IOException, java.lang.ClassNotFoundException

## Summary

No differences.