W3cubDocs

/Haxe Java

AbstractQueuedSynchronizer

package java.util.concurrent.locks

extends AbstractOwnableSynchronizer

implements Serializable

extended by ReentrantLock_Sync

@:abstract@:libType@:javaNative@:native("java.util.concurrent.locks.AbstractQueuedSynchronizer")@:javaCanonical("java.util.concurrent.locks","AbstractQueuedSynchronizer") Available on java

Methods

@:overload @:final acquire (param1:Int):Void

@:overload @:throws("java.lang.InterruptedException") @:final acquireInterruptibly (param1:Int):Void

@:overload @:final acquireShared (param1:Int):Void

@:overload @:throws("java.lang.InterruptedException") @:final acquireSharedInterruptibly (param1:Int):Void

@:overload @:final getExclusiveQueuedThreads ():Collection<Thread>

@:overload @:final getFirstQueuedThread ():Thread

@:overload @:final getQueueLength ():Int

@:overload @:final getQueuedThreads ():Collection<Thread>

@:overload @:final getSharedQueuedThreads ():Collection<Thread>

@:overload @:final getWaitQueueLength (param1:AbstractQueuedSynchronizer_ConditionObject):Int

@:overload @:final getWaitingThreads (param1:AbstractQueuedSynchronizer_ConditionObject):Collection<Thread>

@:overload @:final hasContended ():Bool

@:overload @:final hasQueuedPredecessors ():Bool

@:overload @:final hasQueuedThreads ():Bool

@:overload @:final hasWaiters (param1:AbstractQueuedSynchronizer_ConditionObject):Bool

@:overload @:final isQueued (param1:Thread):Bool

@:overload @:final owns (param1:AbstractQueuedSynchronizer_ConditionObject):Bool

@:overload @:final release (param1:Int):Bool

@:overload @:final releaseShared (param1:Int):Bool

@:overload toString ():String

@:overload @:throws("java.lang.InterruptedException") @:final tryAcquireNanos (param1:Int, param2:Int64):Bool

@:overload @:throws("java.lang.InterruptedException") @:final tryAcquireSharedNanos (param1:Int, param2:Int64):Bool

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