Packages

class ReentrantLock extends Lock with Serializable

Annotations
@SerialVersionUID()
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ReentrantLock
  2. Serializable
  3. Lock
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new ReentrantLock()
  2. new ReentrantLock(fair: Boolean)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  9. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  10. def getHoldCount(): Int
  11. def getOwner(): Thread
    Attributes
    protected
  12. final def getQueueLength(): Int
  13. def getQueuedThreads(): Collection[Thread]
    Attributes
    protected
  14. def getWaitQueueLength(condition: Condition): Int
  15. def getWaitingThreads(condition: Condition): Collection[Thread]
    Attributes
    protected
  16. final def hasQueuedThread(thread: Thread): Boolean
  17. final def hasQueuedThreads(): Boolean
  18. def hasWaiters(condition: Condition): Boolean
  19. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  20. final def isFair(): Boolean
  21. def isHeldByCurrentThread(): Boolean
  22. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  23. def isLocked(): Boolean
  24. def lock(): Unit
    Definition Classes
    ReentrantLockLock
  25. def lockInterruptibly(): Unit
    Definition Classes
    ReentrantLockLock
    Annotations
    @throws(scala.this.throws.<init>$default$1[InterruptedException])
  26. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  27. def newCondition(): Condition
    Definition Classes
    ReentrantLockLock
  28. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  29. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  30. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  31. def toString(): String
    Definition Classes
    ReentrantLock → AnyRef → Any
  32. def tryLock(timeout: Long, unit: TimeUnit): Boolean
    Definition Classes
    ReentrantLockLock
    Annotations
    @throws(scala.this.throws.<init>$default$1[InterruptedException])
  33. def tryLock(): Boolean
    Definition Classes
    ReentrantLockLock
  34. def unlock(): Unit
    Definition Classes
    ReentrantLockLock
  35. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  36. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  37. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from Serializable

Inherited from Lock

Inherited from AnyRef

Inherited from Any

Ungrouped