com
.
acsgh
.
common
.
scala
.
lock
ReentrantLock
Related Doc:
package lock
class
ReentrantLock
extends
java.util.concurrent.locks.ReentrantLock
Linear Supertypes
java.util.concurrent.locks.ReentrantLock
,
Serializable
,
Lock
,
AnyRef
,
Any
Ordering
Alphabetic
By Inheritance
Inherited
ReentrantLock
ReentrantLock
Serializable
Lock
AnyRef
Any
Hide All
Show All
Visibility
Public
All
Instance Constructors
new
ReentrantLock
()
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
final
def
asInstanceOf
[
T0
]
:
T0
Definition Classes
Any
def
clone
()
:
AnyRef
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@HotSpotIntrinsicCandidate
()
@throws
(
...
)
final
def
eq
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
def
equals
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
def
get
[
T
]
(
action: ⇒
T
)
:
T
final
def
getClass
()
:
Class
[_]
Definition Classes
AnyRef → Any
Annotations
@HotSpotIntrinsicCandidate
()
def
getHoldCount
()
:
Int
Definition Classes
ReentrantLock
def
getOwner
()
:
Thread
Attributes
protected[
java.util.concurrent.locks
]
Definition Classes
ReentrantLock
final
def
getQueueLength
()
:
Int
Definition Classes
ReentrantLock
def
getQueuedThreads
()
:
Collection
[
Thread
]
Attributes
protected[
java.util.concurrent.locks
]
Definition Classes
ReentrantLock
def
getWaitQueueLength
(
arg0:
Condition
)
:
Int
Definition Classes
ReentrantLock
def
getWaitingThreads
(
arg0:
Condition
)
:
Collection
[
Thread
]
Attributes
protected[
java.util.concurrent.locks
]
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
def
hashCode
()
:
Int
Definition Classes
AnyRef → Any
Annotations
@HotSpotIntrinsicCandidate
()
final
def
isFair
()
:
Boolean
Definition Classes
ReentrantLock
def
isHeldByCurrentThread
()
:
Boolean
Definition Classes
ReentrantLock
final
def
isInstanceOf
[
T0
]
:
Boolean
Definition Classes
Any
def
isLocked
()
:
Boolean
Definition Classes
ReentrantLock
def
lock
()
:
Unit
Definition Classes
ReentrantLock → Lock
def
lockInterruptibly
()
:
Unit
Definition Classes
ReentrantLock → Lock
Annotations
@throws
(
...
)
final
def
ne
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
def
newCondition
()
:
Condition
Definition Classes
ReentrantLock → Lock
final
def
notify
()
:
Unit
Definition Classes
AnyRef
Annotations
@HotSpotIntrinsicCandidate
()
final
def
notifyAll
()
:
Unit
Definition Classes
AnyRef
Annotations
@HotSpotIntrinsicCandidate
()
def
run
(
action: ⇒
Unit
)
:
Unit
final
def
synchronized
[
T0
]
(
arg0: ⇒
T0
)
:
T0
Definition Classes
AnyRef
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
wait
(
arg0:
Long
,
arg1:
Int
)
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
wait
(
arg0:
Long
)
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
wait
()
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
Deprecated Value Members
def
finalize
()
:
Unit
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@Deprecated
@deprecated
@throws
(
classOf[java.lang.Throwable]
)
Deprecated
(Since version )
see corresponding Javadoc for more information.
Inherited from
java.util.concurrent.locks.ReentrantLock
Inherited from
Serializable
Inherited from
Lock
Inherited from
AnyRef
Inherited from
Any
Ungrouped