C# Class java.util.concurrent.Semaphore

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

Public Methods

Method Description
Semaphore ( int arg0 )
Semaphore ( int arg0, bool arg1 )
acquire ( ) : void
acquire ( int arg0 ) : void
acquireUninterruptibly ( ) : void
acquireUninterruptibly ( int arg0 ) : void
availablePermits ( ) : int
drainPermits ( ) : int
getQueueLength ( ) : int
hasQueuedThreads ( ) : bool
isFair ( ) : bool
release ( ) : void
release ( int arg0 ) : void
toString ( ) : global::java.lang.String
tryAcquire ( ) : bool
tryAcquire ( int arg0 ) : bool
tryAcquire ( int arg0, long arg1, java arg2 ) : bool
tryAcquire ( long arg0, java arg1 ) : bool

Protected Methods

Method Description
Semaphore ( global @__env )
getQueuedThreads ( ) : global::java.util.Collection
reducePermits ( int arg0 ) : void

Private Methods

Method Description
Semaphore ( )

Method Details

Semaphore() protected method

protected Semaphore ( global @__env )
@__env global

Semaphore() public method

public Semaphore ( int arg0 )
arg0 int

Semaphore() public method

public Semaphore ( int arg0, bool arg1 )
arg0 int
arg1 bool

acquire() public method

public acquire ( ) : void
return void

acquire() public method

public acquire ( int arg0 ) : void
arg0 int
return void

acquireUninterruptibly() public method

public acquireUninterruptibly ( ) : void
return void

acquireUninterruptibly() public method

public acquireUninterruptibly ( int arg0 ) : void
arg0 int
return void

availablePermits() public method

public availablePermits ( ) : int
return int

drainPermits() public method

public drainPermits ( ) : int
return int

getQueueLength() public method

public getQueueLength ( ) : int
return int

getQueuedThreads() protected method

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

hasQueuedThreads() public method

public hasQueuedThreads ( ) : bool
return bool

isFair() public method

public isFair ( ) : bool
return bool

reducePermits() protected method

protected reducePermits ( int arg0 ) : void
arg0 int
return void

release() public method

public release ( ) : void
return void

release() public method

public release ( int arg0 ) : void
arg0 int
return void

toString() public method

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

tryAcquire() public method

public tryAcquire ( ) : bool
return bool

tryAcquire() public method

public tryAcquire ( int arg0 ) : bool
arg0 int
return bool

tryAcquire() public method

public tryAcquire ( int arg0, long arg1, java arg2 ) : bool
arg0 int
arg1 long
arg2 java
return bool

tryAcquire() public method

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