W3cubDocs

/Haxe Java

ReentrantLock

package java.util.concurrent.locks

implements Lock, Serializable

Available on java

Constructor

new (param1:Bool)

new ()

Methods

getHoldCount ():Int

getQueueLength ():Int

getWaitQueueLength (param1:Condition):Int

hasQueuedThread (param1:Thread):Bool

hasQueuedThreads ():Bool

hasWaiters (param1:Condition):Bool

isFair ():Bool

isHeldByCurrentThread ():Bool

isLocked ():Bool

lock ():Void

lockInterruptibly ():Void

newCondition ():Condition

toString ():String

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

tryLock ():Bool

unlock ():Void

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