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

# Class AbstractQueuedSynchronizer

=
public abstract class AbstractQueuedSynchronizer
extends java.util.concurrent.locks.AbstractOwnableSynchronizer
implements java.io.Serializable

## Nested Types

- = ConditionObject

## Constructors

- =
  protected AbstractQueuedSynchronizer()

## Methods

- =
  public final void acquire(int arg0)
- =
  public final void acquireInterruptibly(int arg0) throws java.lang.InterruptedException
- =
  public final void acquireShared(int arg0)
- =
  public final void acquireSharedInterruptibly(int arg0) throws java.lang.InterruptedException
- =
  protected final boolean compareAndSetState(int arg0, int arg1)
- =
  public final java.util.Collection<java.lang.Thread> getExclusiveQueuedThreads()
- =
  public final java.lang.Thread getFirstQueuedThread()
- =
  public final int getQueueLength()
- =
  public final java.util.Collection<java.lang.Thread> getQueuedThreads()
- =
  public final java.util.Collection<java.lang.Thread> getSharedQueuedThreads()
- =
  protected final int getState()
- =
  public final int getWaitQueueLength(java.util.concurrent.locks.AbstractQueuedSynchronizer.ConditionObject arg0)
- =
  public final java.util.Collection<java.lang.Thread> getWaitingThreads(java.util.concurrent.locks.AbstractQueuedSynchronizer.ConditionObject arg0)
- =
  public final boolean hasContended()
- =
  public final boolean hasQueuedPredecessors()
- =
  public final boolean hasQueuedThreads()
- =
  public final boolean hasWaiters(java.util.concurrent.locks.AbstractQueuedSynchronizer.ConditionObject arg0)
- =
  protected boolean isHeldExclusively()
- =
  public final boolean isQueued(java.lang.Thread arg0)
- =
  public final boolean owns(java.util.concurrent.locks.AbstractQueuedSynchronizer.ConditionObject arg0)
- =
  public final boolean release(int arg0)
- =
  public final boolean releaseShared(int arg0)
- =
  protected final void setState(int arg0)
- =
  public java.lang.String toString()
- =
  protected boolean tryAcquire(int arg0)
- =
  public final boolean tryAcquireNanos(int arg0, long arg1) throws java.lang.InterruptedException
- =
  protected int tryAcquireShared(int arg0)
- =
  public final boolean tryAcquireSharedNanos(int arg0, long arg1) throws java.lang.InterruptedException
- =
  protected boolean tryRelease(int arg0)
- =
  protected boolean tryReleaseShared(int arg0)

## Serialized Form

=

### serialVersionUID

=7373984972572414691

### Serialized Fields

- =
  int state

## Summary

No differences.