W3cubDocs

/Haxe Java

ReentrantLock

package java.util.concurrent.locks

implements Lock, Serializable

Available on java

Constructor

new(param1:Bool)

new()

Methods

getHoldCount():Int

finalgetQueueLength():Int

getWaitQueueLength(param1:Condition):Int

finalhasQueuedThread(param1:Thread):Bool

finalhasQueuedThreads():Bool

hasWaiters(param1:Condition):Bool

finalisFair():Bool

isHeldByCurrentThread():Bool

isLocked():Bool

lock():Void

lockInterruptibly():Void

newCondition():Condition

toString():String

tryLock(param1:Int64, param2:TimeUnit):Bool

tryLock():Bool

unlock():Void

© 2005–2020 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/java/util/concurrent/locks/ReentrantLock.html