class Semaphore extends Serializable
- Annotations
- @SerialVersionUID()
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Semaphore
- Serializable
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def acquire(permits: Int): Unit
- Annotations
- @throws(scala.this.throws.<init>$default$1[InterruptedException])
- def acquire(): Unit
- Annotations
- @throws(scala.this.throws.<init>$default$1[InterruptedException])
- def acquireUninterruptibly(permits: Int): Unit
- def acquireUninterruptibly(): Unit
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def availablePermits(): Int
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def drainPermits(): Int
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def getQueueLength(): Int
- def getQueuedThreads(): Collection[Thread]
- Attributes
- protected
- final def hasQueuedThreads(): Boolean
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def isFair(): Boolean
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def reducePermits(reduction: Int): Unit
- Attributes
- protected
- def release(permits: Int): Unit
- def release(): Unit
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- Semaphore → AnyRef → Any
- def tryAcquire(permits: Int, timeout: Long, unit: TimeUnit): Boolean
- Annotations
- @throws(scala.this.throws.<init>$default$1[InterruptedException])
- def tryAcquire(permits: Int): Boolean
- def tryAcquire(timeout: Long, unit: TimeUnit): Boolean
- Annotations
- @throws(scala.this.throws.<init>$default$1[InterruptedException])
- def tryAcquire(): Boolean
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()