class Semaphore extends Serializable

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

Instance Constructors

  1. new Semaphore(permits: Int, fair: Boolean)
  2. new Semaphore(permits: Int)

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. def acquire(permits: Int): Unit
    Annotations
    @throws(scala.this.throws.<init>$default$1[InterruptedException])
  5. def acquire(): Unit
    Annotations
    @throws(scala.this.throws.<init>$default$1[InterruptedException])
  6. def acquireUninterruptibly(permits: Int): Unit
  7. def acquireUninterruptibly(): Unit
  8. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  9. def availablePermits(): Int
  10. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  11. def drainPermits(): Int
  12. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  14. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  15. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  16. final def getQueueLength(): Int
  17. def getQueuedThreads(): Collection[Thread]
    Attributes
    protected
  18. final def hasQueuedThreads(): Boolean
  19. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  20. def isFair(): Boolean
  21. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  22. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  23. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  24. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  25. def reducePermits(reduction: Int): Unit
    Attributes
    protected
  26. def release(permits: Int): Unit
  27. def release(): Unit
  28. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  29. def toString(): String
    Definition Classes
    Semaphore → AnyRef → Any
  30. def tryAcquire(permits: Int, timeout: Long, unit: TimeUnit): Boolean
    Annotations
    @throws(scala.this.throws.<init>$default$1[InterruptedException])
  31. def tryAcquire(permits: Int): Boolean
  32. def tryAcquire(timeout: Long, unit: TimeUnit): Boolean
    Annotations
    @throws(scala.this.throws.<init>$default$1[InterruptedException])
  33. def tryAcquire(): Boolean
  34. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  35. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  36. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped