final class ReentrantGuard extends ReentrantLock
Ordering
- Alphabetic
- By Inheritance
Inherited
- ReentrantGuard
- ReentrantLock
- Serializable
- Lock
- AnyRef
- Any
Implicitly
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new ReentrantGuard()
Value Members
-
def
getHoldCount(): Int
- Definition Classes
- ReentrantLock
-
final
def
getQueueLength(): Int
- Definition Classes
- ReentrantLock
-
def
getWaitQueueLength(arg0: Condition): Int
- Definition Classes
- ReentrantLock
-
final
def
hasQueuedThread(arg0: Thread): Boolean
- Definition Classes
- ReentrantLock
-
final
def
hasQueuedThreads(): Boolean
- Definition Classes
- ReentrantLock
-
def
hasWaiters(arg0: Condition): Boolean
- Definition Classes
- ReentrantLock
-
final
def
isFair(): Boolean
- Definition Classes
- ReentrantLock
-
def
isHeldByCurrentThread(): Boolean
- Definition Classes
- ReentrantLock
-
def
isLocked(): Boolean
- Definition Classes
- ReentrantLock
-
def
lock(): Unit
- Definition Classes
- ReentrantLock → Lock
-
def
lockInterruptibly(): Unit
- Definition Classes
- ReentrantLock → Lock
- Annotations
- @throws( ... )
-
def
newCondition(): Condition
- Definition Classes
- ReentrantLock → Lock
-
def
toString(): String
- Definition Classes
- ReentrantLock → AnyRef → Any
-
def
tryLock(arg0: Long, arg1: TimeUnit): Boolean
- Definition Classes
- ReentrantLock → Lock
- Annotations
- @throws( ... )
-
def
tryLock(): Boolean
- Definition Classes
- ReentrantLock → Lock
-
def
unlock(): Unit
- Definition Classes
- ReentrantLock → Lock
-
final
def
withGuard[T](body: ⇒ T): T
- Annotations
- @inline()