C# Class java.util.concurrent.locks.ReentrantLock

Inheritance: java.lang.Object, Lock, java.io.Serializable
Afficher le fichier Open project: JeroMiya/androidmono Class Usage Examples

Méthodes publiques

Méthode Description
@lock ( ) : void
ReentrantLock ( bool arg0 )
getHoldCount ( ) : int
getQueueLength ( ) : int
getWaitQueueLength ( java arg0 ) : int
hasQueuedThread ( java arg0 ) : bool
hasQueuedThreads ( ) : bool
hasWaiters ( java arg0 ) : bool
isFair ( ) : bool
isHeldByCurrentThread ( ) : bool
isLocked ( ) : bool
lockInterruptibly ( ) : void
newCondition ( ) : global::java.util.concurrent.locks.Condition
toString ( ) : global::java.lang.String
tryLock ( ) : bool
tryLock ( long arg0, java arg1 ) : bool
unlock ( ) : void

Méthodes protégées

Méthode Description
ReentrantLock ( global @__env )
getOwner ( ) : global::java.lang.Thread
getQueuedThreads ( ) : global::java.util.Collection
getWaitingThreads ( java arg0 ) : global::java.util.Collection

Private Methods

Méthode Description
ReentrantLock ( )

Method Details

@lock() public méthode

public @lock ( ) : void
Résultat void

ReentrantLock() public méthode

public ReentrantLock ( bool arg0 )
arg0 bool

ReentrantLock() protected méthode

protected ReentrantLock ( global @__env )
@__env global

getHoldCount() public méthode

public getHoldCount ( ) : int
Résultat int

getOwner() protected méthode

protected getOwner ( ) : global::java.lang.Thread
Résultat global::java.lang.Thread

getQueueLength() public méthode

public getQueueLength ( ) : int
Résultat int

getQueuedThreads() protected méthode

protected getQueuedThreads ( ) : global::java.util.Collection
Résultat global::java.util.Collection

getWaitQueueLength() public méthode

public getWaitQueueLength ( java arg0 ) : int
arg0 java
Résultat int

getWaitingThreads() protected méthode

protected getWaitingThreads ( java arg0 ) : global::java.util.Collection
arg0 java
Résultat global::java.util.Collection

hasQueuedThread() public méthode

public hasQueuedThread ( java arg0 ) : bool
arg0 java
Résultat bool

hasQueuedThreads() public méthode

public hasQueuedThreads ( ) : bool
Résultat bool

hasWaiters() public méthode

public hasWaiters ( java arg0 ) : bool
arg0 java
Résultat bool

isFair() public méthode

public isFair ( ) : bool
Résultat bool

isHeldByCurrentThread() public méthode

public isHeldByCurrentThread ( ) : bool
Résultat bool

isLocked() public méthode

public isLocked ( ) : bool
Résultat bool

lockInterruptibly() public méthode

public lockInterruptibly ( ) : void
Résultat void

newCondition() public méthode

public newCondition ( ) : global::java.util.concurrent.locks.Condition
Résultat global::java.util.concurrent.locks.Condition

toString() public méthode

public toString ( ) : global::java.lang.String
Résultat global::java.lang.String

tryLock() public méthode

public tryLock ( ) : bool
Résultat bool

tryLock() public méthode

public tryLock ( long arg0, java arg1 ) : bool
arg0 long
arg1 java
Résultat bool

unlock() public méthode

public unlock ( ) : void
Résultat void