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

Inheritance: java.lang.Object, Lock, java.io.Serializable
Show file Open project: JeroMiya/androidmono Class Usage Examples

Public Methods

Method 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

Protected Methods

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

Private Methods

Method Description
ReentrantLock ( )

Method Details

@lock() public method

public @lock ( ) : void
return void

ReentrantLock() public method

public ReentrantLock ( bool arg0 )
arg0 bool

ReentrantLock() protected method

protected ReentrantLock ( global @__env )
@__env global

getHoldCount() public method

public getHoldCount ( ) : int
return int

getOwner() protected method

protected getOwner ( ) : global::java.lang.Thread
return global::java.lang.Thread

getQueueLength() public method

public getQueueLength ( ) : int
return int

getQueuedThreads() protected method

protected getQueuedThreads ( ) : global::java.util.Collection
return global::java.util.Collection

getWaitQueueLength() public method

public getWaitQueueLength ( java arg0 ) : int
arg0 java
return int

getWaitingThreads() protected method

protected getWaitingThreads ( java arg0 ) : global::java.util.Collection
arg0 java
return global::java.util.Collection

hasQueuedThread() public method

public hasQueuedThread ( java arg0 ) : bool
arg0 java
return bool

hasQueuedThreads() public method

public hasQueuedThreads ( ) : bool
return bool

hasWaiters() public method

public hasWaiters ( java arg0 ) : bool
arg0 java
return bool

isFair() public method

public isFair ( ) : bool
return bool

isHeldByCurrentThread() public method

public isHeldByCurrentThread ( ) : bool
return bool

isLocked() public method

public isLocked ( ) : bool
return bool

lockInterruptibly() public method

public lockInterruptibly ( ) : void
return void

newCondition() public method

public newCondition ( ) : global::java.util.concurrent.locks.Condition
return global::java.util.concurrent.locks.Condition

toString() public method

public toString ( ) : global::java.lang.String
return global::java.lang.String

tryLock() public method

public tryLock ( ) : bool
return bool

tryLock() public method

public tryLock ( long arg0, java arg1 ) : bool
arg0 long
arg1 java
return bool

unlock() public method

public unlock ( ) : void
return void